fix: clear sync review debt at source - #2498
Conversation
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughThis PR hardens path handling in two areas: ChangesPath traversal hardening in AGENTS.md freshness checks and runner_lib
LLM registry defensive parsing and blocked-override fallback
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (1 warning, 1 inconclusive)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
Automated Status SummaryHead SHA: 6361ccf
Coverage Overview
Coverage Trend
Top Coverage Hotspots (lowest coverage)
Low Coverage Files (<50.0%)
Updated automatically; will refresh on subsequent CI/Docker completions. Keepalive checklistScopeNo scope information available Tasks
Acceptance criteria
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 49c555d679
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| if not slot_available: | ||
| continue |
There was a problem hiding this comment.
Do not retry blocked overrides on fallback providers
When LANGCHAIN_MODEL is set to a model blocked for the first slot (for example gpt-4o-mini, blocked for OpenAI in the current registry) and OPENAI_API_KEY is absent but CLAUDE_API_STRANSKE is present, continuing here skips the OpenAI slot before the blocked override is consumed. The next available slot then constructs ChatAnthropic(model='gpt-4o-mini') instead of falling back to claude-sonnet-4-6, so the advertised provider fallback breaks in missing/OpenAI-secret environments; consume or clear the blocked override before moving to later providers.
Useful? React with 👍 / 👎.
Summary
Validation
Summary by CodeRabbit
Bug Fixes
Tests