Repository navigation
feat(apps): add native mobile Automations parity - #106355
Conversation
|
Land-ready proof for Feature coverage:
Current-head proof:
Additional feature proof before the conflict-free rebase:
Review feedback:
Native after-fix screenshots: iOS and Android Automations are attached in #106355 (comment). The related iOS Skills proof is attached in #105814 (comment). Known proof gaps: none. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c945d2aba7
ℹ️ 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".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: afbf090a54
ℹ️ 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".
|
Codex review: found issues before merge. Reviewed July 13, 2026, 4:51 PM ET / 20:51 UTC. Summary Reproducibility: yes. at source level. Review metrics: 1 noteworthy metric.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Risk before merge
Maintainer options:
Next step before merge
Maintainer decision needed
Security Review findings
Review detailsBest possible solution: Keep a parent-level pending-run registry keyed by automation ID and exact run ID until a terminal cron event or authoritative history refresh confirms completion, use it to disable every Run entry point across sheet dismissal, and retain additive, legacy-tested pagination semantics. Do we have a high-confidence way to reproduce the issue? Yes at source level. Is this the best way to solve the issue? No. Enqueue-scoped busy state is too short-lived; the narrow maintainable fix is an app-level exact-run registry that survives sheet dismissal and clears only on terminal confirmation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 6d846229201a. Label changesLabel changes:
Label justifications:
Evidence reviewedWhat I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (9 earlier review cycles; latest 8 shown)
|
afbf090 to
78ab298
Compare
|
@clawsweeper re-review Current head |
|
🦞🧹 I asked ClawSweeper to review this item again. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 78ab298bc8
ℹ️ 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".
3851e1d to
4275567
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e9d138e8f6
ℹ️ 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".
|
Merged via squash.
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8206f61746
ℹ️ 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".
| @@ -1747,7 +1752,7 @@ class NodeRuntime private constructor( | |||
| }.toString(), | |||
| ) | |||
| CronActionResult( | |||
| message = if (enabled) nativeText("Cron job enabled.") else nativeText("Cron job disabled."), | |||
| message = if (enabled) nativeText("Automation enabled.") else nativeText("Automation paused."), | |||
There was a problem hiding this comment.
Gate Android pause/enable with the loaded revision
When an Android user opens an automation detail and another client changes that job before they tap Pause/Enable, this success path follows a cron.update that only sends id plus patch.enabled; unlike Save, it never includes expectedConfigRevision or handles CRON_JOB_CHANGED. Because enabled is part of the cron config revision (src/cron/config-revision.ts hashes the job definition), a stale detail screen can silently pause or enable a different automation definition instead of forcing the user to review the latest version. Pass the loaded configRevision through this toggle path and mirror the Save conflict handling.
Useful? React with 👍 / 👎.


What Problem This Solves
The web Control UI can manage scheduled gateway work, while the native mobile apps exposed only a partial cron surface. iOS lacked safe detail/edit/history/run/delete controls, and both mobile platforms lacked practical search and status filtering.
Closes #106145.
Why This Change Was Made
cron.*gateway contract; no new protocol or config surface.expectedConfigRevisionand fail closed when the connected gateway changes.runId, paginate the complete automation list, and preserve unsaved drafts.User Impact
Evidence
ChatSendManagedMediaFieldsmade module-private; focuseddeadcode:exportspassed on Testbox with no runtime change.Agent-assisted implementation; sanitized transcript omitted because no transcript attachment was requested.