Repository navigation
ci: publish measured post-job cook profile tradeoffs - #1317
Merged
Merged
Conversation
zackees
force-pushed
the
ci/1286-cook-profile-evidence
branch
from
October 17, 2026 18:45
83e2f24 to
025fd80
Compare
zackees
force-pushed
the
ci/1286-cook-profile-evidence
branch
from
October 17, 2026 18:59
87702b3 to
05eb52f
Compare
zackees
enabled auto-merge
October 17, 2026 19:00
zackees
force-pushed
the
ci/1286-cook-profile-evidence
branch
from
October 17, 2026 19:09
05eb52f to
ed238ac
Compare
zackees
enabled auto-merge
October 17, 2026 19:09
zackees
force-pushed
the
ci/1286-cook-profile-evidence
branch
from
October 17, 2026 19:10
ed238ac to
63e76e2
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 17, 2026
lakshvarmacoder
pushed a commit
to lakshvarmacoder/obs-studio
that referenced
this pull request
Oct 31, 2026
…2661) (obs-rust#3128) * test(ci): require Fast Gate to cook the profile its tests compile in (obs-rust#2661) Fast Gate's consumer is `cargo test`, so the cook must populate the `test` profile. Its cook flags were `core == 'true' && '--release' || '--profile dev -- --tests'`, which made every push and merge-group run cook release dependencies the test build never reuses. Measured on 10 Fast Gate jobs on 2026-10-31: 4 of 4 jobs with the release cook then rebuilt the `test` profile (1m09s-1m37s, 256-442 Compiling lines); 6 of 6 jobs with the dev-plus-tests cook finished that build warm with no profile line (192 lines). The cook step itself cost the same either way (11.3-15.6s). A local probe with soldr 0.9.47 reproduces it: `cook --release` then `cargo test --no-run` recompiles five crates; `cook --profile dev -- --tests` then `cargo test --no-run` finishes in 0.03s. This fails against the current workflow; the next commit drops the core branch. * ci: cook Fast Gate's dev-plus-tests profile on every event (obs-rust#2661) The whole workspace test build in Fast Gate runs in the `test` profile, so a `--release` cook on core runs was never reused: those jobs cooked release dependencies and then rebuilt the test profile from scratch. Drop the `core` branch from the cook flags and update docs/ci-tooling.md with the measurement that replaced obs-rust#1317's cook-step-only benchmark. Evidence (10 Fast Gate jobs, 2026-10-31): - 4/4 release-cook jobs: `Finished \`test\` profile` at 1m09s-1m37s, 256-442 Compiling lines. - 6/6 `--profile dev -- --tests` jobs: no test-profile build at all, 192 Compiling lines. - Cook step: 11.3-15.6s in both groups, so the profile choice costs nothing at cook time. Local probe (soldr 0.9.47, regex dep chain): `cook --release` then `cargo test --no-run` recompiles 5 crates in 42s; `cook --profile dev -- --tests` then `cargo test --no-run` finishes in 0.03s. Refs obs-rust#2661
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Refs #1286.
Publish the completed pinned-soldr post-job cache experiment, raw per-command trial data and a reproducible helper. This models the actual action save timing rather than a dependency-only pre-consumer snapshot.
Three trials per scenario/policy, identical compiled inputs and four Cargo jobs: unchanged median totals release 57.259 s, dev 36.170 s, none 72.136 s; forced core rebuild release 67.869 s, dev 82.736 s, none 78.291 s. Core ranges overlap widely; no universal fastest claim. Network, formatters and Dylint are excluded and archive size reflects selected obs-util tests, not full CI.
All published trials passed. The report records the corrected Cargo progress-label assertion and preserved interrupted attempt. Measurement-only evidence needs no artificial RED test. Ruff E9/F/I and git diff --check pass. Profile rollout and live validation follow separately; retain the correctness bypass.