Skip to content

ci: Tier 2 Linux shards hand their test timings back - #1061

Merged
zackees merged 2 commits into
masterfrom
ci/930-tier2-cost-freshness
Oct 16, 2026
Merged

zackees merged 2 commits into
masterfrom
ci/930-tier2-cost-freshness

Conversation

@zackees

@zackees zackees commented Oct 16, 2026

Copy link
Copy Markdown
Member

Refs #930.

Since the build/test split (#975) the build job plans shards (#1049) from ctest-cost-<mode>.txt in the Tier 2 ccache, but only the shards run ctest and they keep no cache, so the cost data froze at its pre-split value; new or slower tests are planned at the 1 s default and the balance drifts.

  • validate.sh reads/writes timings in OBS_TIER2_COST_DIR (default: CCACHE_DIR, so the local harness is unchanged).
  • Each shard uploads its ctest-cost-<mode>.txt on master pushes.
  • rust-linux-tier2-done merges them per mode (merge-costs.sh: each test from the shard that ran it, highest run count) and saves cache tier2-ctest-cost-<sha>.
  • The build job restores that cache by prefix, seeding from the ccache's old files until it exists.

RED 1f82e60: ci/test_tier2_cost_freshness.py 6 failures. GREEN: 6/6, ci/ suite passes except the 4 test_app_config_identity master errors fixed in #1059.

@zackees
zackees enabled auto-merge October 16, 2026 09:40
@zackees
zackees added this pull request to the merge queue Oct 16, 2026
Merged via the queue into master with commit b05786e Oct 16, 2026
25 checks passed
@zackees
zackees deleted the ci/930-tier2-cost-freshness branch October 26, 2026 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant