Skip to content

fix(api): make OpenAPI validation concurrency-safe - #7103

Draft
Flo4604 wants to merge 1 commit into
amp/cached-clock-shutdownfrom
amp/openapi-validator-concurrency
Draft

fix(api): make OpenAPI validation concurrency-safe#7103
Flo4604 wants to merge 1 commit into
amp/cached-clock-shutdownfrom
amp/openapi-validator-concurrency

Conversation

@Flo4604

@Flo4604 Flo4604 commented Aug 20, 2026

Copy link
Copy Markdown
Member

Problem:

Concurrent OpenAPI validation could modify shared YAML schema nodes. That race could produce incorrect validation errors.

Solution:

Upgrade libopenapi to v0.38.3 and libopenapi-validator to v0.13.13. libopenapi v0.38.3 includes the upstream fix that copies nodes before rendering them.

Impact:

Concurrent validation no longer uses the affected shared-node rendering code. The module language version stays at Go 1.25.10, and the toolchain stays at Go 1.26.5.

Testing:

  • mise exec -- go mod verify: passed.
  • mise run test: 298 suites completed with 0 failures.

@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dashboard Ready Ready Preview Aug 31, 2026 1:13pm
design Ready Ready Preview Aug 31, 2026 1:13pm

Request Review

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