GeezerVison is showing github.com — ci: thread transfer report tests run on pull requests, not only after merge by only21mil · Pull Request #28302 · pingdotgg/t3code
Conversation
only21mil
commented
Oct 31, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Problem
.github/scripts/thread-transfer-report.test.cjs only runs in thread-transfer-report.yml. That workflow runs after CI via workflow_run and checks out the default branch, so it tests what is already on main. A pull request that breaks thread-transfer-report.cjs gets no signal from these tests; they first fail after the change has merged.
Change
Add a "Test thread transfer report publisher" step to the test job in ci.yml, just before "Test preview artifact validation". The test job runs for a PR that touches only thread-transfer-report.cjs (ci-changes.cjs treats the path as unknown and runs everything). It is a separate step, not another file on the release-checks line, so it merges cleanly with #26377, which appends its own test to that line.
The test step in thread-transfer-report.yml stays. It checks the default-branch copy right before that workflow publishes with a write token.
Scope and approval
No issue or discussion. This is a very small, focused fix for an obvious bug: an existing test file never runs in PR CI, so a regression in the publisher passes PR CI. It changes no product code or behavior, job gating, permissions, or the trusted publisher's default-branch checkout.
Verification
No UI effect: only a CI workflow file changes, so there are no screenshots.
- Before:
git grep -n thread-transfer-report.test.cjs -- .github/workflows on main matches only thread-transfer-report.yml. After: it also matches ci.yml.
- Ran the new step's command from the repo root on Node 26.12.1, the version
package.json pins:
node --test .github/scripts/thread-transfer-report.test.cjs
7 tests, 7 pass, exit 0. The unchanged "Test release checks" command still passes (34 of 34).
- Negative control: in a scratch copy, changed one expected value in
thread-transfer-report.test.cjs (pull_number "5350" to "9999") and ran the same command: 6 pass, 1 fail, exit 1. The step would fail CI.
git merge-tree with fix(ci): keep Android production fingerprints consistent #26377's ci.yml change: merges cleanly in either order, keeping both edits.
actionlint 1.7.12 with shellcheck on ci.yml: no findings on main or on this branch other than the self-hosted blacksmith-* runner labels it does not know (10 on each, identical).
vp run check:changed: format, typecheck and the affected tests pass.
Not checked:
- A real GitHub Actions run of the new step; that happens on this PR.
Prior PRs
No earlier PR made this change. #5350 by t3dotgg added the publisher, its tests and the trusted workflow_run test step, which this PR keeps.
Generated with Claude Opus 5.5 in T3 Code Nightly
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
The thread transfer report publisher's tests ran only in the post-merge
publisher workflow, which checks out the default branch. PR CI never ran
them, so a break in thread-transfer-report.cjs first showed up on main.
Run the test file in its own step in the PR CI test job, with the
other .github/scripts tests. The publisher workflow keeps its own
run of the tests before it uses its write token.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Approvability
Verdict: Approved at 9aef501
Macroscope's review found this PR approvable — Adds the existing thread-transfer report publisher tests to pull-request CI. The tests use mocked GitHub clients, so the change adds validation without publishing comments or changing product behavior.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 31, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 15fe283 and 9aef501.
Files selected for processing: 1
-
Limit details: You’ve used all 10 included reviews currently available.
Walkthrough
-
The CI test job now runs .github/scripts/thread-transfer-report.test.cjs with Node’s test runner.
Changes: CI test execution
| Layer / File(s) |
Summary |
Run the report publisher test .github/workflows/ci.yml |
The test job adds a step that runs the report publisher test with node --test. |
Estimated code review effort: 1 (Trivial) | ~3 minutes
Change: Bug fix
Suggested labels: vouch:unvouched, size:XS
Suggested reviewers: t3dotgg
Merge Risk: Minimal · up to 9aef5
-
The new test runs in pull-request CI without an identified merge-blocking risk.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title clearly and concisely describes the main change: running thread transfer report tests in pull request CI instead of only after merge. |
| Linked Issues check |
 |
Check skipped because no linked issues were found for this pull request. |
| Out of Scope Changes check |
 |
Check skipped because no linked issues were found for this pull request. |
| Description check |
 |
The pull request description includes all required sections: Problem, Change, Scope and approval, and Verification. It explains the defect, the CI workflow change, scope limitations, approval rational… |
Full details: Description check
-
Explanation
The pull request description includes all required sections: Problem, Change, Scope and approval, and Verification. It explains the defect, the CI workflow change, scope limitations, approval rationale, test results, negative-control results, merge validation, linting, and the remaining unverified GitHub Actions run.
Finishing Touches
-
Generate unit tests (beta)
-
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Note 🤖 Opus 5.5 replying on behalf of Victor.
Closing this to bring my open PRs down under the new limit. The branch stays on my fork if it is useful.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:XS
0-9 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|