fix(modules): probe uptime-kuma through tailnet #301

Merged
pdurlej merged 1 commit from codex/f3/uptime-kuma-tailnet-health into main 2026-05-16 13:34:09 +02:00
Collaborator

Canary status: local verification — strict-v2, smoke, and health tests pass; Forgejo PR checks required before merge.

Summary

  • Change uptime-kuma health probe from public https:// to tailnet-https://.
  • Keeps the expected status at 200, but resolves uptime.pdurlej.com to RS2000's tailnet address during smoke.
  • This matches the module exposure model: tailnet-only behind ts-allowlist@file.

Why

F3 run #977 after #300 had:

  • plan: in-sync, exitCode 0
  • apply: noop, exitCode 0
  • container: still healthy
  • health: FAIL-403-vs-expected-200

Direct public probe gets 403 as expected for a tailnet-only service. Tailnet-resolved probe returns 200 for /health.

Evidence

  • curl --resolve uptime.pdurlej.com:443:100.110.188.20 https://uptime.pdurlej.com/health => HTTP 200
  • PLATFORMCTL_SMOKE_REMOTE_MODE=skip ... tests/smoke.sh --json uptime-kuma => health-http:PASS-200
  • uv run --project control-plane python -m platformctl validate --strict-v2 modules/uptime-kuma/module.yaml => OK
  • uv run --project control-plane pytest control-plane/platformctl/tests/test_health_phase3.py => 19 passed
  • git diff --check => clean

Spec sources read

  • modules/uptime-kuma/module.yaml — failing health probe definition
  • modules/uptime-kuma/runbook.md — exposure and runtime context
  • tests/smoke.shtailnet-https:// health probe semantics
  • control-plane/platformctl/health.py — health rollup behavior

Risk

Lite. One module manifest health URL only. No runtime mutation, no compose change, no secret/exposure change. The service remains tailnet-only.

Canary status: local verification — strict-v2, smoke, and health tests pass; Forgejo PR checks required before merge. ## Summary - Change `uptime-kuma` health probe from public `https://` to `tailnet-https://`. - Keeps the expected status at 200, but resolves `uptime.pdurlej.com` to RS2000's tailnet address during smoke. - This matches the module exposure model: tailnet-only behind `ts-allowlist@file`. ## Why F3 run #977 after #300 had: - plan: `in-sync`, exitCode 0 - apply: `noop`, exitCode 0 - container: still healthy - health: `FAIL-403-vs-expected-200` Direct public probe gets 403 as expected for a tailnet-only service. Tailnet-resolved probe returns 200 for `/health`. ## Evidence - `curl --resolve uptime.pdurlej.com:443:100.110.188.20 https://uptime.pdurlej.com/health` => HTTP 200 - `PLATFORMCTL_SMOKE_REMOTE_MODE=skip ... tests/smoke.sh --json uptime-kuma` => `health-http:PASS-200` - `uv run --project control-plane python -m platformctl validate --strict-v2 modules/uptime-kuma/module.yaml` => OK - `uv run --project control-plane pytest control-plane/platformctl/tests/test_health_phase3.py` => 19 passed - `git diff --check` => clean ## Spec sources read - `modules/uptime-kuma/module.yaml` — failing health probe definition - `modules/uptime-kuma/runbook.md` — exposure and runtime context - `tests/smoke.sh` — `tailnet-https://` health probe semantics - `control-plane/platformctl/health.py` — health rollup behavior ## Risk Lite. One module manifest health URL only. No runtime mutation, no compose change, no secret/exposure change. The service remains tailnet-only.
fix(modules): probe uptime-kuma through tailnet
All checks were successful
base-is-main / guard (pull_request) Successful in 2s
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 3s
platformctl plan / auto-apply scope (pull_request) Successful in 20s
canary-required / canary (pull_request) Successful in 13s
patchwarden-pr-sanity / sanity (pull_request) Successful in 20s
bc093d6fd5
Sign in to join this conversation.
No reviewers
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/platform!301
No description provided.