Skip to content

ci: repair Tier 2 timing artifacts and reject empty caches - #1288

Merged
zackees merged 2 commits into
masterfrom
fix/1286-cache-reuse
Oct 17, 2026
Merged

zackees merged 2 commits into
masterfrom
fix/1286-cache-reuse

Conversation

@zackees

@zackees zackees commented Oct 17, 2026

Copy link
Copy Markdown
Member

Tier 2 uploaded timing files from hidden .tier2-cost with hidden-file uploads disabled. The downstream job then saved an empty cache when no timing artifact arrived, so future CTest runs could not reuse test durations.

Enable hidden-file upload, report missing files as an error, and validate that both OFF and ON have measured tests before saving a timing cache. This leaves the existing OFF/ON test execution and required gate intact.

Validation:

  • RED e5db537: focused regression failed for missing hidden-file upload, missing cache validation, and the unimplemented validator.
  • GREEN 123b3cf: 22 cost/schedule/shard tests pass; Ruff, shell syntax, and diff checks pass.
  • Ran real CTest on a minimal fixture and validated its generated cost data for both mode files.
  • Live master upload and subsequent cache consumption remain to be verified after landing.

Refs #1286, #1269.

@zackees
zackees added this pull request to the merge queue Oct 17, 2026
Merged via the queue into master with commit b08856d Oct 17, 2026
29 checks passed
chriscoveries pushed a commit to chriscoveries/obsrust-fork that referenced this pull request Oct 17, 2026
)

* test(ci): expose understated Qt cache budget and missing hit metrics (RED)

* fix(ci): bound Qt cache to its measured working set and report hits (GREEN)

* ci: repair Tier 2 timing artifacts and reject empty caches (obs-rust#1288)

* test(ci): expose lost and empty Tier 2 timing caches (RED)

* fix(ci): persist hidden Tier 2 timings and reject empty caches (GREEN)

* test(ci): reproduce flattened timing artifact downloads

* fix(ci): merge flat and nested timing artifact layouts

* test(ci): retain upstream timing test layout for a clean merge
chriscoveries pushed a commit to chriscoveries/obsrust-fork that referenced this pull request Oct 17, 2026
* ci: repair Tier 2 timing artifacts and reject empty caches (obs-rust#1288)

* test(ci): expose lost and empty Tier 2 timing caches (RED)

* fix(ci): persist hidden Tier 2 timings and reject empty caches (GREEN)

* test(ci): require independent complete Tier 2 mode suites

* ci: test complete Tier 2 OFF and ON suites concurrently

* docs(ci): explain Tier 2 mode and timing validation contract
@zackees
zackees deleted the fix/1286-cache-reuse branch October 26, 2026 15:43
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