mirror of
https://scm.tikali.ai/tikali/applications/monky/monky-deployd.git
synced 2026-09-18 04:36:15 +00:00
fix(agent): reuse a valid lease token across applies; a rate-limited lease no longer blocks a deploy; 0.1.6
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
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
<!-- xlate:verbatim-fences -->
|
||||
# Changelog
|
||||
|
||||
## 0.1.6 — 2026-09-07
|
||||
|
||||
- **A valid lease token is reused across applies.** 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; and if tenancy rate-limits the lease while a
|
||||
working token exists, apply with it and defer the swap instead of failing the deploy.
|
||||
|
||||
## 0.1.5 — 2026-09-07
|
||||
|
||||
- **`tenancy.port` defaults to 443 everywhere** — the ansible role default and the `TenancyCfg` default now
|
||||
|
||||
Reference in New Issue
Block a user