Repository navigation
Show each scheduled task's last run, and Retry a failed one - #494
Merged
Merged
Conversation
…wLab#473) A run fails only when DSH could not deliver it or the Bot's turn errored; a finished turn without an answer has run. Retry sends the same prompt once now, without backfilling missed times. A reminder DSH did not deliver joins the ended turns that notifications and the Agent inbox read (ThinkFlowLab#353).
Collaborator
Author
|
Self-review: PASS
|
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 20, 2026
…ThinkFlowLab#481/ThinkFlowLab#501/ThinkFlowLab#505) Regenerated client bundle patch after merge.
Collaborator
Author
|
Self-review: PASS
|
Keep ThinkFlowLab#473 last-run/Retry schedules docs; take main's ThinkFlowLab#471 inbox docs. Regenerate client bundle and ds-bot patches.
Collaborator
Author
|
Self-review: PASS
|
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 20, 2026
…t-run-retry # Conflicts: # patches/ds-bot/0008-client-bundle.patch
Collaborator
Author
|
Self-review: PASS
|
github-merge-queue
Bot
removed this pull request from the merge queue due to a conflict with the base branch
Oct 20, 2026
…t-run-retry # Conflicts: # docs/subsystems/core-host.md # patches/ds-bot/0008-client-bundle.patch
This was referenced Oct 20, 2026
Collaborator
Author
|
Self-review: PASS (merge-main conflict fix; no feature change) Tip SHA: 67ddae5
Verdict: PASS Not merge authority: risk:T3, waits for the maintainer's approval (merge queue). |
This was referenced Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #473
What. Each row in Settings → Scheduled tasks (and a Bot's card) shows its last run: "Running since …", "Last run …", "Last run … · Stopped", or in red "Last run … · Failed: ". A failed run of a task that is not paused gets Retry, which runs the task once now with the same prompt.
Why / how (Owner decision 2026-10-20, option a):
state.scheduleRunsfrom the turn that took in the reminder (turns.js→schedules.js); a group task fails when a member's turn in that round failed.schedule-source message in DSH's reminder framing to the Bot's current part (or the group), so the turn is that task's run and keeps the scheduled connector verdict. DSH's own times are untouched: no backfill.work.ended(Proactive reminders 1/3: event reminders (approval waiting, failed, finished) in app and desktop #353 notifications); a reminder DSH did not deliver is added there too (rt.noteRunFailure), the same list Agent inbox phase 2: board view, tool-call counts, failed turns and team views (after #349) #471 turns into Agent inbox cards. No second event path.Test.
ARCH_DOCS_BASE=origin/main TZ=UTC npm run verifypasses (core 1081, social 296, tree 80, timeline 83, scripts 93, interop 37, live-e2e 16; 0 failures). New tests:core/test/schedules.test.js(run results, Retry, not delivered),core/test/schedules-client.test.js(row line + Retry),authz.test.js(schedule-retryownership). Not run: live DSH with the Automation tasks bundle, smoke test.Risk tier: T2 (estimate; the controller sets the label)