fix(review): prevent lost provider events and expose stalled progress - #53
Merged
Merged
Conversation
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.
AI review could remain on “Analyzing batch 1 of 2” for 20 minutes even after the provider finished or requested approval. The review executor subscribed directly to the adapter’s single-consumer event queue, competing with ProviderService and other reviews. Its filter discarded events consumed for other threads, while approvals and completion events could be taken by another consumer.
Read-only diagnosis of the reported PR #52 review found the last Codex event at 18:49:31 local time:
waitingOnApproval, followed by a command approval request. The UI still claimed Working. An earlier review’s provider log contained turn completion while its review record eventually timed out.Changes
Validation
The existing live review and installed application were not modified or restarted. Cancel the old review and retry after deploying the updated server/client. No review comments were published. The one-minute warning indicates missing updates, not proof that the provider process has deadlocked.
Implemented with GPT-6 through the Codex harness.