Skip to content

fix: honor per-file review terminal states - #582

Open
4-1-1 wants to merge 1 commit into
alibaba:mainfrom
4-1-1:codex/fix-review-terminal-state
Open

fix: honor per-file review terminal states#582
4-1-1 wants to merge 1 commit into
alibaba:mainfrom
4-1-1:codex/fix-review-terminal-state

Conversation

@4-1-1

@4-1-1 4-1-1 commented Jul 29, 2026

Copy link
Copy Markdown

Summary

  • honor task_done DONE/FAILED and retry invalid states
  • fail review and scan subtasks that stop without completion
  • align partial scan output and session viewer state

Testing

  • targeted package tests
  • race tests for llmloop, agent, and scan
  • go vet for affected packages

@CLAassistant

CLAassistant commented Jul 29, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@4-1-1

4-1-1 commented Jul 29, 2026

Copy link
Copy Markdown
Author

CLA Assistant confirms that I signed the CLA as 4-1-1. I rechecked the original PR #578 and recreated it as this PR (#582), but the license/cla check remains pending. The status context currently shown on #582 still points to pullRequest=578 for commit 80f51414162dc5d3ff681aba20e69d606f5973c0, so it appears to be stale. Could a maintainer please retrigger or reset the CLA status for this commit/PR? Thank you.

@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

🔍 OpenCodeReview found 2 issue(s) in this PR.

  • ✅ Successfully posted inline: 2 comment(s)

Comment thread internal/llmloop/loop.go
Comment thread internal/viewer/store.go
@4-1-1
4-1-1 force-pushed the codex/fix-review-terminal-state branch from 80f5141 to 31596c9 Compare July 30, 2026 02:54
Treat FAILED and missing completion as review failures, and retry
invalid task_done states instead of accepting them as success.

Keep partial scan output and session history aligned with those states.
@4-1-1
4-1-1 force-pushed the codex/fix-review-terminal-state branch from 31596c9 to 2507df0 Compare July 30, 2026 03:13
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.

2 participants