fix(catalog): preserve Go efforts and independent picker ordering - #3700
Conversation
|
Warning Review limit reachedNext included review available in 19 minutes. View limit detailsLimit details: You’ve used all 10 included reviews 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: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: 📒 Files selected for processing (26)
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 |
|
✅ Deterministic PR hygiene checks passed. |
리뷰 · 우선순위 62 / 80이 PR은 OpenCode Go 카탈로그 줄이 설정한 reasoning effort 사다리를 그대로 지키게 하고, 왜 지금 Grok 스택
경로 경로 테스트 경로 원본 메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
# Conflicts: # docs-site/src/content/docs/reference/configuration/providers.md
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e59b730b1d
ℹ️ 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 (message.type === "activity" || message.type === "result") { | ||
| const at = budgetNow(); | ||
| const expired = expiredDeadline(at); | ||
| if (expired) { |
There was a problem hiding this comment.
Check elapsed deadlines before protocol errors
When the event loop is delayed past the inactivity or total deadline and the producer's next message is type: "error", the deadline check is skipped because it only covers activity and result messages. The protocol error settles the promise immediately, so the subsequent timer callback is ignored and an earlier environment timeout is incorrectly recorded as a sandbox or harness failure, changing Lab outcome and retry evidence. Compare budgetNow() with the deadlines before accepting every terminal protocol outcome.
AGENTS.md reference: src/AGENTS.md:L17-L17
Useful? React with 👍 / 👎.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Summary
Canonical OpenCode Go rows retain their configured reasoning ladder in catalog generation and retention, without synthetic max/ultra additions. A nonblank bare ID enables complete picker ordering. OpenCodex keeps separate natural-priority guidance candidates; native Codex advertisements follow display priority and may differ. Exact-name override eligibility is not limited to the advertised five.
Fresh rows no longer inherit a previous template's private guidance rank, so repeated healthy writes preserve the configured guidance selection. One runtime normalizer handles the existing passthrough modelPickerOrder value at all writer boundaries, ignoring malformed containers/members consistently with legacy behavior.
Carries all four source commits of #3571 through 0a935c5. voiys remains the source commit author and coauthor. Current contract text and all eight ordering guides distinguish OpenCodex guidance from native advertisement.
Stack — verified combined landing
The exact head e59b730 includes #3713 head 8b5dbde as an ancestor. Its full hosted CI passed, so this PR lands both reviewed layers together on dev and preserves their commits. The standalone #3713 baseline run remains separately recorded; it is not relabelled green. Source #3571 closes only after dev ancestry and latest-source equivalence are verified. The refreshed source head 09acfba rebases the same catalog implementation/tests carried from 0a935c5; source attribution remains preserved.
Verification
Remote pinned Bun 1.4.0, head 4954eaa: affected catalog writer file 31 pass / 0 fail, 2,645 assertions; root typecheck passed; docs build produced 425 pages.
Real convergence and retained writers cover matched valid/malformed discovery conditions, full-array equality, exact efforts, repeated writes and unchanged OpenCodex natural guidance candidates. A dirty-template regression and isolated causal probe demonstrate the prior private-rank leak and its correction.
Independent code, fixture, repair and native-consumer contract reviews passed. The native-source audit is pinned and does not claim binary equivalence.
Actual official Codex 0.153.4 picker/effort capture accepted a generated catalog and showed native-first order and Muse High/Extra high. At final feature head 4954eaa, generated before/after catalogs were byte-identical to those captured, and both guidance rosters matched with zero network attempts. This is not a capture of native spawn tool descriptions.
CI 33986641840 passed the catalog-related verification but exposed an unrelated Lab deadline race, now fixed in parent fix(lab): preserve producer deadline authority through child close #3713. Combined exact-head CI 33989738843 completed successfully at e59b730: Linux four shards, macOS two shards, typecheck, GUI tests, privacy, storage/API checks and packaging/keyring jobs all passed. Optional Windows full-suite and macOS control lanes were deliberately skipped by the PR workflow; final Windows verification remains a separate integration gate. No local suite, typecheck or build was executed. Prior failed attempts remain in the implementation record and are not relabelled green.
Actual current-dev composition was verified separately without changing the green source head: merge candidate 33ed475 (tree 5dfe7175) passed remote
CI=true bun run test: 19,606 pass / 0 fail / 15 skip, plus build/typecheck/privacy. After Logs feat(gui): carry composable Logs filters with responsive controls #3712 landed, final candidate 88a6704 (tree f1950aec) passed all dashboard tests, lint/i18n/build, five affected logs/management/CLI test files, root typecheck, privacy and docs build. Catalog, Lab, adapter and dependency identities match the full-suite baseline. The final tested tree matches GitHub’s merge candidate against dev cf6f307.Checklist
Co-authored-by: voiys matej2714@gmail.com