routines: each routine can set how late a missed run may still start, including never
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- TypeScript
- Estrellas
- 277
- Forks
- 27
- Merge medio
- 7 h 8 min
- PR fusionados (30 d)
- 81
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de DuskBotAI/duskbot
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 63/100
Los mantenedores suelen responder en 1 día
-
time zone: a self-hosted server can tell time in its owner's zone, the way a Cloud home doesAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
Los mantenedores suelen responder en 1 día
Todos los issues de DuskBotAI/duskbot
Issues similares
-
MCP tool results drop structuredContent when text is only a summaryPosiblemente ocupada @Pankaj-bit361 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
n8n-io/nod#1474 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Clean-up indicator: two polish points from the dev look (kit clock spacing, row description)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
inblockio/siwx-oidc-matrix-server#101 ·
Los mantenedores suelen responder en 1 día
-
status:needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
pingdotgg/t3code#42253 · 1 comentario ·
Los mantenedores suelen responder en 1 día