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
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
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user