Repository navigation
feat: DH-23748: Multipass Release Matrix Workflow #438
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
Open
stanbrub
wants to merge
13
commits into
deephaven:main
Choose a base branch
from
stanbrub:release-matrix-and-dash
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
c1e170d
Updating workflows and server clear for two always-on servers
stanbrub 638cbe7
Reworked Release runs to use matrix
stanbrub 37ed711
Reduce iterations/tests for testing
stanbrub 8cde852
Fix APT deadlock
stanbrub cadae96
Put release matrix config back to production values
stanbrub a474200
fixed another apt stop issue
stanbrub 84fa407
Fixed GH upload artifact name to be unique to the run
stanbrub e8164b1
Pull any images only if absent
stanbrub 5c0fd2f
Test short matrix run for edge caching
stanbrub 263480a
back to the officialy release iterations
stanbrub 904e6c2
Fixed some copilot gripes
stanbrub 4f74b39
Added validation like in release
stanbrub 5ea6413
Fixed some comments
stanbrub 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
Some comments aren't visible on the classic Files Changed page.
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| # Release benchmarks: one full pass per row, so every benchmark gets the same sample count | ||
| # | ||
| # Each row is a complete pass over the standard suite and publishes its results before the next row | ||
| # starts. That matters for a run this long: iterations inside a single row would upload nothing until | ||
| # the end, and a failure part way through would lose the whole run. Rows are independent, so a failed | ||
| # row costs one pass instead of all of them. | ||
| # | ||
| # Row count is the sample count. Release ignores the Iterate tag, so a row at test_iterations 1 is a | ||
| # single job over every class, and 7 rows means n=7 for all 666 benchmarks. Nightly keeps the tag | ||
| # split for its time budget, which leaves its 562 untagged benchmarks at n=1 and 104 tagged at n=5. | ||
| # | ||
| # Keep the row count odd. Queries report the middle run by rate and carry that run's id, so an even | ||
| # count has no real middle and the reported numbers stop matching a run that happened. | ||
| # | ||
| # All rows share the run_label, so they land in one set and accumulate. <version> takes the label from | ||
| # the version the engine reports, so edge becomes a 99 in the last position and cannot collide with | ||
| # the release of the same major.minor. | ||
| # | ||
| # Budget roughly 4 hours per row of test time, plus setup, engine restarts and data generation. | ||
| # | ||
| # TSV columns: run_type, run_label, docker_image, test_package, test_class_list, | ||
| # test_iterations, scale_row_count, distribution, config_options | ||
| EXPECTED_COMBOS=7 | ||
|
|
||
| RTYP='release' | ||
| LABEL='<version>' | ||
| IMG=${IMG:-edge} | ||
| PKG=io.deephaven.benchmark.tests.standard | ||
| CLS='*' | ||
| ITERS=1 | ||
| ROWSM=10 | ||
| DIST=random | ||
| OPTS='<default>' | ||
|
|
||
| PASSES=7 | ||
|
|
||
| for i in $(seq ${PASSES}); do | ||
| echo -e "$RTYP\t$LABEL\t$IMG\t$PKG\t$CLS\t$ITERS\t$ROWSM\t$DIST\t$OPTS" | ||
| done |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| #cloud-config | ||
|
|
||
| # Keep the apt timers from firing on a freshly provisioned server. Both ship with Persistent=true, so | ||
| # a new box treats their schedule as missed and runs them at a random offset after boot. When that | ||
| # offset lands in the first few minutes it collides with benchmark setup and holds the dpkg lock. | ||
| # | ||
| # bootcmd runs in the cloud-init local stage, well before timers.target, so the timers never fire. | ||
| # Do not add a users: block here. The server is provisioned with installDefaultSshKeys, and a users: | ||
| # list that omits "- default" replaces the provisioned key and locks the run out of its own server. | ||
| bootcmd: | ||
| - systemctl disable --now apt-daily.timer apt-daily-upgrade.timer | ||
| - systemctl mask apt-daily.service apt-daily-upgrade.service unattended-upgrades.service |
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
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.
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.
Uh oh!
There was an error while loading. Please reload this page.