Files
monky-deployd/pyproject.toml
T
mdella a30014a096 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
2026-09-07 20:25:38 +00:00

40 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project]
name = "monky-deployd"
version = "0.1.6"
description = "Monky backend pull agent: checkin -> bundle -> lease -> OpenBao -> docker compose -> report, over the ziti mesh (MONKY-ADR-0028)"
readme = "README.md"
requires-python = ">=3.12"
license = { text = "Proprietary" }
authors = [{ name = "Tikali", email = "mdella@tikali.ai" }]
dependencies = [] # stdlib only; `openziti` is optional (transport: sdk) and vendored by CI
[project.optional-dependencies]
sdk = ["openziti>=1.0"]
dev = ["pytest>=8", "ruff>=0.16,<0.17"]
[project.scripts]
monky-deployd = "monky_deployd.cli:main"
[tool.setuptools.packages.find]
include = ["monky_deployd*"]
[tool.ruff]
line-length = 120
target-version = "py312"
extend-exclude = ["ansible", "packaging"]
[tool.ruff.lint]
select = ["E", "F", "I", "UP", "B", "W"]
ignore = ["E501"]
[tool.ruff.lint.per-file-ignores]
"tests/*" = ["B011"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"