fix(api): regen for typed TimingPhasesDto in HTTP check details#10
Merged
Conversation
Vendored-spec sync to pick up the upstream mono fix (devhelmhq/mono#271) that replaces the misleading `Map<String, Object>` `Http.timing` schema with a typed `TimingPhasesDto` (nullable ints for dns_ms, tcp_ms, tls_ms, ttfb_ms, download_ms, total_ms). mcp-server has no codegen of its own (all SDK types come from the sibling `devhelm` SDK; see devhelmhq/sdk-python#9), so the only artifact change here is the vendored OpenAPI snapshot used for parity tests + the spec_updated repository_dispatch workflow. Verified: ruff + mypy strict + 57 pytest tests pass. Made-with: Cursor
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Http.timingis now a typedTimingPhasesDtoinstead of an opaqueMap<String, Object>.devhelmpackage. The actual Python model regen lives in devhelmhq/sdk-python#9. This PR only refreshes mcp-server's vendored OpenAPI snapshot, which is consumed by parity tests + thespec_updatedrepository_dispatch workflow.Diff scope
docs/openapi/monitoring-api.json— spec drop-in (no other files change).Test plan
make lint(ruff check + format)make typecheck(mypy strict)make test— 57/57 tests passMade with Cursor