module-info: fix reversed job names! #4406
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The index in the array of jobs isn't the number!
Before this change the
Job #1
andJob #2
were reversed.Turns out, everywhere else we reference the jobs we always look up the label in the labels map. That wasn't being done here and thus the jobs were actually mis-labeled (2 was 1 and 1 was 2) making the chunk list in module-info attributed to the wrong job.
Now it's fixed and the right job labels are show.
Here's an example of the bug (notice the different ordering in the jobs):
![image](https://private-user-images.githubusercontent.com/26855/323669686-1088f418-f79d-465e-a4a5-d022d0763a4e.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3NzcyMzcsIm5iZiI6MTcxOTc3NjkzNywicGF0aCI6Ii8yNjg1NS8zMjM2Njk2ODYtMTA4OGY0MTgtZjc5ZC00NjVlLWE0YTUtZDAyMmQwNzYzYTRlLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjMwVDE5NDg1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc1MTM0YmQwNTFmZThjNDYzZmUxMjhkODkxZTQzNThlYzI2MGNiOGY2YjdiMGZkNGFkZDA5MmQ3MjZmN2NlYWQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.CPjdVfUpeDbGzXmvMJMmGdjRyH9Pli5eZkodvoqKvyo)