fix: validate stale submissions with current trusted code - #51
Merged
Conversation
This was referenced Sep 11, 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.
What
Why
Older open submissions such as #33 and #35 still point to a base commit created before the current validator existed. Reopening those PRs therefore repeats the old repository-side failure instead of validating the submission.
Test plan
RUN v4.1.5 /Users/xiaozihao/Documents/01_Projects/Team_AI/xagt-plugin
Test Files 1 passed (1)
Tests 38 passed (38)
Start at 17:10:17
Duration 370ms (transform 44ms, setup 0ms, import 73ms, tests 125ms, environment 0ms)
RUN v4.1.5 /Users/xiaozihao/Documents/01_Projects/Team_AI/xagt-plugin
Test Files 10 passed (10)
Tests 90 passed (90)
Start at 17:10:19
Duration 761ms (transform 384ms, setup 0ms, import 745ms, tests 795ms, environment 1ms) — 10 files, 90 tests passed
Risk
The trusted checkout remains explicitly bound to the official PR base repository and branch, uses read-only permissions, and does not persist credentials. Participant code is neither checked out into the trusted path nor executed. This PR does not change submission eligibility or judging rules.