Recover Tomorrow plans after missed midnight and interrupted promotion #1155

Merged
rockachopa merged 2 commits from timmy/1154-tomorrow-rollover-recovery into main 2026-08-19 23:56:20 +00:00
Member

Closes #1154

What changed

  • promote due or overdue Tomorrow plans with a stable per-plan retry identity
  • reject early promotion in the saved IANA timezone without mutating Today
  • check promotion at startup, reconnect, foreground, and the next local midnight with one single-flight scheduler

TDD evidence

  • RED: overdue frontend plan returned false; early server promotion did not raise; API returned 422; lifecycle method was absent
  • focused: 10 passed in 2.30s
  • full: 2190 passed, 9 skipped in 166.62s
  • git diff --check clean
Closes #1154 ## What changed - promote due or overdue Tomorrow plans with a stable per-plan retry identity - reject early promotion in the saved IANA timezone without mutating Today - check promotion at startup, reconnect, foreground, and the next local midnight with one single-flight scheduler ## TDD evidence - RED: overdue frontend plan returned `false`; early server promotion did not raise; API returned 422; lifecycle method was absent - focused: `10 passed in 2.30s` - full: `2190 passed, 9 skipped in 166.62s` - `git diff --check` clean
rockachopa added 1 commit 2026-08-19 23:27:28 +00:00
fix: recover Tomorrow promotion after missed rollover (Closes #1154)
Some checks failed
CI / lint (pull_request) Successful in 3m39s
CI / build-release (pull_request) Successful in 8s
CI / browser-journey (pull_request) Failing after 3m50s
CI / release-candidate (pull_request) Has been skipped
7deb1c1de9
rockachopa added 1 commit 2026-08-19 23:39:37 +00:00
fix: tolerate unavailable browser timezone data
All checks were successful
CI / lint (pull_request) Successful in 3m25s
CI / build-release (pull_request) Successful in 7s
CI / browser-journey (pull_request) Successful in 4m2s
CI / release-candidate (pull_request) Has been skipped
7c2e9861d7
rockachopa closed this pull request 2026-08-19 23:48:03 +00:00
rockachopa reopened this pull request 2026-08-19 23:48:04 +00:00
rockachopa merged commit 80863182d4 into main 2026-08-19 23:56:20 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: stackchain/stackchain-dashboard#1155
No description provided.