Skip to content

[adversarial test — do not merge] naive checkout proof - #7

Closed
yebiguo wants to merge 1 commit into
test/naive-basefrom
test/naive-head
Closed

yebiguo wants to merge 1 commit into
test/naive-basefrom
test/naive-head

Conversation

@yebiguo

@yebiguo yebiguo commented Aug 13, 2026

Copy link
Copy Markdown
Owner

Proves the premise behind action.yml's authoritative checkout: a bare actions/checkout@v4 with no ref: override lands on GitHub's synthetic merge-preview commit, not the real PR head sha. Will be closed and both throwaway branches deleted once confirmed.

@yebiguo

yebiguo commented Aug 13, 2026

Copy link
Copy Markdown
Owner Author

Confirmed: a bare actions/checkout@v4 (no ref: override) on this PR landed on synthetic commit 29739d0..., while the real PR head was d7f7685... — different commits, as expected. action.yml's own authoritative checkout (its dogfood run on this same PR, https://github.com/yebiguo/ProofRun/actions/runs/31723812921) correctly landed on the real head and its assert-HEAD step passed silently. Closing without merging.

@yebiguo yebiguo closed this Aug 13, 2026
@yebiguo
yebiguo deleted the test/naive-head branch August 13, 2026 17:05
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

yebiguo added a commit that referenced this pull request Aug 13, 2026
The download step's runner.os/runner.arch mapping and the
checksum-verification fallback chain (sha256sum/shasum/openssl) are
exactly the kind of logic that only breaks on a specific platform.
Verified via v0.2 Day 3 adversarial testing that a naive checkout
lands on GitHub's synthetic merge-preview commit while action.yml's
authoritative checkout does not (see PR #7, closed).
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