-
Notifications
You must be signed in to change notification settings - Fork 123
chore(ci): Limited parallelism #5255
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
base: master
Are you sure you want to change the base?
Changes from 2 commits
3b0b237
0cecd0e
795dd87
3597c5a
a236578
aaec84b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -6,6 +6,12 @@ rsync -av gear-cli-and-runtime-release/ target/release/ | |||||
| chmod +x target/release/gear | ||||||
| '''] | ||||||
|
|
||||||
| [scripts.setup.set-envs] | ||||||
| command = ["bash", "-c", ''' | ||||||
| echo "CARGO_BUILD_JOBS=1" >> $NEXTEST_ENV | ||||||
| echo "RAYON_NUM_THREADS=1" >> $NEXTEST_ENV | ||||||
| '''] | ||||||
|
|
||||||
| [profile.default] | ||||||
| leak-timeout = { period = "5s", result = "fail" } | ||||||
| slow-timeout = { period = "1m", terminate-after = 5 } | ||||||
|
|
@@ -15,6 +21,10 @@ path = "junit.xml" | |||||
| store-success-output = false | ||||||
| store-failure-output = true | ||||||
|
|
||||||
| [[profile.default.scripts]] | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Given the PR title To scope this change only to CI, consider applying this script to the
Suggested change
|
||||||
| filter = 'all()' | ||||||
| setup = "set-envs" | ||||||
|
|
||||||
| [profile.ci] | ||||||
| fail-fast = false | ||||||
| archive.include = [ | ||||||
|
|
@@ -26,25 +36,7 @@ path = "junit.xml" | |||||
| store-success-output = false | ||||||
| store-failure-output = true | ||||||
|
|
||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. While limiting parallelism is a good strategy to improve test stability, removing all retries might be too aggressive. Retries can still be valuable for handling transient, non-resource-contention-related flakes (e.g., network glitches). Consider re-introducing the |
||||||
| # sdk | ||||||
| [[profile.ci.overrides]] | ||||||
| filter = 'package(gsdk) or package(gcli)' | ||||||
| retries = 5 | ||||||
|
|
||||||
| [[profile.ci.scripts]] | ||||||
| filter = 'package(gsdk) or package(gcli)' | ||||||
| platform = "cfg(unix)" | ||||||
| setup = "replace-node-and-runtime" | ||||||
|
|
||||||
| # sometimes fails on CI machine in debug profile | ||||||
| # due to an inconsistent machine load and unoptimized code | ||||||
| [[profile.ci.overrides]] | ||||||
| filter = 'package(gear-authorship)' | ||||||
| retries = 5 | ||||||
| threads-required = 4 | ||||||
|
|
||||||
| # ethexe | ||||||
| [[profile.ci.overrides]] | ||||||
| filter = 'package(ethexe-service) or package(ethexe-observer)' | ||||||
| retries = 5 | ||||||
| threads-required = 4 | ||||||
Uh oh!
There was an error while loading. Please reload this page.