Comparing v7.9.19...v7.10.0 · cloudfoundry/bosh-cli

Commits on Mar 16, 2026

  1. Add --with-heartbeat flag for heartbeat logging during long-running e…

    …rrands
    
    Errands produce no CLI output while the Agent executes the script.
    This silence causes CI/CD systems to kill the process due to inactivity
    timeouts and leaves operators unsure whether the task is still running.
    
    Add an opt-in --with-heartbeat flag to `bosh run-errand` that prints
    periodic heartbeat status lines while a task is processing or queued.
    
      bosh run-errand smoke_tests --with-heartbeat
      bosh run-errand smoke_tests --with-heartbeat=10
    
    Output:
      Task 185528 | 16:16:23 | Task state: processing (5s elapsed)
    
    No Director changes required — uses existing task API fields (state,
    started_at). TaskHeartbeat is part of the TaskReporter interface with
    a no-op default on NoopTaskReporter; withHeartbeatInterval gates
    whether output is actually emitted. Throttling is handled in the
    reporter via timestamp comparison.
    
    Made-with: Cursor
    Configuration menu

    Browse the repository at this point in the history