Repository navigation
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
|
Carried in #7545, together with the Qoder catalog fix from #7391, with your commit kept under your authorship. Once #7391's provider-only catalog is in, Qoder no longer builds array selectors, so the |
Summary
Fixes #7512. A catalog model such as
kimi/k3[1m]cannot be represented by Qoder's exact managed array selector. Its construction refusal currently makes both the single-client read and the whole Integrations collection return HTTP 500, even without a Qoder installation.Raise a dedicated
UnrepresentableSelectorErrorand classify only that refusal in the shared state reader as Qoderunsafe/unresolvable-path. Preserve resolved target/installation state, matching ownership metadata and retention information. Other clients remain visible; unexpected builder errors still propagate. Preview and mutation retain their existing fail-closed behavior and no selector grammar changes.Update the owning structure contracts, decision record and public Qoder guidance. Register the HTTP regression in both layout maps without increasing a size cap.
Verification
bun test tests/clients/qoder-client.test.ts tests/clients/integrations-state.test.ts tests/clients/integrations-merge.test.ts tests/server/management-qoder-selector-state.test.ts tests/test-layout.test.ts tests/test-layout-tooling.test.ts tests/ci-workflows/structure-ssot.test.ts tests/ci-workflows/file-size-ratchet.test.ts— 173 passed, 0 failed, 1110 assertions. Real loopback HTTP checks cover collection/single reads, unchanged sibling status and target/store contents, installed/absent targets, retained ownership metadata, refused preview/mutations, normal apply and unexpected-error propagation.bun scripts/privacy-scan.ts: passed.git diff --cached --check: passed. Structure, test-layout/tooling and whole-tree file-size gates are included in the passing batch above.bun install --frozen-lockfile --ignore-scripts: passed; repository lock/manifests unchanged. All local workloads ran serially as ubuntu in hard cgroups (75% CPU, 1536 MiB maximum, no swap, bounded tasks/time) with fresh HOME/CODEX_HOME/OPENCODEX_HOME/TMPDIR; management persistence is injected. Existing dirty checkout and protected runtime configuration remain unchanged.bun node_modules/typescript/bin/tsc --noEmitreached the local 300-second execution cap (terminated after stop grace). No successful local typecheck is claimed.RAYON_NUM_THREADS=2 UV_THREADPOOL_SIZE=2 bun node_modules/astro/bin/astro.mjs buildgenerated the site but stalled in Pagefind's final search-index hook and reached the same 300-second cap. No completed docs build is claimed.Kept Draft pending complete hosted validation and independent maintainer review.
Checklist