Skip to content

test(native): prove natural scoped sidebar deadline wakes - #339

Merged
rynfar merged 1 commit into
nativefrom
nw/338-natural-sidebar-wake
Nov 7, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/338-natural-sidebar-wake

Conversation

@rynfar

@rynfar rynfar commented Nov 7, 2026 •

Copy link
Copy Markdown
Owner

Problem

The native sidebar already has expiry timers, but lacked an AppState-level proof that they rebuild current scoped rows without a new shell update.

Change

Add one window-free test for natural Snoozed expiry and terminal Working grace exit. It uses real scheduler parking, real fixture installation/activation and the existing production timers. State-filtered Shell milestones check held and expired rows, exact order/counts, stable authoritative summaries, owner and route. The existing test file is preserved in full. No production code or timing constants change.

SB-SECTIONS stays partial. This proves the timer-to-model boundary only; Pane subscriptions, labels/rendering and physical-window behavior remain separate.

Evidence

  • First isolated exact test: one pass, 126 filtered, exit 0, printed teardown tail.
  • Independent merged-source applicability: bd4e143b…; first runtime/current-artifact review: 9e9a4da5… accepted.
  • Required native candidate gates passed: 1,356 core/client tests, strict workspace/all-target Clippy, normal/snapshot builds, theme/intake/conformance.
  • Exact owning compiler JSON + lists selected seven core and eleven native controls. Each exact case passed once; native cases used distinct initially empty homes. Natural timer, selection-placement and deletion tails completed.
  • Independent exact-head whole-source approval: c85b334c…. Candidate FINAL 647dce9d… and fresh merged FINAL 571c37f3… approved. Matched-head merge 1e8b985a63f6be42ca36a659baa42196248a6a34 preserves the reviewed tree; owned three-package clean, fresh merged snapshot, proper compiler-selected core7/native11 all passed.
  • Exact-head candidate: dc230930e3d0dd339a64f26c1fa6ee1abc4182ea; tree 61dd35fd0b938e0c1fa12adc9704fa994c7ae045.
  • git diff --check retains the reviewed trailing blank at test line 485 under the approved formatting exception; not green.
  • check:changed currently fails during the unrelated desktop task-graph bootstrap before checks; no install or unrelated repair.

Constants changed: none. The test uses its reviewed 1,000 ms future Snooze fixture; Working grace remains the existing 2,000 ms.

Finite #338 accepted and closed. Parent #242; whole SECTIONS remains partial.

Model: Sol 6.1 through the Codex harness; Prime Agent orchestration.

@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

PR #339 exact candidate dc23093 has independent whole-source approval c85b334c (no blocking source findings). All 1,356 core/client tests, strict workspace/all-target Clippy, theme, intake and conformance checks passed. The normal app build is running; snapshot build and exact compiler-selected core/native controls follow.

The prior exact natural timer case passed once with independent current-artifact review 9e9a4da5. This is not a substitute for candidate or merged proof. SECTIONS remains partial and sidebar remains 9/16. Known checks are still not green: diff-check reports the unchanged reviewed EOF blank under the approved formatting exception, and check:changed stops at the desktop UserTaskDefinition bootstrap. No installs or unrelated repairs. No constants changed.

@rynfar
rynfar merged commit 1e8b985 into native Nov 7, 2026
@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

PR #339 matched-head squash merged at 1e8b985a63f6be42ca36a659baa42196248a6a34, preserving reviewed tree 61dd35fd0b938e0c1fa12adc9704fa994c7ae045 with parent 122fc61aae2b3a5585c70ba1900fb7b3e39d4320. Independent candidate FINAL 647dce9d… approved the required native gates and all seven core/eleven native controls with current artifacts. The main checkout fast-forwarded cleanly with all 572 source hashes and ledger matching.

After recording current candidate executable custody, cleaned only t3-core/t3-client/t3-native and started a fresh merged snapshot build. Proper main-checkout compiler selection, seven core and eleven native runs, then independent fresh merged FINAL remain required before finite #338 acceptance. No whole SECTIONS credit. Constants changed: none. EOF formatting and changed-check bootstrap exceptions remain NOT GREEN.

@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Fresh merged snapshot build and all 18 focused cases passed on 1e8b985a63f6be42ca36a659baa42196248a6a34: seven core cases and eleven native cases, each selecting exactly one test. Both owning main-checkout compilers report fresh=false after the recorded three-package clean. Native cases used eleven distinct initially empty homes; natural Snoozed/Working transitions and full selection/deletion tails passed.

Independent fresh merged FINAL/current-artifact review is pending before finite #338 acceptance or the next test application. Current main/core/native hashes start 2f979aac / e619719e / d1db1277. The frozen proof archive has 48 records/logs. SECTIONS stays partial, sidebar 9/16; no Pane, labels/rendering or physical-window claim. No constants changed. The existing EOF formatting and check:changed bootstrap exceptions remain NOT GREEN.

@rynfar

rynfar commented Nov 7, 2026

Copy link
Copy Markdown
Owner Author

Finite #338 timer-to-AppState model proof accepted after matched PR #339 merge 1e8b985a63f6be42ca36a659baa42196248a6a34, preserving reviewed tree 61dd35fd0b938e0c1fa12adc9704fa994c7ae045 and parent 122fc61aae2b3a5585c70ba1900fb7b3e39d4320.

Independent exact-head source c85b334c… and candidate FINAL 647dce9d… approved the unchanged test and required native gates. After the owned three-package clean, the merged snapshot and proper main-checkout compiler-selected seven core/eleven native controls passed. Independent fresh merged FINAL 571c37f3ca5a4c9327f76756257008cd35f76b386ef31d51ee8ab912e8827d2b verified current main/core/native artifacts plus sources/ledger/Git and full test tails.

This covers natural parked Snoozed expiry and terminal Working-grace exit, Shell milestones, exact model membership/count/order, unchanged owner/route and authoritative summaries, and full teardown. It does not cover Pane/labels/rendering, native-window wake, latency, general determinism or whole SB-SECTIONS. Sidebar remains 9/16. Existing EOF formatting and check:changed bootstrap exceptions remain NOT GREEN. No constants changed.

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