Compare commits

...

2 Commits

Author SHA1 Message Date
cd94e855aa Merge PR #107: smoke-aws-docs readiness probe
Some checks failed
CI/CD / typecheck (push) Successful in 1m18s
CI/CD / lint (push) Successful in 2m46s
CI/CD / test (push) Successful in 1m25s
CI/CD / smoke (push) Failing after 1m56s
CI/CD / build (push) Successful in 4m52s
CI/CD / publish (push) Has been skipped
2026-08-10 16:00:08 +00:00
Michal
b8cedd6262 test(smoke): give the smoke-aws-docs fixture a readiness probe
Some checks failed
CI/CD / lint (pull_request) Successful in 1m13s
CI/CD / typecheck (pull_request) Successful in 1m18s
CI/CD / test (pull_request) Successful in 1m26s
CI/CD / build (pull_request) Successful in 2m15s
CI/CD / smoke (pull_request) Failing after 3m23s
CI/CD / publish (pull_request) Has been skipped
health-readiness.smoke.test.ts asserts no RUNNING server lacks a
healthCheck.tool. The smoke suite's own shared fixture had none, so the suite
reported its own scaffolding as a fleet regression — and because the fixture is
in the PROTECTED set of clean-smoke-resources.ts, it is long-lived and failed
that assertion on every run.

Mirrors the production aws-docs probe (same package): search_documentation with
a phrase, 300s interval since the call leaves the cluster.

Verified live: with this applied, "every RUNNING server has a readiness probe
configured" passes.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019wUmrfkVQR6CKcYKxENq7k
2026-08-10 16:59:41 +01:00

View File

@@ -12,6 +12,19 @@ servers:
env: env:
- name: FASTMCP_LOG_LEVEL - name: FASTMCP_LOG_LEVEL
value: "ERROR" value: "ERROR"
# Mirrors the production `aws-docs` probe. Without it this fixture is a
# RUNNING server with no readiness probe, so it fails the very assertion in
# health-readiness.smoke.test.ts that the fixture exists to support — the
# suite reporting its own scaffolding as a fleet regression.
# `search_documentation` needs a phrase; the 300s interval matches aws-docs,
# since the call leaves the cluster.
healthCheck:
tool: search_documentation
arguments:
search_phrase: "s3 bucket"
timeoutSeconds: 20
intervalSeconds: 300
failureThreshold: 3
projects: projects:
- name: smoke-data - name: smoke-data