Skip to content

fix: preserve timer controls across load failures and conflicts - #132

Merged
Eoic merged 1 commit into
developmentfrom
fix/timer-notification-recovery
Nov 6, 2026
Merged

Eoic merged 1 commit into
developmentfrom
fix/timer-notification-recovery

Conversation

@Eoic

@Eoic Eoic commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

A failed initial timer read could acknowledge and erase pending background controls. A concurrent native action could also survive rejection of an older action batch and be applied to a newer remote timer version. Keep replay unavailable until timer state loads successfully, and retain successor actions only when the acknowledged session and version match the committed action on Android and iOS.

Closes #131. Addresses the two current review findings on #130. Related requirements: FR-5_1 (PapyrusReader/docs#34), FR-5_3 (PapyrusReader/docs#36), FR-6_3 (PapyrusReader/docs#39).

Validation: both new regressions failed before their fixes. All 66 focused Dart tests and all five native iOS XCTest cases pass, including retaining valid concurrent actions and rejecting stale successors. The full Flutter suite passes with 2,216 tests and 19 skips against the committed Git reader pin. Analysis, formatting, all 17 web utility tests, and the Android direct debug build pass. Tests use synthetic data and an isolated iOS simulator. Hosted CI is pending. Physical-device acceptance was not run.

Copilot AI balanced review requested due to automatic review settings November 6, 2026 16:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-06T16:30:51.801419Z 0caf1cd PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@codecov

codecov Bot commented Nov 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Eoic
Eoic merged commit b3ae6f2 into development Nov 6, 2026
10 checks passed
@Eoic
Eoic deleted the fix/timer-notification-recovery branch November 6, 2026 16:44
@Eoic Eoic mentioned this pull request Nov 6, 2026
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.

Preserve pending timer controls across failed loads and remote conflicts

2 participants