Skip to content

Mocop 0.9.0

Choose a tag to compare

@github-actions github-actions released this 16 Aug 08:59
· 155 commits to master since this release
5873754

Mocop 0.9.0 improves GPU process observability, access control, and operational reliability. Upgrading is recommended for all 0.8.x deployments.

Highlights

  • GPU process visibility: Adds fleet-wide and per-server search by program, command, PID, owner, workload, queue, and namespace. The GPU detail view now supports attribution filters, sorting, runtime and memory inspection, and copy actions.
  • Workload attribution and usage: Extends attribution to Slurm, Kubernetes, Docker, and Podman. The new GET /api/usage endpoint reports per-owner GPU occupancy and classified idle share.
  • Monitoring and diagnostics: Adds Linux PSI, GPU hardware health, transport-retry visibility, and persistence status. New operational commands include mocop config check, mocop doctor --probe, mocop doctor --profile, and mocop --once --strict.
  • Reliability and efficiency: Improves independent host scheduling, SSH timeout and retry handling, process-sampling cadence, bounded SQLite retention, and webhook delivery. Queues, outputs, retained history, and browser rendering now have explicit limits.

Security and compatibility

  • The HTTP API is now v2. All API, SSE, and /metrics requests require the per-installation Bearer capability, except for /api/meta, /healthz, and /readyz.
  • The internal collection protocol is now MONITOR_V8; V4–V7 payloads are no longer accepted. The collector script and parser are distributed together, so reinstall the package and restart the service during upgrade.
  • The default listener remains restricted to the loopback interface. Remote access requires an authenticated TLS reverse proxy or a private VPN.

Upgrade

If SQLite persistence is enabled, first back up the configuration, Bearer capability, and state directory as described in the operations runbook. Then run:

uv tool install --force "git+https://github.com/ChangWinde/mocop.git@v0.9.0"
mocop config check
mocop service install

Verification

  • Python 3.10–3.14
  • 467 unit and contract tests
  • Chrome end-to-end coverage
  • 88% branch coverage
  • Release wheel with SHA256SUMS

See the Changelog for the complete change record.