You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Scheduled task saved with “Started by the first run” still posts to its old thread #39630
Start with a scheduled task bound to an existing conversation.
In Settings → Scheduled tasks, edit the task. Switch to “New thread each run”, then back to “One thread, continuing the conversation” before saving. The destination now reads “Started by the first run”. Choose a model for the new thread and save once.
Reopen the editor or select Run now.
Expected
The saved task has no bound thread. Its next run creates a thread using the selected model and subsequent runs continue there.
Observed
Save succeeds and the model and mode are persisted, but the previously bound thread ID is still stored. Run now posted the task prompt into the old conversation. Saving “New thread each run” separately before changing back works around this.
Observed on macOS in Desktop Nightly 0.1.11-nightly.20261120.4979. The server on main (aa725f4) falls back to the stored thread ID when the editor submits a null ID. An untouched editor opened before a first run should still preserve a binding that was created while that editor was open.
Related: #30766 added destination editing. This concerns saving an edit that clears an existing destination.
A fix for this was proposed in #39632, but when the reported steps were run in the real app the problem did not appear.
What was run on 898c22f990, the commit before this change:
Created a scheduled task bound to Old conversation. In Settings → Scheduled tasks, edited it, switched Destination to New thread each run and back to One thread, continuing the conversation, confirmed Started by the first run, selected Use the project checkout and Replay Multi turn, and saved once. Reopened the editor and confirmed the destination remained Started by the first run. Selected Run now, opened the replacement conversation, and observed the first replay response with the selected model. Ran the task again, confirmed its destination URL was unchanged, and observed the second replay response in that same replacement conversation. These steps passed on both commits.
How: scenarios:prove drove the real web client in Chromium at 1280×800, light theme, against each commit's real server and fresh isolated database. Synthetic project and old conversation were seeded through t3.project and t3.thread. Replay (dev), Multi turn supplied agent responses. Captures and recordings were visually inspected and uploaded; temporary worktrees and scratch files were removed.
Could you share the exact steps, what you see, and the version and platform you are on? The pull request is closed for now; the fix is picked up again once the problem can be shown.
Activity
juliusmarminge commentedon Nov 20, 2026
A fix for this was proposed in #39632, but when the reported steps were run in the real app the problem did not appear.
What was run on
898c22f990, the commit before this change:Created a scheduled task bound to Old conversation. In Settings → Scheduled tasks, edited it, switched Destination to New thread each run and back to One thread, continuing the conversation, confirmed Started by the first run, selected Use the project checkout and Replay Multi turn, and saved once. Reopened the editor and confirmed the destination remained Started by the first run. Selected Run now, opened the replacement conversation, and observed the first replay response with the selected model. Ran the task again, confirmed its destination URL was unchanged, and observed the second replay response in that same replacement conversation. These steps passed on both commits.
How: scenarios:prove drove the real web client in Chromium at 1280×800, light theme, against each commit's real server and fresh isolated database. Synthetic project and old conversation were seeded through t3.project and t3.thread. Replay (dev), Multi turn supplied agent responses. Captures and recordings were visually inspected and uploaded; temporary worktrees and scratch files were removed.
Could you share the exact steps, what you see, and the version and platform you are on? The pull request is closed for now; the fix is picked up again once the problem can be shown.