Repository navigation
Done
Labels
Description
Goal
A design document, linked to the Linear project, that settles how Junior and a GitHub Actions workflow verify a PR together. The project playbook requires one for a project of this size.
The split
| Part | Where |
|---|---|
| Gate, plan, scenario and sample changes | Junior |
| Build both sides, run the flows, collect logs and screenshots | A GitHub Actions workflow: a fixed script with no agent and no secrets |
| Find the events in Sentry, compare, write the report | Junior |
| Post the report | Junior, after a maintainer approves |
Decisions to record
- How the scenario reaches the runner. Proposal: Junior pushes a short-lived branch with the PR head, the flow and any sample change, and deletes it afterwards. The branch name stays outside
mainandrelease/**, the only branches whose pushes start other workflows. - The workflow's inputs and outputs. PR number, branch, platform, run ids, repeat count; logs, screenshots and a result file.
- Shared scripts. Which build, reverse-patch, run and check commands move out of the skill's reference files so the local skill and the workflow use the same ones, on macOS and Linux.
- Checks built into the workflow. The stale-bundle check, the control event, and up to three repeats in one dispatch.
- Who can start a run. People with write access, through Junior. For a fork PR, only when a maintainer asks.
- How Junior waits for the result.
- Where the report goes. One draft comment, shown to a maintainer first.
- Runners. Linux for Android, and for every JS-only change. macOS only when the claim touches iOS.
Inputs
- The answers about Junior's access and how it continues after a long workflow.
- The timings and Linux findings from the one-off run on a Linux runner.
- The results of the local runs: Run the verify-pr skill on open PRs #7105 (comment)
Done when
This runs as a spike. The design is working notes, corrected after each experiment, and the team review waits until there are results. The current plan: #7124 (comment)
- The plan is posted on this issue and the Linear project matches it.
- The first experiment, the two triggers with the gate only, has a result.
Activity
linear-code commentedon Nov 26, 2026
RN-896
antonis commentedon Nov 30, 2026
Plan
This continues as a spike. The design is working notes that each experiment corrects, and the team review waits until there are results to discuss.
Where it stands
The test workflow
verify-pr-spike.ymlonmainverifies #7087 end to end when Junior starts it (#7127). It handles that one PR only: a fixed flow, native Android changes, crash events.The flow
verify/pr-<number>Two triggers
Both are Junior event automations on this repo.
pull_request.comment.createdpull_request.ready_for_reviewmentionsBot, andsenderIdin a list of maintainersis_draft: false, andopener_roleofadmin,maintainorwriteready_for_reviewfor a PR that is opened as non-draft.Experiments, in order
packages/coreon each side, the script taken frommain, and spans in the fetched fields.Postponed until a run needs them
mainwith a dedicated read-only token. Today only a rule for Junior keeps the workflow from being started on a branch.Checked against Junior's source
repofilter, and run without a Slack message.Not known yet
antonis commentedon Nov 30, 2026
Summary
Closed without a formal design document. The work continues as a spike, and the team review waits until there are results to discuss.
@sentry-junior verifyon a draft PR (fix(core): Keep Hermes InternalBytecode.js frames out of app #7138) started Junior's gate with no Slack message. The answer arrived in Slack in about a minute, Junior wrote nothing on GitHub, and three runs gave the same answer.Next