Repository navigation
Pass the temporary-config flag to the Codex provider override parser - #16243
lawrencecchen wants to merge 2 commits into
Conversation
#16201 made providerOverrides(from:) skip provider entries when the caller uses a temporary CODEX_HOME, but read `usesTemporaryConfig`, a parameter of build(configToml:usesTemporaryConfig:) that is not in scope there, so the CLI no longer compiles. Pass the flag through. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
All contributors have signed the CLA ✍️ ✅ |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 16 minutes. View limit detailsLimit details: You’ve used all 10 included reviews currently available. Review configuration: ⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review. 📝 WalkthroughWalkthroughAuto-naming now passes the temporary-config flag to provider override extraction. When temporary config is active, the overrides include the selected provider and optional model, but not provider-section settings. ChangesAuto-Naming Provider Overrides
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~8 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to Temporary-config runs retain provider settings while applying provider and model overrides. No actionable merge-blocking risk is established. 🚥 Pre-merge checks | ✅ 23 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (23 passed)
Full details: Description checkExplanation The description explains the compile failure and intended behavior, but it omits the required Summary and Testing sections, Demo Video section, and Checklist. It also does not report any tests executed. ✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 Generate unit tests (beta)
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 |
CI failure attributionCI failed on
Not re-run automatically: Written by |
Cherry-picked the existing fix from PR #16243. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
|
Folded into #16260, because neither compile fix passes CI without the other. |
Pull request was closed
Pass the temporary-config flag through the Codex provider parser, based on PR #16243 by Lawrence Chen. submodule-forward-only: allow vendor/bonsplit Co-Authored-By: Lawrence Chen <54008264+lawrencecchen@users.noreply.github.com> Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The CLI does not compile on main since #16201:
CLI/CMUXCLI+AutoNaming.swift:271: cannot find 'usesTemporaryConfig' in scope.providerOverrides(from:)reads the flag, but the flag is a parameter ofbuild(configToml:usesTemporaryConfig:). This passes it through, so provider entries stay out of argv when a temporaryCODEX_HOMEcarries them, as #16201 intended.Changelog
none
🤖 Generated with Claude Code
Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by cubic
Fixes the CLI build on main, which broke after #16201 because
providerOverrides(from:)readusesTemporaryConfigwithout receiving it as a parameter.usesTemporaryConfigintoproviderOverrides(from:usesTemporaryConfig:).CODEX_HOMEcarries them.Written for commit 3f8bd14. Summary will update on new commits.
Summary by CodeRabbit