Skip to content

fix([issue-6210]): layer the claim-work reviewer override into the JIRA play-button prompt - #6212

Merged
atomantic merged 2 commits into
mainfrom
next/issue-6210
Sep 4, 2026
Merged

fix([issue-6210]): layer the claim-work reviewer override into the JIRA play-button prompt#6212
atomantic merged 2 commits into
mainfrom
next/issue-6210

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Shipped issue #6210.

Closes #6210

What

resolveClaimReviewerPrompt() in server/services/cosTaskGenerator.js resolved the Code Review Defaults alone ({}), so a reviewer chain pinned for claims reached GitHub/GitLab/PLAN.md runs but silently not JIRA play-button claims — and GET /api/apps/:id/claim-reviewers previewed a chain the JIRA run would not use. It now takes the app and layers claim-work metadata over the defaults through the same claimReviewersFrom the scheduled path uses; buildJiraTicketTask passes its app through.

Test plan

  • services/cosTaskGenerator.test.js: 154 passed — JIRA assembly now asserts the override wins (codex,claude,@alice) and falls through to defaults (ollama,@alice) when claim-work pins no list; source guards pin resolveClaimReviewerPrompt(app) and ban the bare-{} call.
  • routes/cos.test.js + routes/cosTaskRoutes.test.js + routes/apps/taskTypes.test.js: all pass (355 total across the four files); cos.test.js apps mock gained getAppTaskTypeOverrides since the route now exercises it.
  • lib/reviewerConfig.test.js + lib/cosValidation.test.js: 96 passed.

…RA play-button prompt

resolveClaimReviewerPrompt resolved the Code Review Defaults alone, so a reviewer chain pinned for claims reached GitHub/GitLab/PLAN.md runs but silently not JIRA ones, and GET /api/apps/:id/claim-reviewers previewed a chain the JIRA run would not use. It now takes the app and layers claim-work metadata over the defaults through the same claimReviewersFrom the scheduled path uses; buildJiraTicketTask passes its app through.
@atomantic
atomantic merged commit eaffc9f into main Sep 4, 2026
7 checks passed
@atomantic
atomantic deleted the next/issue-6210 branch September 4, 2026 06:32
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.

JIRA play button ignores the claim-work reviewer override its docstring promises to honor

1 participant