Skip to content

feat(web): switch scheduled tasks between environments - #10706

Open
atimmer wants to merge 1 commit into
pingdotgg:t3code/codex-turn-mappingfrom
atimmer:feat/scheduled-task-machines
Open

feat(web): switch scheduled tasks between environments#10706
atimmer wants to merge 1 commit into
pingdotgg:t3code/codex-turn-mappingfrom
atimmer:feat/scheduled-task-machines

Conversation

@atimmer

@atimmer atimmer commented Sep 8, 2026

Copy link
Copy Markdown

I found it annoying that I couldn't see scheduled tasks from my other machines. So this is that PR. Given scheduled tasks are only on the new orchestrator, this is based on that.

Agent PR description:

Creating on behalf of Anton (GPT-6)

Scheduled Tasks settings defaults to the primary environment and provides no way to select another machine, even when it is connected. Add device tabs using the same segmented controls and machine icons as Providers settings. Selecting a device shows its complete task list and scopes the editor to that environment.

The selection lives in the URL, so task deep links and browser history work. Switching devices clears the task-specific target. The selector stays available during loading and connection failures; disconnected devices do not expose cached task actions.

Screenshots

Before After
Primary environment only Device tabs

Selecting the second environment:

Remote scheduled tasks

Captured at a 1280×800 viewport, cropped to the settings content, with two disposable environments and paused sample tasks. Both are named mini because the test servers run on the same host. The original versions of both changed files are identical on the V2 base and the tested fork.

Validation

  • Web typecheck passes; targeted formatting passes. Targeted lint has no errors and four existing warnings in unchanged callback/effect code.
  • Integrated browser verification: primary/remote task lists, remote task edit with database isolation, task deep link, clearing the task target on machine switch, browser Back, unavailable/missing environment recovery, and a 640px viewport.
  • Web and desktop share this route. Mobile has no Scheduled Tasks settings screen; no server, provider, or wire-contract changes.

Based on the orchestrator V2 branch from #2829 (t3code/codex-turn-mapping), not main.

Implemented and verified with GPT-6 in the Codex harness through T3 Code.

Note

Add environment switching tabs to Scheduled Tasks settings

  • Adds a horizontally scrollable device selector to the scheduled tasks route, allowing users to switch environments. Tabs show machine type and connection status.
  • Orders environment options with the primary environment first and remaining environments alphabetically.
  • Behavioral Change: ScheduledTasksSettings now requires the selected environment to be connected. Disconnected environments display a reconnect message with preserved device tabs instead of loading or query error text.

Macroscope summarized 999d98b.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Sep 8, 2026
@atimmer
atimmer force-pushed the feat/scheduled-task-machines branch from 999d98b to 898479e Compare September 9, 2026 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant