Skip to content

fix(agent): disable Copilot streaming when supported#748

Merged
mariusvniekerk merged 1 commit into
mainfrom
fix/copilot-stream-off-2vp5
May 26, 2026
Merged

fix(agent): disable Copilot streaming when supported#748
mariusvniekerk merged 1 commit into
mainfrom
fix/copilot-stream-off-2vp5

Conversation

@mariusvniekerk
Copy link
Copy Markdown
Collaborator

@mariusvniekerk mariusvniekerk commented May 26, 2026

Summary

  • Probe Copilot CLI help output for --stream support.
  • Pass --stream off when supported so review output is captured through stdout instead of being lost to streaming mode.
  • Preserve compatibility with older Copilot CLIs by omitting the stream flag when unsupported.
  • Add regression coverage for detection, argument construction, and fallback behavior.

Closes roborev#2vp5.
References original GitHub issue: #700

Validation

  • go vet ./...
  • go test ./...

Copilot CLI versions that default to streaming can leave roborev with empty pipe-captured stdout even though the job appears to complete. Probe help output for stream flag support and request non-streaming output only when the installed CLI advertises it, preserving compatibility with older versions.

Validation: go test ./internal/agent; go vet ./...; go test ./...

Generated with OpenAI Codex
Co-authored-by: OpenAI Codex <noreply@openai.com>
@roborev-ci
Copy link
Copy Markdown

roborev-ci Bot commented May 26, 2026

roborev: Combined Review (d80aff1)

Verdict: No Medium, High, or Critical issues found.

All reviewed agents reported the change as clean.


Synthesized from 3 reviews (agents: codex, gemini | types: default, security)

@mariusvniekerk mariusvniekerk merged commit c0f9173 into main May 26, 2026
8 checks passed
@mariusvniekerk mariusvniekerk deleted the fix/copilot-stream-off-2vp5 branch May 26, 2026 17:19
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