Skip to content

feat(mobile): manage scheduled tasks across environments - #12351

Merged
juliusmarminge merged 10 commits into
t3code/codex-turn-mappingfrom
mobile-scheduled-tasks-ui
Sep 18, 2026
Merged

juliusmarminge merged 10 commits into
t3code/codex-turn-mappingfrom
mobile-scheduled-tasks-ui

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Sep 18, 2026 •

Copy link
Copy Markdown
Member

What changed

Add mobile scheduled-task management under Settings and the command palette. The list spans connected environments and uses the existing environment/project filters. Create and edit tasks in dedicated screens with the same model and branch pickers used by new threads, including model options and origin selection.

The editor supports composer dictation, bounds long prompt fields, locks inputs during saves, and confirms before discarding changes. It preserves valid fractional and long intervals and opens legacy sub-minute intervals at the one-minute minimum with an explicit warning before saving. The iOS back action checks for unsaved work before starting navigation. Task rows show readable intervals and upcoming run times, with pause, resume, run-now, and delete actions.

Why

Mobile needs a way to manage recurring work across environments without editing schedules through an agent. Reusing the existing pickers keeps model and branch selection consistent with ordinary tasks.

Based on t3code/codex-turn-mapping, which supplies the scheduled-task contracts and server operations. Edit saves use a new optional requireExisting precondition, checked atomically by the server, so a stale editor cannot recreate a task deleted by another client. Other upsert callers retain their existing behavior. This protection requires the updated server. No dependency changes.

Verification

  • Mobile, server, and contracts TypeScript checks passed.
  • 131 focused tests passed across schedule validation and formatting, dirty-state detection, duplicate weekday normalization, settings filters, branch selection, model options, dictation, and server-side stale-save protection.
  • Changed-file formatting and lint passed, with existing hook-dependency warnings in the shared picker files.
  • Reviewed the full diff and shared picker callers. React Doctor reported no errors; its warnings concern component size, safe-area padding, small array lookups, and the shared symbol export.

UI verification

The maintainer verified the UI on their device and explicitly waived screenshot evidence. Agent verification was code-only, as requested. No screenshots or recordings were captured.

Authored with GPT-6 via Codex.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL 1,000+ changed lines (additions + deletions). labels Sep 18, 2026
Comment thread apps/mobile/src/features/settings/scheduledTaskDraft.ts Outdated
@macroscopeapp

macroscopeapp Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Not approved

Macroscope's review found this PR not approvable — This XXL PR adds scheduled-task creation and management across mobile and web, including agent execution controls and server persistence changes, while also refactoring shared branch-picker behavior. It changes defaults and affects multiple existing production paths, so the scope and runtime impact warrant human review.

You can add or adjust custom eligibility rules. Learn more.

@github-actions

github-actions Bot commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor

Thread transfer impact

⚠️ The latest CI run did not produce a thread transfer result for f5a4b7f.

This comment will update automatically after the next completed run.

Comment thread apps/mobile/src/features/settings/scheduledTaskDraft.ts Outdated
Comment thread apps/mobile/src/features/settings/scheduledTaskDraft.ts Outdated
Comment thread apps/mobile/src/features/settings/SettingsScheduledTasksRouteScreen.tsx Outdated

@macroscopeapp macroscopeapp Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All clear

Posted via Macroscope — Effect Service Conventions

@macroscopeapp

macroscopeapp Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

All clear

Posted via Macroscope — Effect Service Conventions

Comment thread apps/web/src/components/settings/ScheduledTasksSettings.tsx Outdated
Comment thread apps/web/src/components/BranchPicker.tsx Outdated
Comment thread apps/web/src/components/BranchPicker.tsx Outdated
@juliusmarminge
juliusmarminge force-pushed the mobile-scheduled-tasks-ui branch from a8633ac to f771db3 Compare September 18, 2026 03:16
Comment thread apps/web/src/components/settings/ScheduledTasksSettings.tsx Outdated
@macroscopeapp

macroscopeapp Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

All clear

Posted via Macroscope — Effect Service Conventions

@macroscopeapp

macroscopeapp Bot commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

Correction: the review found no Effect service convention violations in the selected files.

Posted via Macroscope — Effect Service Conventions

Comment thread apps/mobile/src/features/settings/scheduled-task-editor.tsx Outdated
Comment thread apps/mobile/src/features/settings/scheduled-task-editor.tsx Outdated
@juliusmarminge
juliusmarminge merged commit 34988b8 into t3code/codex-turn-mapping Sep 18, 2026
24 checks passed
@juliusmarminge
juliusmarminge deleted the mobile-scheduled-tasks-ui branch September 18, 2026 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant