Skip to content

ci: skip empty Tier 2 publication before requesting a runner - #1589

Merged
zackees merged 2 commits into
masterfrom
infra/1581-skip-empty-tier2
Oct 21, 2026
Merged

zackees merged 2 commits into
masterfrom
infra/1581-skip-empty-tier2

Conversation

@zackees

@zackees zackees commented Oct 21, 2026

Copy link
Copy Markdown
Member

The Tier 2 publication job requests a runner even when every work step is disabled. In #1583's PR run, job 118978535531 waited 96 seconds after creation, ran for four seconds, and skipped all proof/cache work. Surface changes disable proof publication and PRs never save timing caches.

Skip the job before requesting a runner unless successful suites can publish a new lane proof or a master push must merge/save timings. The job-level condition mirrors the existing work-step guards. Matrix failures remain failures of the reusable build workflow and required CI Gate; no tests or publication checks are removed.

Validation:

  • RED 89cd97639: focused truth-table test failed 15 cases against the old condition.
  • GREEN: 36 targeted cost-publication, fanout, compile-overlap and lane-proof tests pass. Truth table covers suite success/failure/cancellation/skip, empty/nonempty proof keys, proof hits, PR/queue/push and master/feature refs.
  • ./lint --fix passes (32.8 s); clud-review clean.
  • No new workflows, product changes, C tests, public headers or submodule changes.

Refs #1581. This eliminates the unnecessary job when it has no work; the observed 96-second wait is not a guaranteed saving on every run.

@zackees
zackees enabled auto-merge October 21, 2026 01:12
@zackees
zackees added this pull request to the merge queue Oct 21, 2026
Merged via the queue into master with commit 80ae600 Oct 21, 2026
22 checks passed
@zackees
zackees deleted the infra/1581-skip-empty-tier2 branch October 26, 2026 15:45
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