Skip to content

fix: hermes cron list crashes when job has null deliver field #32896

@garyd9

Description

@garyd9

This issue was generated by Hermes Agent during interactive testing.

Description

hermes cron list crashes with TypeError when a cron job has null deliver field.

Reproduction

  1. Create a cron job without specifying delivery
  2. Run hermes cron list

Stack Trace

File "hermes_cli/cron.py", line 73, in cron_list
deliver_str = ", ".join(deliver)
^^^^^^^^^^^^^^^^^^
TypeError: can only join an iterable

Expected Behavior

Should display "auto" or "default" for null delivery, not crash.

Environment

  • Hermes Agent on main (bb4703c)
  • Debian 13, Python 3.11

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existscomp/cliCLI entry point, hermes_cli/, setup wizardcomp/cronCron scheduler and job managementtype/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions