Skip to content

sweep: Routine.last says when it last ran, but it holds the last scheduled run #38

Closed

Description

@frostyard-machines

Kind: inconsistency. Severity: low.

Rule: docs/specs/routines.md:151-153: "A run now moves nothing: a run now does not move the routine's last success, nor its last scheduled run. Only scheduled runs move them".

Where (at 1f7185f):

Why it matters: the API contract (and the web app that shows last) says "when it last ran", but after a Run now the field keeps the older scheduled time, so a reader can take the run now for one that did not happen.

Suggested fix: change the schema's doc to "when its last scheduled run was" (and regenerate), or add a separate field for the last run of any kind. Size: S.

Activity

  1. added
    sweep
    on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    sweep

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions