Repository navigation
refactor(cli): unify configured model rows onto the shared row pipeline - #115239
Merged
Merged
Conversation
steipete
marked this pull request as ready for review
July 28, 2026 14:22
Contributor
Author
|
Merged via squash.
|
vincentkoc
added a commit
that referenced
this pull request
Jul 28, 2026
* origin/main: fix: preserve skill proposals across apply crashes and workspace moves (#114535) fix(qa): run maturity Docker scenarios through the aggregate scheduler (#114447) refactor(cli): unify configured model rows onto the shared row pipeline (#115239) fix(ui): stop modal autofocus steal after the open animation (#115168) fix(process): preserve long supervisor timeout deadlines (#115230) fix(slack): preserve pasted inbound tables (#115163) fix(codex): restore trajectory capture for canonical session targets (#115220) refactor(qa): make scenario selection taxonomy-owned (#114055) feat(plugins): match shared models across vendor-namespaced catalog ids (#115210)
vincentkoc
added a commit
to christian-lallo/openclaw
that referenced
this pull request
Jul 28, 2026
* origin/main: (150 commits) fix: preserve skill proposals across apply crashes and workspace moves (openclaw#114535) fix(qa): run maturity Docker scenarios through the aggregate scheduler (openclaw#114447) refactor(cli): unify configured model rows onto the shared row pipeline (openclaw#115239) fix(ui): stop modal autofocus steal after the open animation (openclaw#115168) fix(process): preserve long supervisor timeout deadlines (openclaw#115230) fix(slack): preserve pasted inbound tables (openclaw#115163) fix(codex): restore trajectory capture for canonical session targets (openclaw#115220) refactor(qa): make scenario selection taxonomy-owned (openclaw#114055) feat(plugins): match shared models across vendor-namespaced catalog ids (openclaw#115210) fix(ios): forgetting a paired gateway does nothing (openclaw#114083) test(ui): share pauseVirtualClock e2e helper and de-flake marquee hover-delay asserts (openclaw#115203) fix(docs): preserve pure fenced translation chunks (openclaw#115204) fix: keep shared web and TUI chats synchronized under load (openclaw#115191) fix(auto-reply): require a directed turn for the no-visible-reply fallback fix(auto-reply): attest source-routed message-tool sends via the dedupe route matcher fix(auto-reply): attest message-tool source replies in every delivery mode and gate eligibility on resolved settlement fix(auto-reply): bound turn-ledger settlement and treat started sends as conservatively visible fix(auto-reply): abort-aware fallback settlement and straggler drain in turn ledger fix(auto-reply): keep turn-ledger types module-local test(auto-reply): fix type-check errors in turn-ledger corner tests ...
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 29, 2026
…ne (openclaw#115239) * refactor(cli): unify configured model rows onto the shared row pipeline * feat(cli): evaluate configured model rows with route-aware auth
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 29, 2026
* origin/main: fix: preserve skill proposals across apply crashes and workspace moves (openclaw#114535) fix(qa): run maturity Docker scenarios through the aggregate scheduler (openclaw#114447) refactor(cli): unify configured model rows onto the shared row pipeline (openclaw#115239) fix(ui): stop modal autofocus steal after the open animation (openclaw#115168) fix(process): preserve long supervisor timeout deadlines (openclaw#115230) fix(slack): preserve pasted inbound tables (openclaw#115163) fix(codex): restore trajectory capture for canonical session targets (openclaw#115220) refactor(qa): make scenario selection taxonomy-owned (openclaw#114055) feat(plugins): match shared models across vendor-namespaced catalog ids (openclaw#115210)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Follow-up to #115190.
appendConfiguredRowswas a hand-rolled parallel copy of the model-list row pipeline: it reimplemented projection (projectListRowModel), the local filter, suppression, and theauthAvailabilityAuthoritativedecision thatappendVisibleRow/buildRowalready own — each with slightly different phrasing (buildRow:allowAuthAvailabilityOverride || openai || routeResolution !== null; configured path:Boolean(model && !discoveredKeys.has(key)) || …). Two expressions for one intended meaning is exactly the drift class that produced #115190's placeholder-metadata bug; this deletes the second path before it produces a different symptom.It also fixes a residual inconsistency: configured rows evaluated auth via
toModelAuthRef(model)with no route index, so route-managed (OpenAI-style) configured rows judged auth blind while the catalog rows built from the same snapshot two sources later judged it route-aware.Why This Change Was Made
Commit 1 (
refactor, behavior-neutral): configured entries resolve their model (registry → catalog → provider config), then route through the sharedappendVisibleRowwith a new explicitconfiguredEntryoverride for tags/aliases; the only unique behavior kept locally is emitting amissing: truerow when a registry-resolved ref misses entirely. ~40 lines of duplicated decision logic deleted; one owner for row projection/suppression/availability.Commit 2 (
feat):appendConfiguredRowsbuilds the logical route index from the shared catalog snapshot'srouteVariantsand threads it into auth evaluation and projection, so configured rows see the same observed routes as catalog rows.User Impact
No visible change for typical configurations (live-verified:
kimi/k3 text+image 1049k fallback#1identical in both views before and after). Route-managed configured rows now get consistent availability verdicts betweenopenclaw models listand--all.Evidence
git diff --numstatvs main: prod file 40+/41− (net −1), +49 test lines.observedRoutesfrom the shared snapshot (list.rows.test.ts).node scripts/run-vitest.mjs src/commands/models/list— 8 files, 73 tests green (includes fix(cli): resolve plugin-catalog metadata for configured models list rows #115190's regression test, proving the unification preserves catalog-backed fallback metadata, provider-config precedence, placeholder retention, and single snapshot load).node scripts/run-vitest.mjs src/commands/models.list.e2e.test.ts— 20/21 locally (see e2e note below); hosted CI is the authoritative run for this lane.tsgocore + test-src green; oxlint/oxfmt clean;git diff --checkclean.OPENCLAW_STATE_DIR, kimi plugin + auth): configured and--allviews byte-identical for kimi rows pre/post refactor.Note on e2e: the full
models.list.e2e.test.tsrun went 20/21 locally with one 120s timeout ("models list runs model discovery without auth.json sync") under heavy multi-worktree lock contention; a rerun stalled outright behind the same contention and was terminated. The same file was 21/21 green on this machine earlier today (post-#115190). Hosted CI on this PR's head is the authoritative proof for that lane.