Skip to content

chore: add auto-triage workflow for new issues#328

Merged
danstepanov merged 1 commit intomainfrom
chore/auto-triage-workflow
Apr 17, 2026
Merged

chore: add auto-triage workflow for new issues#328
danstepanov merged 1 commit intomainfrom
chore/auto-triage-workflow

Conversation

@danstepanov
Copy link
Copy Markdown
Member

@danstepanov danstepanov commented Apr 17, 2026

Summary

Adds a Tier 1 auto-triage workflow that runs on every new issue. Uses Claude Opus 4.7 via the Claude Code base action to:

  1. Parse the issue and identify version, repo, and bug type
  2. Look for a reproduction URL
  3. Generate a minimal Jest test reproduction for CSS/compiler bugs
  4. Run the test to confirm the bug reproduces (or not)
  5. Post a structured triage comment with findings
  6. Apply labels based on the outcome

Tier system

  • Tier 1 (this PR): Linux runner, no simulator. Handles CSS compilation, type, and config issues reproducible in the Jest test suite.
  • Tier 2 (future): Self-hosted macOS runner with Argent for runtime/interaction/memory bugs. Opt-in via needs-deep-triage label.
  • Tier 3 (future): Auto-fix PRs for confirmed bugs. Opt-in via label.

Authentication

Uses CLAUDE_CODE_OAUTH_TOKEN (Claude Max subscription, free under the Anthropic OSS program) instead of a pay-per-use API key. Generate locally with claude setup-token.

If the Max subscription ever goes away, swap the secret reference in the workflow for ANTHROPIC_API_KEY.

Test plan

Setup and ops docs in .github/AUTO_TRIAGE.md.

@danstepanov danstepanov force-pushed the chore/auto-triage-workflow branch from 480eeb5 to c56e949 Compare April 17, 2026 00:47
Tier 1 of a multi-tier triage system. Triggers on every new issue (and
supports workflow_dispatch for re-triaging existing issues). Runs Claude
Opus 4.7 to:

1. Parse the issue and identify version, repo, and bug type
2. Look for a reproduction URL in the body
3. Generate a minimal Jest test reproduction for CSS/compiler bugs
4. Run the test against HEAD to confirm the bug reproduces
5. Post a structured triage comment with findings
6. Apply labels based on the outcome (confirmed, needs-reproduction,
   needs-more-info, needs-deep-triage)

Tier 1 is Linux-based and handles compilation, type, and config issues.
Runtime/interaction/memory bugs get flagged with `needs-deep-triage` for
a future Tier 2 workflow (self-hosted macOS runner + Argent).

The prompt explicitly loads CLAUDE.md (which imports DEVELOPMENT.md and
CONTRIBUTING.md) so Claude has the architecture overview, test
conventions, and common pitfalls before triaging.

Setup and ops docs in .github/AUTO_TRIAGE.md.
@danstepanov danstepanov force-pushed the chore/auto-triage-workflow branch from c56e949 to cc95a71 Compare April 17, 2026 00:47
@danstepanov danstepanov merged commit b5f2a4d into main Apr 17, 2026
6 checks passed
@danstepanov danstepanov deleted the chore/auto-triage-workflow branch April 17, 2026 00:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant