Skip to content

[codex] fix issue status flow#3016

Open
Chener wants to merge 1 commit into
multica-ai:mainfrom
Chener:codex/fix-issue-status-flow
Open

[codex] fix issue status flow#3016
Chener wants to merge 1 commit into
multica-ai:mainfrom
Chener:codex/fix-issue-status-flow

Conversation

@Chener
Copy link
Copy Markdown

@Chener Chener commented May 21, 2026

Summary

  • Invalidate project queries when issue membership or status changes so project progress counters refresh after manual status changes.
  • Preserve derived issue/resource counters on project update responses.
  • Advance assigned-agent and assigned-squad comment-triggered issues to in_progress after a task is successfully queued.

Root Cause

  • Project progress was cached separately from issue status mutations and WebSocket issue updates, so a project could keep showing stale done_count / issue_count after an issue moved to done.
  • Comment-triggered agent work queued a task but did not update the issue status from in_review to in_progress, leaving active AI work visually stuck in review.

Validation

  • go test ./internal/handler -run 'TestCreateComment_AssignedAgentReopensReviewToInProgress|TestCreateComment_AssignedSquadReopensReviewToInProgress|TestCreateComment_MentionedAgentDoesNotChangeIssueStatus|TestProjectResourceCountBreadcrumb'
  • go test ./internal/handler
  • corepack pnpm --filter @multica/core exec vitest run issues/ws-updaters.test.ts
  • corepack pnpm --filter @multica/core test

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

Someone is attempting to deploy a commit to the IndexLabs Team on Vercel.

A member of the Team first needs to authorize it.

@Chener Chener marked this pull request as ready for review May 21, 2026 12:27
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.

1 participant