GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@only21mil only21mil commented Oct 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions
@only21mil @claude
ci: run the thread transfer report tests on pull requests
9aef501
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]>
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Oct 31, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 31, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 15fe283
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8e81c7b5-bef8-4062-b205-4bb9dcbf8f54
Commits

Reviewing files that changed from the base of the PR and between 15fe283 and 9aef501.

Files selected for processing: 1
  • .github/workflows/ci.yml

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: Passed 4
Check name Status Explanation
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed 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)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@only21mil

only21mil commented Nov 12, 2026

Copy link
Copy Markdown
Contributor Author

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@only21mil only21mil closed this Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

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.

Projects

None yet

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.

1 participant

@only21mil
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.