routines: each routine can set how late a missed run may still start, including never
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 62/100
- issue の種類
- 機能追加
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
調査の方向性
Start with CATCH_UP_MS in server/routines.ts and the code that decides whether a missed run may still start. Add an optional per-routine late-start window for cron, daily and interval schedules, with unset meaning 12 hours and 0 meaning never start late. Done when a 0 value produces the existing missed receipt and schedules the next time, unset behaves as before, and the editor and bot can read and set the field.
索引モデルが issue の本文から書いたものです。
説明
The problem
When the server was down or busy at a routine's time, the run starts late once it is back, up to 12 hours late (CATCH_UP_MS in server/routines.ts). That window is the same for every routine and can't be changed.
For many routines a late run is worse than no run:
- A 09:00 "today's brief" that starts at 20:00 tells me about a morning that is over.
- A 02:30 backup that starts at 13:30 runs while I'm working on the machine, and the next one is due a few hours later anyway.
- A "plan my morning" routine that books tasks into my calendar should not book them after lunch.
Other routines are the opposite: a weekly report should still go out a few hours late. Today I can't tell the two apart, so the only safe choice is to write "if it is after 10:00, reply NOTHING NEW" into the prompt. That costs an AI turn and relies on the model reading the clock.
What you'd like
One optional field per routine: how long after its time a missed run may still start.
0means never start late: the missed time gets themissedreceipt it gets today, and the next time is scheduled as normal.- A number of minutes (for example 60) means start late only inside that window.
- Not set means today's behaviour (12 hours), so existing routines don't change.
It applies to cron, daily and interval schedules (a once routine keeps its current rule). It is shown in the routine editor next to the schedule, and a bot can set it when the person asks ("don't run it if it's more than an hour late").
Anything else
- The missed-run receipt, the strip and the failure counting stay as they are. Only the 12-hour constant becomes a per-routine value with today's default.
- I'm happy to send the PR if this shape works for you.
- 主要言語
- TypeScript
- スター
- 277
- フォーク
- 27
- 平均マージ
- 7時間 8分
- マージ済み PR(30日)
- 81
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DuskBotAI/duskbot のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 63/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
メンテナーはふだん 1 日以内に返信
DuskBotAI/duskbot の issue をすべて見る
似ている issue
-
MCP tool results drop structuredContent when text is only a summary対応中かも @Pankaj-bit361 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
inblockio/siwx-oidc-matrix-server#101 ·
メンテナーはふだん 1 日以内に返信
-
status:needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 64/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pingdotgg/t3code#42253 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信