Skip to content

CI - Unify the Claude workflow and job names - #4307

Open
agalin920 wants to merge 2 commits into
devfrom
chore/unify-claude-workflow-names
Open

CI - Unify the Claude workflow and job names#4307
agalin920 wants to merge 2 commits into
devfrom
chore/unify-claude-workflow-names

Conversation

@agalin920

@agalin920 agalin920 commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Names the five Claude workflows for what they do, and makes the Actions list and the PR check list read the same way.

file workflow name check name
claude-auto-reviewer.yml Claude: Code Review Claude Code Review
claude-change-verifier.yml Claude: Acceptance Criteria QA Claude Acceptance Criteria QA
claude-issue-critique.yml Claude: Issue Triage Claude Duplicate Issue Check / Claude Issue Triage
claude-negative-qa.yml Claude: Adversarial Browser QA Claude Adversarial Browser QA (advisory)
claude-sentry-handler.yml Claude: Sentry Triage & Auto-Fix Claude Sentry Triage & Auto-Fix

Two names were wrong against behaviour, not just inconsistent:

  • Sentry. "RCA" names only the complex branch. CI - Automated Sentry Issue Root-Cause Analysis #4231 specifies two processes, and the workflow implements both: :509 posts an RCA-only comment on verdict == complex, :526 opens an auto-fix PR against dev on verdict == simple.
  • Negative QA. The prompt is entirely attack sequences — delete-while-referenced, double-submit, navigate-mid-save — with a two-reproductions rule. "Browser QA" named the mechanism and dropped the intent.

Three prompts also referenced a workflow called "QA Review", which has never existed under that name; they now name the real sibling workflows. The comment headings each workflow posts are aligned to the same names (## QA Review## Acceptance Criteria QA, ## Negative QA## Adversarial Browser QA).

Scope

No trigger, permission, secret, model, or step-logic change. Job ids are untouched, so needs:, workflow_dispatch, and gh workflow run claude-negative-qa.yml all keep working. The HTML markers (<!-- cv-verifier -->, <!-- negative-qa -->, <!-- claude-code-review -->) are untouched, so comment upsert and every downstream grep still match.

Verification

  • All five parse under YAML.load; prettier --check clean.
  • Adding a job name: changes the check-run names on PRs. Ruleset 16667349 (dev) requires only all_tests_passed, so no required check is affected.
  • Not reviewed by the reviewer subagent — subagents were unavailable this session.

All five Claude workflows now use a "Claude: <what it does>" display name and
a "Claude ..." job name, so the Actions list and the PR check list both group
and read the same way. Cross-references inside the prompts were pointing at
names that no longer existed ("QA Review") and now name the real workflows.

No trigger, permission, or step change. Job ids are untouched, so nothing that
depends on them (needs:, workflow_dispatch, gh workflow run) changes.
@shrunyan
shrunyan enabled auto-merge (squash) September 4, 2026 18:57
@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Acceptance Criteria QA — ✅ PASS

No linked issue found — change-only QA.

  1. ✅ Each workflow's name: and new job-level name: fields match the mapping given in the PR description (auto-reviewer → "Claude: Code Review", change-verifier → "Claude: Acceptance Criteria QA", issue-critique → "Claude: Issue Triage", negative-qa → "Claude: Adversarial Browser QA", sentry-handler → "Claude: Sentry Triage & Auto-Fix").
  2. ✅ Cross-workflow references inside prompts/comments are updated to the new names with no stale mentions left (old strings "Claude Auto Review", "Claude Change Verifier", "QA Review", "Claude Negative QA", "Claude: Sentry Handler" only appear as diff deletions, not in the resulting file content).
  3. ✅ Report headings emitted by the prompts are realigned to the renamed workflow identity ("## QA Review" → "## Acceptance Criteria QA" in claude-change-verifier.yml, "## Negative QA" → "## Adversarial Browser QA" in claude-negative-qa.yml, including the "found nothing" fallback text).
  4. ✅ Job keys are untouched (review:, verify:, duplicate-check:, triage:, negative-qa:, sentry-rca:) — only name: lines are added or changed, consistent with the PR's claim that needs:, workflow_dispatch, and gh workflow run claude-negative-qa.yml keep working.
  5. ✅ HTML comment markers (<!-- cv-verifier -->, <!-- negative-qa -->) appear only as unchanged context lines in the diff, not modified.
Suggested Cypress coverage

None applicable. This PR only edits .github/workflows/*.yml display names and internal prompt text for the Claude automation workflows — it has no effect on application runtime behavior, so no spec under cypress/e2e/ exercises this surface.

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Code Review — ✅ No blockers

@github-actions

github-actions Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Adversarial Browser QA

No reproducible edge-case failures found on the surfaces this PR changes.

Also checked and working correctly
  • Confirmed via gh pr diff 4307 that the change set is limited to .github/workflows/*.yml (workflow/job display-name renames and matching prompt-text cross-references) — no files under src/ are touched, so there is no rendered UI surface for this PR to attack.

finnar-bin added a commit that referenced this pull request Sep 7, 2026
## What

Two model pins, in two commits:

| File | Job | Before | After |
|---|---|---|---|
| `claude-auto-reviewer.yml` | review | `claude-sonnet-4-6` |
`claude-sonnet-5` |
| `claude-issue-critique.yml` | triage | `claude-opus-4-8` |
`claude-sonnet-5` |

After this, all six `claude-code-action` invocations in the repo run
`claude-sonnet-5`, and no invocation relies on the action's default
model. `grep -i opus .github/workflows/` returns nothing.

## Why

**auto-reviewer** was the last workflow on `claude-sonnet-4-6`. That pin
dates to #4150, the commit that first added a `--model` flag to the
file; nothing since bumped it while the other four workflows moved to
sonnet-5.

**issue-critique triage** was the only job deliberately on Opus. Changed
on the Director's instruction. Two comments in that file justified the
Opus pin and are updated with it:

- the `# claude-opus-4-8 ... do not downgrade` line above `claude_args`
is removed — it no longer describes the file;
- the `if:` gate rationale above the `triage` job said the
HIGH-duplicate skip "avoids wasting an Opus run". The skip still stands
on its own merits, so the condition is unchanged and only the cost
framing is reworded.

`--max-turns 100` and `timeout-minutes: 20` are untouched on both jobs.

## Not verified

A model flag only takes effect on the next event that triggers its
workflow, so nothing here demonstrates that either job runs green on
`claude-sonnet-5`. If a model string is rejected by the pinned action
version, it surfaces as a failed job on the first PR (auto-reviewer) or
the first opened issue (triage) after merge.

Related, not addressed: `claude-auto-reviewer.yml` carries the repo's
oldest action pin, `anthropics/claude-code-action@1dc994e` (v1.0.127),
against v1.0.184/185 elsewhere.

## Conflicts

None with #4307, which edits lines 1-14 and 36-48 of
`claude-auto-reviewer.yml`; this touches line 86. #4307 also edits
`claude-issue-critique.yml`, at the workflow/job `name:` keys, not
`claude_args`.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
Co-authored-by: Nar -- <28705606+finnar-bin@users.noreply.github.com>
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.

4 participants