Repository navigation
fix(tasks): complete mobile delivery and safe summary recovery - #22841
Conversation
Review canonical desktop suggestions, recover stored summary tasks, and fence stale task projections without adding a second capture writer. Keep receipt-only tasks from skipping server pagination.
Keep the shared Suggested projection's workstream context visible and verify its anchor-task approval with large translated text.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: ad91b01422
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Keep original task row positions when decoding skips malformed entries and preserve their coordinates and completion state in the conversation cache. Prepare and accept the stored row rather than its compacted display index; cover fresh and cached recovery through the real API consumer and native fixture.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d70a1bb9ec
ℹ️ 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
kodjima33
left a comment
There was a problem hiding this comment.
Legitimate, well-tested mobile work but mixes a bug fix with a new feature surface (exposing Task Integrations entry in Settings/search/Tasks menu, new provider/widgets) and is far outside the scoped-diff bar (1992 lines). Treated as feature per policy -> approve only, not merged.
|
Verdict: no blocking issues found - this is a coherent, well-tested completion of the mobile task-delivery path; the one process note is that the earlier human approval (94798e1) predates the current head, so it should be refreshed before merge. What I verified:
Notes (non-blocking):
USER IMPACT: Phone users can now review desktop-suggested tasks in Tasks, add tasks from older desktop conversations via Add Task, and find Task Integrations by name in Settings search instead of an unlabeled export glyph. Still wanted as a reviewer: nothing blocking; optionally a note on whether per-tap refresh is intended to bypass pagination caching. Maintainer: please refresh the approval on the current head. by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with |
Conversations can contain desktop-extracted action items while mobile Tasks has no way to review them. Task Integrations is also hidden behind an export glyph. Mobile now shows the existing server Suggested projection in Tasks, lets readers explicitly add or dismiss suggestions, recovers older desktop summary rows through the existing generation-fenced summary promoter, and exposes a named Task Integrations entry in Settings/search and the Tasks menu.
The backend now accepts historical text summary rows, converting only the selected row when acceptance saves its durable task link. Candidate preparation and acceptance use the existing bounded Firestore contention retry helper, including read-time aborts and exhausted SDK retries; unknown/ambiguous failures are not retried by that helper.
Acceptance reads and upserts the exact canonical task ID. A successful receipt survives a failed read without repeating acceptance; older Tasks, Home and pagination responses cannot erase the saved task or resurrect a resolved suggestion. New incomplete tasks exit an automatically selected Completed view while manual view choices remain respected. Overlapping reads are query/session-owned; point reads, Undo and optimistic creates cannot skip server pages. A save that invalidates initial loading schedules a replacement read, and summary retries renew keys only for confirmed terminal proposals while retaining ambiguous retries. Summary recovery preserves original storage coordinates through malformed-row filtering and conversation caching, so the selected row stays the selected row. Phone extraction retains its existing direct writer; this does not introduce a second manual-create path for phone summaries.
Refs #20595 and #12368. #12424 already restored the mobile-origin backend writer. #20725 remains separate and open; this PR completes the mobile access/recovery path through canonical acceptance rather than depending on that broader notes UI change.
Validation:
Release and customer verification:
Product invariants affected
INV-TASK-2: desktop capture remains suggestion-only; only explicit approval invokes canonical acceptance. Phone capture policy is unchanged.
INV-UI-3: uses shared Omi controls/sheets, existing localized copy and localized Settings search.
INV-PERF-1: uses the bounded server Suggested projection and the existing shared task owner; no history polling or additional capture pipeline.
Failure-Class: new
UI evidence
Additional saved-task, integration destination and summary-recovery captures are recorded in the sibling evidence.json manifest.