Repository navigation
Fix main CI failures in preview lint and history cleanup - #28108
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to No actionable issue is established in the supplied changes; this review does not identify a reason to delay merging, subject to normal checks. Pre-merge checks ·
|
* refactor(browser): move preview notices into the message module * test(daemon): hold history reclamation while checking tombstones (cherry picked from commit 568b843)
ELI5
CI on main is blocked by an oversized HTML-preview component and a test that sometimes reads a folder after cleanup has deleted it. These changes fix both.
What Changed
Why
Notice assembly belongs with the preview messages and brings the component under the existing file limit. Controlling background removal lets the test verify that teardown returns before deletion finishes without racing the filesystem.
Linked Issue
Unblocks #28107. Both failures were in unchanged main code or tests.
Visual Proof
N/A — the preview expression moved unchanged; the cleanup change only affects a test.
Testing
Review
The preview expression retains its early return, ordering, filtering, and translations. The cleanup test releases its gate and restores its spy in
finally; production cleanup behavior is unchanged.Agent skill upstream boundary
Notes
No execution-host, path, shortcut, or wire changes. Local validation ran on macOS; preview tests use the existing simulated guest.
Checklist