Validation now runs the pull request's own tools/ - #1994
Merged
Conversation
The worker used to check out all of tools/ from the base commit after making
the test merge, so no pull request could exercise its own tool change -- and
a tools-only PR was not even counted as a change, so it got "noverify" and a
green check that had measured nothing. Both halves are fixed in
sm64ds-validator; the merge tree runs whole, tools/ included.
Two notes here were describing the old world:
- pr-validate.yml's pull_request_target safety argument is still correct
about THIS workflow (it never checks out or runs PR code), but "sandboxed
there" undersold what the worker does. It runs the branch's tools on
purpose. That is in its container, never on a runner and never with these
secrets -- but a tools/ diff on a fork PR is worth reading before approving.
- the C++ conversion plan's Tooling caveat said not to let a batch's
correctness depend on a tool the validator will delete. It no longer will.
A batch ships tu_create.py / tu_preflight.py and is validated by them, and
a byte-neutral tool change now gets a real base-vs-merge ROM comparison
instead of a no-op pass.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S7zcPKb3LNpLAJq4dH8NRf
✅ PR validation — Passednoverify: no source/build-data changes in this PR Each changed |
This was referenced Aug 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The validator used to check out all of
tools/from the base commit after making the test merge, so no pull request could exercise its own tool change. Worse,tools/was not in the scope that decides whether a PR changed anything, so a tools-only PR gotnoverify: no source/build-data changes in this PRand a green check that had measured nothing — #1986 is exactly that.Both halves are fixed in
sm64ds-validator. The committed test merge runs whole,tools/included, and a tools-only PR is now a full base-vs-merge ROM comparison. This PR is only the two places in this repo that documented the old behaviour..github/workflows/pr-validate.yml— thepull_request_targetsafety argument is still correct about this workflow (it never checks out or runs PR code), but "sandboxed there" undersold what the worker does. It runs the branch'stools/on purpose. That happens in the worker's container, never on a GitHub runner and never with these secrets — but atools/diff on a fork PR is worth reading before approving.notes/plan-cpp-conversion-queue.md§7 — said not to let a batch's correctness depend on a tool the validator will delete. It no longer will: a batch shipstu_create.py/tu_preflight.pyand is validated by them.Three things a merge still may not decide, all unchanged or newly enforced:
tools/mwccarm/,extracted/config/rombuild-versions.txtconfig/arm9/config.yaml,config/rombuild-exclude.txtNo code changes — comments and notes only.
🤖 Generated with Claude Code
https://claude.ai/code/session_01S7zcPKb3LNpLAJq4dH8NRf