Repository navigation
chore(release): give tests/migrate its own race shard so the 0.10.0 release workflow can pass #1065
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
ec240d7
ci(test): give tests/migrate its own race shard
devin-ai-integration[bot] 8b6cf4c
Merge branch 'pr-1060' into hotfix/0.10.0-migrate-shard
devin-ai-integration[bot] b16be82
chore(release): give tests/migrate its own race shard in 0.10.0
devin-ai-integration[bot] f76b3f0
ci(test): keep the race-shard comment to two lines
devin-ai-integration[bot] 8490203
ci(circleci): give the migrate race shard a 55-minute package timeout
devin-ai-integration[bot] 7969673
Merge pull request #1060 from Open-MBEE/fix/migrate-race-shard
HuiJun 14b3503
Merge remote-tracking branch 'origin/develop' into hotfix/0.10.0-migr…
devin-ai-integration[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🟡 Migration shard retains shorter silence limit
When
tests/migrateexceeds 30 minutes, the 55-minutetimeoutcannot prevent CircleCI from terminating the silent command.go testbuffers package output, so observed 32-minute runs still fail the release workflow.Learn more
CircleCI stops a run step when it produces no output for
no_output_timeout. The repository already documents thatgo testbuffers a package's-voutput until that package finishes in the solver-absent gate at .circleci/config.yml. This shard contains onlytests/migrate, so a package run can remain silent for its entire 23–32 minute duration. Raising Go's test timeout to 55 minutes therefore leaves CircleCI's independent 30-minute silence limit as the effective cap.Example: A loaded runner completes
tests/migratein 32 minutes. CircleCI sees no output after the initial shard message, kills the step at 30 minutes, and never reaches Go's 55-minute timeout.Recommended fix: Raise this run step's
no_output_timeoutabove the migration shard's 55-minute Go timeout, or stream periodic output without masking the test exit status.Was this helpful? React with 👍 or 👎 to provide feedback.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a bug:
go test -vstreams a single package's output as it runs, so the silence limit is never reached. Evidence from the firstreleasebuild with this change (pipeline 3995 onmain): themigratenode ran 33.2 minutes underno_output_timeout: 30mand passed (ok github.com/Open-MBEE/OpenSysML/tests/migrate 1923.117s). The buffering noted on the REPL gate step applies to multi-package runs; themigrateshard is one package.