chore: add Tier 2 deep-triage workflow with Argent#329
Open
danstepanov wants to merge 2 commits intomainfrom
Open
chore: add Tier 2 deep-triage workflow with Argent#329danstepanov wants to merge 2 commits intomainfrom
danstepanov wants to merge 2 commits intomainfrom
Conversation
Tier 2 runs on a self-hosted macOS runner and uses [Argent](https://argent.swmansion.com/) to drive the iOS simulator. Handles runtime/interaction/memory bugs that Tier 1 (Linux-only, Jest-only) can't reproduce. Flow: 1. Tier 1 runs on a new issue, flags as `needs-deep-triage` if it looks runtime/interaction related 2. The label change triggers Tier 2 on the macOS runner 3. Claude scaffolds a minimal repro with `rn-new`, installs Argent, boots the iOS simulator 4. Claude uses Argent's MCP tools to navigate the app, inspect the component tree, read console logs, and profile memory as needed 5. Posts a structured comment with findings, applies labels Runner requirements are documented in .github/AUTO_TRIAGE.md: - macOS 14+ with Xcode and iOS simulators - Node 22+ - Registered as self-hosted with label `macos-argent`
Public repos get unlimited free GitHub-hosted runner minutes, including macOS, so there's no reason to go through the hassle of setting up a self-hosted runner. Drop the `self-hosted` requirement and use `macos-latest` directly. Added actions/cache for Argent's native binaries (~200MB) so they don't re-download on every run.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds Tier 2 of the auto-triage system: uses Argent to drive the iOS simulator for runtime, interaction, and memory bugs that Tier 1 (Linux, Jest-only) can't reproduce.
Triggered when Tier 1 applies the `needs-deep-triage` label (or manually via `workflow_dispatch`). Claude scaffolds a minimal repro with `rn-new`, installs Argent, boots the simulator, navigates the app using Argent's MCP tools, and posts a structured finding.
Flow
Runner
Runs on GitHub-hosted `macos-latest`. Public repos get unlimited free macOS runner minutes, so no self-hosted setup needed. Xcode + iOS simulators are pre-installed. Argent binaries are cached across runs via `actions/cache`.
Test plan
VariableContextProviderwhen re-rendering with CSS variables #245 (memory leak, known to reproduce): `gh workflow run "Auto Triage (Deep)" --repo nativewind/react-native-css -f issue_number=245`Known limitations