fix(smoke): probe Umami through Tailnet route #285
No reviewers
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference
pdurlej/platform!285
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "codex/f2/umami-tailnet-probe-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Canary status: approve_merge — Forgejo checks green: base-is-main, platformctl plan, python-ci 3.11/3.12/3.13, canary-required.
Canary Context Pack
Product story
Umami should be a clean F2 no-op smoke target. PR #284 fixed the public 403 diagnosis but chose
docker-exec://, which fails in the real runner becauseplatform-host-agentcorrectly deniesdocker exec. This PR replaces that with a Tailnet route probe that works under the deploy runner without widening host-agent permissions.What changed
tests/smoke.shnow supports explicittailnet-https://<host>/<path>health URLs.tailnet-https://probes usecurl --resolve <host>:443:<platform host Tailnet IP>so Traefik sees a Tailnet source and preserves Host/SNI routing.modules/umami/module.yamlnow usestailnet-https://umami.pdurlej.com/api/heartbeat.Why it changed
Run #919 showed
docker-exec://returnedhealth-http:FAIL-000-vs-expected-200in the workflow. Root cause: runner smoke usesPLATFORMCTL_SMOKE_SSH_USER=platform-host-agent, and the forced-command wrapper allowsdocker inspect/ compose operations, notdocker exec. That denial is correct security behavior.Files touched
tests/smoke.shmodules/umami/module.yamlRelevant context
000prompts/codex-260-fix-plus-umami-probe-2026-05-14.mdRuntime evidence
curl --resolve umami.pdurlej.com:443:100.110.188.20 https://umami.pdurlej.com/api/heartbeatreturns HTTP 200 as bothrootandforgejo-deployon RS2000.platform-host-agentdeniesdocker exec, explaining run #919's000after #284.health-http:PASS-200forumami.mirotalk-sfunormal URL probe still reportshealth-http:PASS-200.Known constraints
tailnet-https://is an explicit per-module probe for Tailnet-gated HTTPS services. It does not change normal HTTP probes and does not expose Umami publicly.Explicit out-of-scope
No #260 runner-pickup fix in this PR. No DB mutation. No Forgejo restart. No exposure change. No host-agent permission expansion.
Requested decision
Merge after CI/review; then trigger
platformctl-auto-apply.ymlwithmodule=umamiagain and verifyhealth-http:PASS-200in workflow evidence.Merge blockers
Any regression in
tests/smoke.sh, invalid module schema, or concern thattailnet-https://should be represented differently in schema/docs.Spec sources read
prompts/codex-260-fix-plus-umami-probe-2026-05-14.md— Phase A/B dispatchdecisions/0018-agentic-first-fix-root-causes.md— governance framingmodules/umami/module.yaml— probe specmodules/umami/runbook.md— healthcheck and exposure notestests/smoke.sh— health-http implementationcontrol-plane/platformctl/transport/tailscale.py— platform host Tailnet IP env mappingcontrol-plane/platformctl/health.py— confirms health delegates smoke checks totests/smoke.sh/tmp/platformctl-auto-apply-919/evidence/umami.health.json— run #919 failure evidenceValidation
bash -n tests/smoke.sh— passuv run --project control-plane python -m platformctl.cli validate --strict-v2 modules/umami/module.yaml— passPLATFORMCTL_SMOKE_REMOTE_MODE=skip PLATFORMCTL_RS2000_SSH_HOST=100.110.188.20 tests/smoke.sh --json umami—health-http:PASS-200PLATFORMCTL_SMOKE_REMOTE_MODE=skip PLATFORMCTL_RS2000_SSH_HOST=100.110.188.20 tests/smoke.sh --json mirotalk-sfu—health-http:PASS-200uv run --project control-plane --extra dev pytest control-plane/platformctl/tests/test_health_phase3.py control-plane/platformctl/tests/test_validate.py control-plane/platformctl/tests/test_smoke.py -q— 30 passedRefs #142
Refs #260