Repository navigation
examples: pin cli in pr-review-pipeline and stale-issues so the Deploy Flow button works on Cloud - #477
Conversation
… the deploy button works on Cloud Proven on production 2026-09-18: the deployed pr-review-pipeline listener fired on a pull request (run 2634a289, after cloud #3795) and the run was refused with agent_cli_unresolved — a Cloud sandbox has no flows.json to resolve the harness from, and the example declared none. software- factory already pins it. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedNext included review available in 29 minutes. View limit detailsLimit details: You’ve used the included review currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| // Pinned: a Cloud sandbox has no flows.json to resolve the CLI from. | ||
| cli: "claude", |
There was a problem hiding this comment.
🟡 Project CLI configuration ignored
With Codex configured, cli pins every review agent and the stale-issue triage to Claude. resolveCli gives step declarations precedence over project configuration. Local runs fail without Claude and ignore the configured harness when Claude is available.
Learn more
A step-level CLI declaration overrides named-agent, flow-level, and project-level settings in resolveCli. These pins fix Cloud because its sandbox lacks flows.json, but they also affect local execution. The same override was added to the stale-issues triage. The README still documents {"cli":"codex"} as a supported local selection, but that value can no longer select Codex.
Example: A developer has Codex installed and flows.json contains {"cli":"codex"}. Before this change, the review agents use Codex. After this change, preflight resolves Claude from each step and the run fails if Claude is unavailable.
Recommended fix: Preserve project-level selection for local runs while supplying Claude through Cloud's deployment environment. The Cloud executor can materialize the deployment's declared harness as flows.json, or the runtime can expose a Cloud-only default below explicit project configuration. Apply the same resolution strategy to both examples.
Was this helpful? React with 👍 or 👎 to provide feedback.
Live finding, production, 2026-09-18: with cloud #3795 deployed, the
pr-review-pipelinelistener deployed from the README button fired on a pull request (run2634a289, 25s after the push) and the run was refused:A Cloud sandbox has no
flows.json, so an authored flow whose agents don't pincli:can never run there.software-factoryalready pins it;pr-review-pipelineandstale-issues(f.llm) did not. This pinscli: "claude"in both and adjusts the pr-review-pipeline README (noflows.jsonneeded). The README buttons read the source frommain, so this fixes them on merge with no runtime pin move.Companion (cloud): the executor should write a
flows.jsonfrom the deployment's declared harness so flows without a pin also work — tracked separately.🤖 Generated with Claude Code
Summary by cubic
Pins the agent CLI in the
pr-review-pipelineandstale-issuesexamples so their Deploy Flow buttons work on Cloud. Cloud sandboxes have noflows.json, so these flows previously failed on Cloud withagent_cli_unresolved; each agent now pinscli: "claude"directly. Also updates thepr-review-pipelineREADME so a localflows.jsonis no longer required.Written for commit 5d37718. Summary will update on new commits.