mirror of
https://scm.tikali.ai/tikali/applications/monky/monky-deployd.git
synced 2026-09-18 03:36:16 +00:00
a30014a096
Every apply requested a new lease, so a failing deploy retried by the 60 s timer burned tenancy's 5-leases-per-hour budget and then failed on LEASE_RATE_LIMITED forever (env-qa-02 pilot). Now: reuse a lease-derived token while lookup-self says it is valid; swap the bootstrap token for a lease once; if tenancy rate-limits the lease while a working token exists, apply with it and defer the swap. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KLB7jieMNRkTsJ2epr4Ds1
8 lines
363 B
Python
8 lines
363 B
Python
"""monky-deployd — the on-box pull agent for Monky backends (MONKY-ADR-0028).
|
|
|
|
Dials monky-tenancy over the mesh with the box's host identity, fetches the rendered bundle,
|
|
leases a deploy grant, logs in to OpenBao, reads its own secrets, runs `docker compose`,
|
|
reports. Stdlib only; the optional `openziti` SDK is the `sdk` transport."""
|
|
|
|
__version__ = "0.1.6"
|