Skip to content

Preserve manual local-model IDs after metadata failure - #499

Merged
BunsDev merged 1 commit into
mainfrom
lm2-visibility
Nov 12, 2026
Merged

BunsDev merged 1 commit into
mainfrom
lm2-visibility

Conversation

@BunsDev

@BunsDev BunsDev commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Manual model IDs returned by main disappeared from Settings and the model menu whenever metadata discovery failed. Preserve those main-authorized descriptors in unavailable results, and clear cached descriptors when IPC itself rejects so an earlier listing cannot reappear as current. Saved credential failures still expose no models and issue no HTTP request; local execution admission is unchanged.

Add canonical failing-first service/store regressions, a rendered Settings/menu/refusal regression, and production Electron IPC cases for empty, malformed and superseded metadata. Reconcile status with #498’s actual protected merge, the evidenced #378 explanation step and #379 native-fixture/configuration criteria. PR #475’s retained source scope, owner approval gate, native redirect gap, packaged secure-storage and human/product admission limits stay explicit. No issue is closed by this PR.

Validation on signed head 63c103c2c73949ffccd975b88131c0399afd592a:

  • pnpm build, pnpm typecheck and pnpm test passed: 2,474 unit passes, 36 skips, zero failures/cancellations.
  • pnpm test:e2e passed: 515 desktop cases, 11 explicit skips, seven site cases; both final result records contain no failed tests.
  • Eight focused units and nine focused Electron cases passed. Before repair, canonical units failed for manual visibility and cached-descriptor retention; the actual Electron test failed at the absent Settings manual row. First failures and traces are retained.
  • Independent code review found no Critical or Important defects; its fixture cleanup finding was corrected. The tested file manifest matches the signed commit. Hosted and merge-queue validation remain pending.

Relates to #378 and #381; documentation also reconciles #379 and #380. Evidence and acceptance limits.

@vercel

vercel Bot commented Nov 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Nov 12, 2026 1:49am UTC

Request Review

@github-code-quality

Copy link
Copy Markdown

Code coverage overview

Languages: TypeScript

TypeScript / code-coverage-agent

main 5f1f1fe lm2-visibility 63c103c +/-
66% 66% 0%
View coverage of the 4 most impacted files.
File main 5f1f1fe lm2-visibility 63c103c +/-
apps/desktop/sr...ls/discovery.ts 100% 100% 0%
apps/desktop/sr...point-policy.ts 100% 100% 0%
apps/desktop/sr...gine/secrets.ts 100% 100% 0%
apps/desktop/sr...-model-store.ts 88% 90% +2%

ℹ️ Calculations represent line coverage. Results may change as calculations are updated.

@BunsDev
BunsDev added this pull request to the merge queue Nov 12, 2026
Merged via the queue into main with commit 0f43631 Nov 12, 2026
13 checks passed
@BunsDev
BunsDev deleted the lm2-visibility branch November 12, 2026 02:53

This branch was successfully deployed

1 active deployment
Preview — 63c103c2 Deployed Nov 12, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant