feat(ci): include human PR discussion in review prompts#582
feat(ci): include human PR discussion in review prompts#582mariusvniekerk wants to merge 14 commits intomainfrom
Conversation
Add human PR discussion to CI poller review prompts, ordered newest-first and filtered to exclude bots and roborev's own comments. Persist the precomputed prompt for CI review jobs so worker execution preserves that context. 🤖 Generated with [OpenAI Codex](https://openai.com/codex) Co-authored-by: OpenAI Codex <noreply@openai.com>
roborev: Combined Review (
|
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
roborev: Combined Review (
|
roborev: Combined Review (
|
Co-authored-by: OpenAI Codex <codex@openai.com>
roborev: Combined Review (
|
Co-authored-by: OpenAI Codex <codex@openai.com>
Co-authored-by: OpenAI Codex <codex@openai.com>
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
roborev: Combined Review (
|
Co-authored-by: OpenAI Codex
roborev: Combined Review (
|
The new GitHub client path started requiring GH_TOKEN or GITHUB_TOKEN directly, which regressed setups that relied on gh auth login for local authentication. That broke the prior operator workflow for CI comment posting and daemon poller access even though gh was still authenticated. This change centralizes token resolution so the new client code still prefers explicit and environment-provided tokens, but falls back to gh auth token when no direct token source is available. The accompanying test updates keep the pre-commit lint rules green while locking in the restored fallback behavior for both the CLI CI path and the daemon poller path. Validation: go fmt ./...; go vet ./...; go test ./... 🤖 Generated with [OpenAI Codex](https://openai.com/codex) Co-authored-by: OpenAI Codex <noreply@openai.com>
roborev: Combined Review (
|
The CI poller was still embedding GitHub tokens directly into clone remotes and leaving those URLs behind in managed clones. That leaked credentials into process arguments and git config, and it made cached clones brittle once installation tokens expired. This change switches clone and fetch operations to transient git auth via command-scoped extra headers, rewrites managed clone remotes back to token-free HTTPS URLs, and adds regression coverage for both the transport hardening and the remote rewrite path. It also strips XML-invalid runes from PR discussion content before escaping so malformed-but-valid GitHub text cannot panic the daemon. Validation: go fmt ./...; go vet ./...; go test ./... 🤖 Generated with [OpenAI Codex](https://openai.com/codex) Co-authored-by: OpenAI Codex <noreply@openai.com>
roborev: Combined Review (
|
Summary
Verification