Skip to content

fix(api): regen for typed TimingPhasesDto in HTTP check details#10

Merged
caballeto merged 1 commit into
mainfrom
fix/http-timing-typed-dto
Apr 23, 2026
Merged

fix(api): regen for typed TimingPhasesDto in HTTP check details#10
caballeto merged 1 commit into
mainfrom
fix/http-timing-typed-dto

Conversation

@caballeto
Copy link
Copy Markdown
Member

Summary

  • Vendored-spec sync to pick up devhelmhq/mono#271: Http.timing is now a typed TimingPhasesDto instead of an opaque Map<String, Object>.
  • mcp-server has no codegen of its own — all SDK types come from the sibling devhelm package. 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 + the spec_updated repository_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 pass

Made with Cursor

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
@caballeto caballeto merged commit 13709a0 into main Apr 23, 2026
4 checks passed
@caballeto caballeto deleted the fix/http-timing-typed-dto branch April 23, 2026 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant