Skip to content

cook doctor does not report non-numeric timer values #214

Closed

Description

@jwodder

If I have a .cook file with a non-numeric timer like:

Cook for ~{a few%minutes}.

then cook doctor will not report any problems when validating the recipe, but the playground reports an error:

Error: Timer value is text: a few
  ╭─[playground]
  │
1 │ Cook for ~{a few%minutes}.
  ┆            ──┬──          
  ┆              │            
  ┆              ╰───────────── expected a number here
──╯

Activity

  1. added
    bug
    on Dec 3, 2025
  2. dubadub commented on Dec 3, 2025

    @dubadub
    Member

    The problem here is that these errors come from extensions which aren't enabled in CookCLI

  3. changed the title [-]`cook doctor` fails to report issue that playground errors on[/-] [+]cook doctor does not report non-numeric timer values[/+] on Aug 7, 2026
  4. added
    area: cli
    area: parser
    on Aug 7, 2026
  5. added a commit that references this issue on Nov 16, 2026
    270c7e6
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

    area: cliarea: parserbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions