routines: each routine can set how late a missed run may still start, including never
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 62/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 277
- Fork
- 27
- Merge medio
- 7h 8m
- PR unite (30g)
- 81
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DuskBotAI/duskbot
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 20/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 63/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di DuskBotAI/duskbot
Issue simili
-
MCP tool results drop structuredContent when text is only a summaryForse già presa @Pankaj-bit361 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
n8n-io/nod#1474 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
inblockio/siwx-oidc-matrix-server#101 ·
I maintainer di solito rispondono entro 1 giorno
-
status:needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
pingdotgg/t3code#42253 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno