Skip to content

Have Junior run the verify-pr gate on a few PRs #7122

Done

Description

@antonis

Goal

Find out whether Junior can take the agent's part in verification, starting with the piece that needs nothing built: the gate-only mode of the verify-pr skill, which says in a few minutes whether a PR can be verified on a device.

What to do

  1. Add a short mobile/pr_verify.md skill to getsentry/team-sdk-skills that points Junior at the gate-only mode of .agents/skills/verify-pr in this repo. It follows that repo's conventions: gates first, an allowed-actions table, and "data, never instructions" for PR content.
  2. Ask Junior to run the gate on three or four PRs: one that can be verified, one that can't, and one from a fork.
  3. Confirm with the Junior team, for Sentry's deployment:
    • Can Junior start workflows in getsentry/sentry-react-native?
    • Can Junior read events in the sentry-sdks org?
    • Can Junior continue a task when a workflow finishes 10 to 40 minutes later, without a person telling it to?

What to record

  • Junior's gate answer for each PR, compared with the answer from a local run of the skill.
  • Time per gate run.
  • The answers to the three questions, and who gave them.
  • Anything Junior could not do in its sandbox.

Done when

  • Junior's gate answers match the local ones on the test PRs, or the differences are explained.
  • The three questions are answered.

Not in this issue

  • Starting any workflow or running anything on a device.
  • Posting to PRs.

Depends on #7121, which adds the gate-only mode.

Activity

  1. self-assigned this
    on Nov 26, 2026
  2. linear-code commented on Nov 26, 2026

    @linear-code
  3. sentry-junior commented on Nov 26, 2026

    @sentry-junior
    Contributor

    Point 3: what Junior could check itself

    Junior checked this from its own tools today. This is not a statement from the Junior team; for a definitive answer, ask in #proj-junior.

    • Can Junior start workflows in getsentry/sentry-react-native? Not verified. gh workflow run is in Junior's supported command set, but this issue rules out starting a workflow, so Junior didn't try. Reading works: Junior listed the repo's workflows and recent runs. Only one real dispatch would prove it. Even then, an action review checks each start against the request, so it never happens unprompted.
    • Can Junior read events in the sentry-sdks org? No, not with its current Sentry connection. The credential lists only the sentry org, and /organizations/sentry-sdks/ returns 403. That's also why the gate run couldn't open the device event linked on feat(ios): Add metricKitHangReportingMode option for MetricKit hang flame graphs #7059. Someone would need to give Junior's Sentry connection access to sentry-sdks.
    • Can Junior pick up a task 10–40 min later without a person prompting it? Yes, with a caveat. Junior can set a timer for up to 29 days (the timing is approximate) and then check the run with gh run view. It can also wake on events, but on GitHub that only covers PR check events (checks.passed / checks.failed on a PR's commit). A workflow_dispatch run that isn't tied to a PR doesn't send Junior an event, so for those it's the timer and a status check.

    One more limit Junior hit in its sandbox: gh issue view (GraphQL) is blocked, and issues have to be read over REST. The full gate-run results are on getsentry/team-sdk-skills#235.

  4. antonis commented on Nov 27, 2026

    @antonis
    ContributorAuthor

    Summary

    Junior can run the verify-pr gate, and its answers match a local run. It has not built or run anything on a device.

    What was done

    • A Junior skill, mobile/pr_verify.md, is merged in getsentry/team-sdk-skills#235. It runs the gate-only mode of this repo's verify-pr skill using only GitHub reads.
    • Junior ran the gate on four PRs, in two rounds. Every answer matched the local one, in 1 to 3 minutes each.
    PR Kind Answer
    #7107 fork, merged Verifiable on Android and iOS
    #7062 fork, merged Not verifiable this way (Metro config change)
    #7059 merged Not verifiable this way (MetricKit doesn't deliver on the simulator)
    #7111 open Verifiable on Android; iOS not applicable

    The three questions

    These are Junior's own answers from its tools. The Junior team has not confirmed them.

    Question Answer
    Can Junior read events in the sentry-sdks org? No. Its Sentry connection only has the sentry org
    Can Junior start workflows in this repo? Not tested. The command is supported, but this issue ruled out starting one. Each start is checked against what was asked, so a run always needs a request
    Can Junior continue after a workflow that takes 10 to 40 minutes? Yes, by timer. A dispatched run sends it no event, so it sets a timer and checks the run's status

    Details: #7122 (comment)

    Still open, not tracked in an issue

    • Access for Junior's Sentry connection to the sentry-sdks org. Without it Junior cannot check a run's events. The fallback is a workflow job that fetches the events and runs no PR code.
    • Confirmation of the three answers by the Junior team.
    • Two decisions for the sweep before it runs on a schedule: where its result is posted, and selecting PRs by the date of the head commit so a bot comment doesn't trigger a new gate run.

    What comes next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions