Skip to content

chore(build): avoid downloading grevm test data during compilation - #822

Merged
nekomoto911 merged 1 commit into
Galxe:mainfrom
AshinGau:main
Aug 20, 2026
Merged

nekomoto911 merged 1 commit into
Galxe:mainfrom
AshinGau:main

Conversation

@AshinGau

@AshinGau AshinGau commented Aug 20, 2026 •

Copy link
Copy Markdown
Contributor

@nekomoto911
nekomoto911 merged commit 7a53349 into Galxe:main Aug 20, 2026
27 of 28 checks passed
nekomoto911 added a commit that referenced this pull request Aug 20, 2026
## Summary
- Gate PR-wide dedup (`belongs_to_pr`) used `GET /commits/{sha}/pulls`,
which returns `[]` for commits that only exist on **open** PRs.
- That made every re-approve after the first successful run treat the PR
as "never passed" and re-run E2E/UT (seen on #819 after merge-from-main
+ re-approve).
- Switch the membership check to `GET /pulls/{n}/commits` (paginated),
which correctly lists open-PR commits and still rejects SHAs from a
reused branch name / foreign PR.

## Test plan
- [x] Locally replay gate logic against #819: previous success run
`32322914975` (`1e6e4a8`) is recognized → would `should_run=false`.
- [x] Foreign SHA from merged #822 is rejected.
- [ ] After merge: on a PR that already has a successful E2E/UT run,
re-approve (optionally after a docs-only or merge-from-main commit) and
confirm Gate logs `CI already passed for PR #N. Skipping.` with
downstream jobs skipped.
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