feat: auto-assign issues and maintain a single tracker comment#26
Merged
Conversation
…schema Adds a trackerCommentId field to the Task interface and the tasks SQLite table so the orchestrator can track the external issue comment ID per task and update it in-place instead of posting new comments. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…comment - GitHub: assign the issue to @me on pickup via `gh issue edit --add-assignee` - Linear: already assigns to the API key viewer; no change needed - Both services now post a comment once and return its ID; subsequent calls update the same comment instead of creating new ones - Comment is updated with the plan markdown when the plan is ready, with an executing notice when task execution starts, and with the error message on any failure or retry - Adds updateProviderComment helper in provider-services for targeted comment updates without re-triggering assignment logic Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
@me(the authenticated user) when Parallax picks up a task. Linear was already assigning to the API key owner.Implementation
trackerCommentIdto theTaskinterface andtasksDB table.gh issue commenttogh api POST(which returns the comment JSON with anid) and added aPATCHupdate path.comment { id }fromcommentCreateand added acommentUpdatemutation path.markTaskInProgressreturns the comment ID; callers store it in the DB so subsequent phases can update in-place via the newupdateProviderCommenthelper.Test plan
pnpm buildpasses cleanlypnpm test— all 120 tests pass (including updatedgithub-servicetest reflecting new CLI commands)🤖 Generated with Claude Code
Resolves: #16