Skip to content

python-dmon v0.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 08 Aug 03:25

Release python-dmon v0.4.0.

Added

  • Add dmon stack up for supervised stacks with dependency ordering, readiness probes, attached foreground logs, runtime degradation reporting, optional fail-fast behavior, and automatic cleanup.
  • Add HTTP, TCP, and command readiness probes.
  • Add detached stack supervision with dmon stack up -d, detailed status and listing, and dmon stack down.
  • Add detached stack restart with dmon stack restart.
  • Add read-only stack log snapshots and following with dmon stack logs and dmon stack logs -f.
  • Make foreground stacks discoverable through dmon stack status and dmon stack list, and safely stoppable from another terminal with dmon stack down.
  • Add a silent, structured Python API through from dmon import Dmon for task lifecycle and task/stack inspection.
  • Add --format json to finite task and stack status/list commands.
  • Add dmon wait and Dmon.wait() for configured task readiness, plus direct
    HTTP, TCP, and command waits with finite JSON results.
  • Add config-relative env_file loading with ordered layering, dotenv
    expansion, explicit precedence, and support across task, stack, wait, and
    Python API workflows.

Fixed

  • Publish start reservations only after their JSON is complete, so concurrent starts never observe a partially written metadata file.
  • Retry transient Windows permission errors while atomically replacing metadata
    that another process is reading.
  • Keep configured environment values and environment-file paths out of process
    metadata and structured inspection output.