pkg/query: Check individual mapping fields for null#3786
pkg/query: Check individual mapping fields for null#3786metalmatze wants to merge 1 commit intomainfrom
Conversation
|
✅ Meticulous spotted zero visual differences across 406 screens tested: view results. Last updated for commit 4043468. This comment will update as new commits are pushed. |
|
Can we try to understand why this happens? As far as I can tell all codepaths that generate these inputs write a non-null value for all mapping fields if writing a mapping start, so I don't understand why this happens in the first place. |
|
As in, this is the code that produces this: Lines 338 to 354 in 00471e8 |
|
Really odd indeed. Reading around the code you posted I briefly assumed that we might be hitting this part: However, we are calling |
|
Is there maybe something special about the conversion of an empty string? |
It seems like mappingStart was valid (not null) but the build ID index was.