feat(mobile,ui-native): push a pull request's checks and files from rows on its page

Merged
DA
4d ago
+356-147

What

Step (a) of STAG-3903, which Dean picked as GitHub-app style: on the iOS pull request page, Checks and Files changed become rows under the description, and each pushes a screen of its own.

  • Checks row: the summary mark (failing, running or passing), then how many checks stand in each state, failures first, e.g. "1 failed · 1 running · 3 passed". It's built by the new checksLineOf in @repo/features/pull-request-model. The row pushes a new Checks screen (…/pull/<ws>/<owner>/<name>/<number>/checks, iosPullRequestChecksRoute), which lists each check as the page used to: its mark, how long it ran, and the App that runs it, opening the run on GitHub. The bar's subtitle carries the same line. That screen follows only the checks part (usePullRequestParts(key, [CHECKS])).
  • Files changed row: pushes #10549's file list. When the page was opened from an agent, it shows "6 files · +212 −38" from the agent's listed PR. Otherwise it shows no count, and nothing reads the changes on open. The ⋯ menu's temporary Files changed item from #10549 is removed, as its author asked.
  • landedOf/failedOf move to @repo/host/app-state-reads (landedAnswer, answerFailed), since two screens now use them. #10549's count line moves to changesLine in @repo/features/changed-files, so the row and the file list's subtitle share it.
  • Maestro: pull-request.yaml opens the failing PR's Checks row, shows the list (pull-request-checks) and goes back. pull-request-files.yaml opens Files changed from its row instead of the ⋯.

Stacked on #10549 (agent/feat/ios-pr-files-list). I'll retarget to main once it merges.

Checks

  • turbo run typecheck --filter=@repo/mobile passed (with ui-native, features and host), and biome and oxlint are clean on the changed files.
  • No unit test added: checksLineOf is a count-and-join.
  • No Swift changed. I'm asking the Mac queue for pull-request and pull-request-files frames on the iPhone 18 Pro and the 27.2 iPad before merge.

🤖 Generated with Claude Code