Repository navigation
Copilot runs that end without a final message and with zero changes are not diagnosable or continued - #764
Merged
Conversation
…, distinct failure kind Work turns now run Copilot with --output-format json (probed via --help, plaintext fallback with warning), giving the harness the stop/finish reason plaintext never had: the trailing result event's sessionId/exitCode/ usage.codeChanges plus the concluding assistant.message. The runner owns session resume (copilot --resume <uuid>, UUID-validated at the argv sink), quota-gated crash recovery, and a bounded in-session continuation after a clean-exit turn ends with no final message and no edits (CodeyBox:Copilot:NoFinalResponseMaxContinuations, default 2, hot- reloadable). A spent bound stamps EndedWithoutFinalResponse, which the pipeline classifies as the distinct ended-without-final-response failure kind instead of quota, transient, or 'produced no changes'. Verified live against copilot 1.0.106 with a fake chat-completions endpoint, including --resume with -p in JSON mode. CodeyBox-Prompt-Revision: 1 Co-Authored-By: CodeyBox <noreply@codeybox.invalid>
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.
Automated via CodeyBox — work item d89b9a4810c84722b96b260693fbeea4
Initiated by CodeyBox operator
Co-Authored-By: CodeyBox noreply@codeybox.invalid
🤖 Generated with CodeyBox