Skip to content

Fix index out of range error when calling 'bot:status last_build' while builds are ongoing#346

Merged
bedroge merged 7 commits into
EESSI:developfrom
casparvl:fix_index_out_of_range
Nov 4, 2025
Merged

Fix index out of range error when calling 'bot:status last_build' while builds are ongoing#346
bedroge merged 7 commits into
EESSI:developfrom
casparvl:fix_index_out_of_range

Conversation

@casparvl
Copy link
Copy Markdown
Contributor

Fix index out of range error by making sure that request_bot_build_issue_comments always returns a status table with vectors of equal size

Fixes #343

@casparvl casparvl marked this pull request as ready for review August 27, 2025 14:57
@casparvl
Copy link
Copy Markdown
Contributor Author

Proven to work in casparvl/software-layer#4 (comment)

@casparvl
Copy link
Copy Markdown
Contributor Author

Also, this is what you now get when the only build for a given arch is unfinished: casparvl/software-layer#4 (comment)

I think that's an improvement over what we had. Note that the regular bot:status command will also show builds-in-progress now:

casparvl/software-layer#4 (comment)

Comment thread tasks/build.py Outdated
Co-authored-by: Bob Dröge <b.e.droge@rug.nl>
Copy link
Copy Markdown
Contributor

@bedroge bedroge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, nice improvement that it shows in-progress builds!

@bedroge bedroge merged commit 1710eb6 into EESSI:develop Nov 4, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bot:status last_build throwing an index out of range

2 participants