Skip to content

test: prove the zero-file PR gate (will be closed) - #794

Closed
athvin wants to merge 1 commit into
mainfrom
test/empty-pr-proof
Closed

athvin wants to merge 1 commit into
mainfrom
test/empty-pr-proof

Conversation

@athvin

@athvin athvin commented Nov 7, 2026

Copy link
Copy Markdown
Owner

Throwaway verification PR for #793, replicating the claim-ticket shape exactly: a draft PR whose tree is identical to main, so base...head is empty.

Expected, and the reason this exists — empty pull request had only ever been observed skipping, never failing:

  1. every compile job reports skipped (seconds, not ~10m and ~0.6 GB of sccache egress)
  2. empty pull request reports failure, so the PR reads red rather than green-with-nothing-proved

Will be closed and its branch deleted as soon as both are observed.

@athvin

athvin commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Verified, closing. The rust run took 19s and concluded failure:

  • the whole compile tier reported skipped — fmt + clippy + docs, entities, test and its shards, cargo-deny, both DuckLake matrices — so nothing compiled and no sccache read happened
  • empty pull request reported failure, so the PR read red rather than green-with-nothing-proved
  • the two deliberately ungated shell jobs still ran and passed: agent skills (lint + drift), workflow pins (S9)

Against the full run on #793's head at 9m54s. Same workflow, same base.

@athvin athvin closed this Nov 7, 2026
@athvin
athvin deleted the test/empty-pr-proof branch November 7, 2026 20:05
athvin added a commit that referenced this pull request Nov 7, 2026
`6d04e4b3` inverted the behaviour this passage described. It told the
reader to expect the draft's first CI run to be the FULL backend gate
and to ignore it as "green noise". As of that commit an empty diff
reports `code=false`, the compile tier skips, and the new
`empty pull request` job fails on purpose — so the draft goes RED in
about 19s, and a session following the old wording would read the claim
procedure working correctly as the gate failing, and try to fix it.

Measured on a live empty PR (#794, opened and closed to prove it): 19s
and `failure`, against 9m54s and `success` for a full run on the same
base.

Keeps the old behaviour as a dated note rather than deleting it, because
the reason the bug existed — this is the one `detect` in the repo built
as a denylist, and an empty path list inverts through it — is what stops
it being reintroduced.

Co-authored-by: bmoore813 <[email protected]>
Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants