Repository navigation
JSON schema omits systemd timer and lifecycle options #11049
Contextmise 2026.7.7 added systemd timer support and additional service lifecycle and hardening directives in PR #10984. The runtime parser, generated units, tests, and documentation support these options. Actual behaviorThe current
For example, this is accepted and applied by mise but does not match the published schema because [bootstrap.linux.systemd.units.healthcheck-schedule]
on_boot_sec = "2min"
on_unit_inactive_sec = "5min"
persistent = true
unit = "dev.mise.healthcheck.service"
wanted_by = ["timers.target"]Editors using the schema therefore report a valid timer as incomplete and cannot provide completion or documentation for the new options. Expected behavior
Verification against current
|
Replies: 1 comment
|
Thanks for the detailed report. Confirmed: the systemd section of I opened #11050 to fix it. The schema now includes the timer fields and the newer service lifecycle/hardening fields, and it distinguishes the two runtime shapes: services require a nonblank Validation completed with This comment was generated by an AI coding assistant. |
Thanks for the detailed report. Confirmed: the systemd section of
schema/mise.jsonis manually maintained, and it was not updated when timer and lifecycle support landed in #10984.I opened #11050 to fix it. The schema now includes the timer fields and the newer service lifecycle/hardening fields, and it distinguishes the two runtime shapes: services require a nonblank
exec_start, while timers require at least one schedule directive and reject service-only directives. The strict Tombi schema test now covers valid services/timers and invalid combinations.Validation completed with
mise run render:schema,mise run test:e2e e2e/config/test_schema_tombi, andmise run lint-fix.This comment wa…