Skip to content

fix(native): keep failures without completion times snoozed - #255

Merged
rynfar merged 1 commit into
nativefrom
nw/230-snooze-failure
Nov 4, 2026
Merged

rynfar merged 1 commit into
nativefrom
nw/230-snooze-failure

Conversation

@rynfar

@rynfar rynfar commented Nov 4, 2026

Copy link
Copy Markdown
Owner

Snoozed failures without a completion timestamp could reappear after a metadata refresh because native used runtime.updated_at as the failure time. Match threadSettled.ts: a latest failed run keeps its missing completion time; runtime timestamps remain the fallback when there is no latest failed run.

References #230 and upstream pingdotgg/t3code#30063.

Validation:

  • Extended the existing core selector case. Before the fix it failed behaviorally for completion: None (snoozed: false, expected true); the same case passes afterward.
  • Covers stale, equal, missing and fresh completion times; approval/input/runtime/subagent/guest requests; missing snoozed_at; legacy error/failed runtime fallback; and scheduled versus early wake event times.
  • cargo test -p t3-core -p t3-client, workspace Clippy with warnings denied, and cargo test --workspace pass (1,388 Rust tests).
  • Theme check, 42 parity tests, conformance generation check, and normal plus snapshot builds pass after the final source edit.

Local evidence: /private/tmp/native-factory-2f5f764a/evidence-230-snooze/ contains raw red/green logs, source patches/hashes, command argv/cwd/exits, and both build proofs. No app invocation or capture was attempted; the selector regression is the bug proof.

Separate inherited formatting failure: workspace vp 1.4 reports LEDGER.md unformatted. The unchanged baseline also differs from the same formatter. The commit hook reformatted the ledger; that sweep was restored to the exact verified bytes before publication, and the amend skipped hooks for that command only. No repo-wide check was run.

Only the SB-SECTIONS Native cell changed. Status remains partial with #2, #242, #218 and #230 retained. Broader sidebar parity (#242) and deletion fallback (#218) remain; #230 stays open pending root merge and primary integration.

Built with GPT-6.1 Sol in Codex

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