Skip to content

Failed issue task Follow Up incorrectly queues a PR-comment job #3124

Closed

Description

@integry

Live Linux desktop blackbox test on main 84800a6:

  1. Create an implementation task in a dedicated acceptance repo.
  2. Let it fail before creating a PR (in this test Claude auth failed).
  3. Open failed task -> Follow Up, enter a retry request, Post Comment.
  4. UI says "Follow-up queued successfully", but no new task run occurs.

Worker evidence: job name processPullRequestComment, payload pullRequestNumber=14, comments[0].type=issue, branchName empty. checkCurrentTaskIntent/readCurrentTaskIntent then requests GitHub GET /pulls/14 and fails with 404. Issue #14 exists; it has no PR. The queued job fails repeatedly. No secrets involved.

Root visible in packages/api/routes/taskFollowupRoutes.ts: resolveFollowupThread correctly selects the issue and followupBranch returns undefined, but dispatchPostedFollowup is unconditionally called with prNumber=issueNumber and creates the PR-comment job. taskIntent jobIntentTarget correctly treats processPullRequestComment as PR intent, exposing this mismatch.

Implement proper failed-issue follow-up/retry orchestration through the supported issue execution path. Preserve the existing issue, prompt context, intended actor, provider/model selection, durable submission/receipt and deduplication semantics. PR follow-ups and review commands must retain PR routing. Do not hide the action or create duplicate replacement issues as the fix. The UI must only report a valid dispatch and show the subsequent run/error truthfully.

Acceptance: an issue-only failed implementation can be followed up successfully, creates a new run on the same issue and eventually a PR; no PR GET is used for issue-only intent. Test issue-only, issue with created PR, PR-comment tasks, slash-command boundaries, correct actor/model attribution, and transport/deduplication behavior appropriate to this route. Keep scope focused. Claude implementation; independent Astra review after ready.

Activity

  1. propr-dev commented on Oct 15, 2026

    @propr-dev
    Contributor

    🤖 AI processing has started for this issue using claude agent with claude-opus-5-5 model.

    I'll analyze the problem and work on a solution. This may take a few minutes.

    Processing Details:

    • Agent: claude
    • Model: claude-opus-5-5
    • Branch: 3124/claude-opus-5-5-failed-issue-task-follow--20261015-0802-lkh
    • Base Branch: main
    • Worktree: issue-3124-20261015-0802-claude-opus-5-5-lkh

    🔍 Track Task Execution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions