Skip to content

maint(resources): build.sh-style commands for build-bot 🦌#14461

Merged
mcdurdin merged 2 commits intomasterfrom
maint/resources/14419-build-sh-style-build-bot
Aug 9, 2025
Merged

maint(resources): build.sh-style commands for build-bot 🦌#14461
mcdurdin merged 2 commits intomasterfrom
maint/resources/14419-build-sh-style-build-bot

Conversation

@mcdurdin
Copy link
Copy Markdown
Member

@mcdurdin mcdurdin commented Aug 5, 2025

Legacy format will still work, but preferred format is now Build-bot: level:platform[,...platform] ...

Fixes: #14419
Build-bot: build
Test-bot: skip

Legacy format will still work, but preferred format is now
`Build-bot: level:platform[,...platform] ...`

Fixes: #14419
Build-bot: build
Test-bot: skip
@keymanapp-test-bot keymanapp-test-bot bot added this to the A19S9 milestone Aug 5, 2025
@github-actions github-actions bot added docs resources/ maint Maintenance work -- continuous integration, build scripts, infrastructure labels Aug 5, 2025
@mcdurdin mcdurdin linked an issue Aug 5, 2025 that may be closed by this pull request

for i in "${!expected_build_platforms[@]}"; do
assert-equal "${build_platforms[$i]}" "${expected_build_platforms[$i]}" "PR #$prnum: build_platforms[$i]"
assert-equal "${build_platforms[$i]:-missing}" "${expected_build_platforms[$i]:-missing}" "PR #$prnum: build_platforms[$i]"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where does -missing coming from?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This is so the script fails with a legible assertion failure if the $build_platforms array is missing a value at index $i, rather than with an (obscure) script error. I experienced this when I was running tests in developing this. The missing value does not appear on successful runs.

I guess the $expected_build_platorms[$i] should never be missing because this is a loop iterating over that array!

Copy link
Copy Markdown
Contributor

@darcywong00 darcywong00 left a comment

Choose a reason for hiding this comment

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

lgtm

@mcdurdin mcdurdin changed the title maint(resources): build.sh-style commands for build-bot maint(resources): build.sh-style commands for build-bot 🦌 Aug 7, 2025
Base automatically changed from docs/resources/14266-clarify-build-bot to master August 9, 2025 02:28
@mcdurdin mcdurdin merged commit 8b4d20e into master Aug 9, 2025
29 checks passed
@mcdurdin mcdurdin deleted the maint/resources/14419-build-sh-style-build-bot branch August 9, 2025 02:28
@github-project-automation github-project-automation bot moved this from Todo to Done in Keyman Aug 9, 2025
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 19.0.95-alpha

@keymanapp keymanapp deleted a comment from keyman-server Aug 13, 2025
@keymanapp keymanapp deleted a comment from keyman-server Aug 13, 2025
@keymanapp keymanapp deleted a comment from keyman-server Aug 13, 2025
@keymanapp keymanapp deleted a comment from keyman-server Aug 13, 2025
@keyman-server
Copy link
Copy Markdown
Collaborator

Changes in this pull request will be available for download in Keyman version 19.0.95-alpha


```
Build-bot: <BuildLevel> [Platforms]
Build-bot: <BuildLevel>:[Platforms] ...
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should the colon be inside of the square brackets?

Suggested change
Build-bot: <BuildLevel>:[Platforms] ...
Build-bot: <BuildLevel>[:Platforms] ...

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Should the colon be inside of the square brackets?

Will fix in #14548

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs maint Maintenance work -- continuous integration, build scripts, infrastructure resources/

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

maint(resources): tweak build-bot commands to allow aggregation

4 participants