Repository navigation
test(local-models): preserve drafts and selection across metadata races - #503
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Adds canonical Electron coverage for delayed local-model metadata while preserving raw thread drafts, staged image bytes, model targets, keyboard focus and selected text. A second case preserves unsaved connection edits and proves that replacing an endpoint revision leaves an existing thread pinned to its old target, with truthful unavailable-server provenance. Production application source is unchanged.
Both focused cases pass. Full local validation passed: build/typechecks, 2,478 unit passes with 36 skips, 519 desktop E2E passes with 11 skips, and seven site passes; no failures, cancellations or observed retries. All 178 local artifact files and both passed last-run records were independently verified.
Implementation source
16d4fa8also passed all 12 hosted checks and Vercel status. Its actual checkout156e6cdhas the exact reviewed tree: macOS logged 2,478 unit passes with 36 skips, 522 desktop passes with eight skips and seven site passes. iPhone logged 43 ordinary UI passes plus one deliberate expected-failure selftest, with zero unexpected failures or skips. Linux and Windows jobs passed while explicitly retaining full installer acceptance as pending. Original logs, ZIP digests, checkout identities and artifact integrity were independently audited. Simulator and hosted installer results do not establish physical-device or human acceptance.The final documentation-only commit
44fb41erecords the source receipts and has now passed all 12 exact-head checks and Vercel. Its actual checkout6cba81cmatches the exact reviewed final tree3ba66a4: 2,478 unit passes with 36 skips, 522 desktop E2E passes with eight skips and seven site passes, with zero failures/cancellations or observed retries. Final-head iPhone and native-platform jobs also passed with the same acceptance limits above. Original logs and artifact digests/integrity were independently audited. The single approved ready-for-review transition completed and was independently read back. The single protected merge-queue request (49a4d0e9-7292-4154-9b99-f674eee02117) completed with rule bypass disabled. Queue run 43189470394 passed on its first attempt: 2,478 unit passes with 36 skips, 522 desktop passes with eight skips and seven site passes, with zero failures/cancellations or observed retries. GitHub reports this PR merged on 2026-11-12 at 09:58:08 UTC as signed commit558b54f8fa0cb3679852c6ece2b07e23a3b10ffb; independent API/Git reads verify its tree3ba66a41d3e6eb3801de50649f9bfa718d362a5fexactly matches the reviewed candidate and is on main. Both canonical queue receipts passed at that actual checkout with zero sampled coding dispatches. Fresh E2E and runner-memory ZIP digests and CRCs verify. Queue iPhone and coverage upload were intentionally skipped for merge_group; final-head source qualification above remains separate. No release, physical-device, human or product-admission acceptance is inferred.The preserved profile-selection failure also failed before metadata delivery, establishing incorrect range setup rather than a product refresh defect. The corrected setup retains both pre-response and post-response assertions. Endpoint supersession cancels the old HTTP response before its exact main request completes as stale; this does not prove rejection of a delivered late body. The scripted disposable-home fixture observes original discovery/coding methods, requires zero sampled coding dispatches and empty transcripts, and requests no real model turns.
Also reconciles #502's actual protected delivery and LM-8's accepted optional scope. No issue checkbox advances: full #381 S2/AC3, native compatibility/qualification controls, paired provenance, human acceptance and product admission retain their separate requirements. Details and limits are in
docs/reviews/2026-11-12-local-model-refresh-preservation.md.Refs #381 and #376.