-
Notifications
You must be signed in to change notification settings - Fork 3
feat(workflows): add multi-team support to claude-auto-tasks workflow #356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
feat(workflows): add multi-team support to claude-auto-tasks workflow #356
Conversation
Supports querying Linear issues from multiple teams in parallel: - Add `linear_teams` input (comma-separated list) with backwards compatibility for `linear_team` (single team) - Query each team, aggregate results, and sort by priority - Limit total issues to `max_issues` across all teams - Include `linear_team` in matrix output for worker reference - Update worker workflow to accept and display team name Also adds `linear_team` field to ProcessedIssue type in @uniswap/ai-toolkit-linear-task-utils for tracking issue origin. Resolves: DEV-201
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
Semgrep found 1 Using variable interpolation |
🤖 Claude Code Review
PR Review: Multi-Team Support for Claude Auto-Tasks WorkflowSummaryThis PR adds multi-team support to the Claude auto-tasks workflow, enabling queries for Linear issues from multiple teams simultaneously. The implementation is well-structured with proper backwards compatibility, priority-based sorting across teams, and appropriate documentation updates. Files Reviewed
AnalysisWhat This PR Does
Strengths
Architecture DecisionThe approach of keeping the CLI single-team focused while handling multi-team aggregation in the workflow is reasonable. It maintains simplicity in the TypeScript code while allowing workflow-level orchestration of the multi-team behavior. VerdictNo bugs, security issues, or data corruption risks identified. The implementation is clean, well-documented, and maintains backwards compatibility. The test updates properly verify the new behavior. 💡 Want a fresh review? Add a comment containing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📋 Review verdict: APPROVE
👆 The main review comment above is the source of truth for this PR review. It is automatically updated on each review cycle, so always refer to it for the most current feedback.
This formal review submission is for the verdict only.

Supports querying Linear issues from multiple teams in parallel:
linear_teamsinput (comma-separated list) with backwardscompatibility for
linear_team(single team)max_issuesacross all teamslinear_teamin matrix output for worker referenceAlso adds
linear_teamfield to ProcessedIssue type in@uniswap/ai-toolkit-linear-task-utils for tracking issue origin.
Resolves: DEV-201
✨ Claude-Generated Content
Summary
Add support for querying Linear issues from multiple teams in the claude-auto-tasks workflow. Issues from all specified teams are aggregated, sorted by priority, and limited to
max_issuestotal.Changes
Workflow Updates
_claude-task-prepare.ymllinear_teamsinput for comma-separated team list with backwards compatibility forlinear_team_claude-task-worker.ymllinear_teaminput to display team name in job summaryMulti-Team Query Logic
linear_teams(comma-separated) orlinear_team(single, backwards compatible)max_issuesacross all teamslinear_teamfield for worker referencePackage Updates (linear-task-utils)
types.tslinear_teamfield toProcessedIssueinterfacequery-issues.tslinear_teamfrom query parameterquery-issues.spec.tslinear_teamCLAUDE.mdUsage
Notes
linear_teamstakes precedence overlinear_teamif both are providedResolves: DEV-201