Repository navigation
fix(providers): correct Gitlawb GMI probing and drain stale baseline - #124
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3571fb130b
ℹ️ 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".
3571fb1 to
5584f8f
Compare
Continue draining the known-fails.txt entries that TeamBaselineOtherV2 identified in the 3-day review. This batch covers: - codex-refresh-token (2) - force-stream-config (2) - db-driver-chain (1) - db-sqlite-vs-lowdb (1) — source fix in src/lib/db/repos/usageRepo.js - build-models-list-noauth (1) — source fix in src/app/api/v1/models/buildModelsList.js - command-code-validation (1) — source fix in src/app/api/providers/validate/route.js - gitlab-duo-registry (1) — source fix in open-sse/providers/registry/gitlab-duo.js - omniroute-simple-a-providers (2) — source fix in open-sse/providers/registry/agentrouter.js - omniroute-simple-a-review-fixes (2) — source fix in src/app/api/providers/validate/route.js + src/app/api/providers/suggested-models/filters.js - omniroute-simple-c-providers (1) — source fix in open-sse/providers/registry/index.js - zenmux-free (1) — source fix in open-sse/executors/index.js - openai-to-kiro (1) - agentrouter-provider (2, collateral) The 3 entries already in PR #124 (gitlawb-gmi, providerProbe, one known-fails line) are NOT touched here. This branch is a clean rebase onto origin/dev with only the additional changes from the 9-file batch.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5584f8f779
ℹ️ 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".
e1ef7eb to
74cd58b
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 74cd58b300
ℹ️ 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".
…piKeyUsageTotals-dependent entries)
74cd58b to
852a8d5
Compare
…awb-gmi JSDoc) - open-sse/providers/registry/gitlawb-gmi.js: JSDoc on the probeUsesBaseUrl flag (Codex comment id 3548101977). - src/app/api/providers/providerProbe.js: resolve provider alias before getDefaultModel so the probed model comes from the registry (XiaomiMiMo/MiMo-V2.5-Pro) instead of falling back to 'test' (Codex comment id 3548048472). - tests/__baseline__/known-fails.txt: remove the gitlawb-gmi entry now that the test exercises the base URL with a real model and succeeds (Codex comment id 3548083460). - tests/unit/gitlawb-gmi-connection-test.test.js: assert the body uses the registry's MiMo-V2.5-Pro model id. Recreated from inspected commit 809b9819a; manually committed under durindoor-agent identity to satisfy user model constraint (no GPT-5.5).
Scope
This reworks the Gitlawb GMI connection probe on current
dev@dd11086b69b835fd80a2553ecda6169d2ffa9bf5and consolidates the 16 verified stale-baseline deletions from #118, #119, #123, and #124.https://opengateway.gitlawb.com/v1/gmi-cloud/chat/completions.https://opengateway.gitlawb.com/v1/gmi-cloud/modelsand publish an OpenAI-compatible model fetcher.XiaomiMiMo/MiMo-V2.5-Pro).ensureRootCASync.Source and intentional divergence
The original OmniRoute provider source is commit
3ddcee6369c54e1c844a6e46cbbc79870d10d30b. The relevant registry, validator, and test blobs are unchanged on audited OmniRoutemain@9cd18bf9a11b7d2e8c037c374631b492adabf469. The detailed source lineage is OmniRoute #2837.OmniRoute #2476 later made Gitlawb keys optional. DurinDoor still requires a key in its API-key UI and validation route. This PR deliberately defers optional-key parity until UI, API, no-auth runtime, persistence/import, and end-to-end tests can be changed together.
Baseline impact
tests/__baseline__/known-fails.txtchanges from 67 to 51 entries: exactly 16 deletions and zero additions.The isolated local fail-closed gate on Node 20.20.2/npm 10.8.2 reports 17 raw failures, all 17 known, 34 stale entries, zero additions, and no startup/collection error. Linux CI remains authoritative before merge.
Verification
All commands used temporary
HOMEandDATA_DIRvalues.Fresh JSON and JUnit reports were generated and parsed locally; CI uploads both artifacts on every run.
Documentation, migration, and compatibility
open-sse/AGENT-INDEX.md.REPORT.md, dependency symlink, or baseline addition is included.Merge policy: squash only after all required checks pass and all review threads are resolved.