test(smoke): give the smoke-aws-docs fixture a readiness probe #107
Reference in New Issue
Block a user
Delete Branch "fix/readiness-probes"
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?
Problem
health-readiness.smoke.test.tsasserts that no RUNNING server lacks ahealthCheck.tool. The smoke suite's own shared fixture had none, so the suite reported its own scaffolding as a fleet regression on every run.It is not a leak that cleanup would sweep —
smoke-aws-docsis in thePROTECTEDset ofclean-smoke-resources.ts(five suites depend on it), so it is deliberately long-lived and failed the assertion permanently.Fix
Mirror the production
aws-docsprobe — same package, so the same tool works:search_documentationwith a search phrase, 300s interval to match, since the call leaves the cluster.Live fleet fixes (mcpd config, not in this diff)
The same smoke failure covered three more, all fixed by applying config to mcpd:
docshealthCheckat alllist_librariesmy-home-assistantha_config_list_areas— no longer exists upstreamha_list_floors_areassmoke-aws-docshealthChecksearch_documentation(this diff + applied live)Each probe was called through
/api/v1/mcp/proxybefore being configured, so none is a guess:ha_list_floors_areasreturns 4 floors / 16 areas from Home Assistant,list_librariesanswers from the docs store.Still broken: docmost
docmost/get_workspacereturns 401, and it is a genuine bad credential, not config. Diagnosed from inside the pod:The endpoint is reachable and the account resolves — the stored
DOCMOST_PASSWORDin OpenBao (secret/mcpctl/docmost) is simply wrong. That needs the real password; it cannot be fixed from here.Result: 3 of 4 readiness assertions now pass; only the docmost credential remains.