Skip to content

fix(vovk-cli): request segment schemas one at a time on start - #129

Merged
finom merged 1 commit into
mainfrom
cli-sequential-schemas
Oct 21, 2026
Merged

finom merged 1 commit into
mainfrom
cli-sequential-schemas

Conversation

@finom

@finom finom commented Oct 21, 2026

Copy link
Copy Markdown
Owner

vovk dev requested every segment's schema at once, 5 s after start. In next dev --webpack each first request compiles its segment, and two compilations at once can read a half-written manifest and answer 500 (seen in CI on Deno, #128). Now the first pass goes one segment at a time; segments that fail are retried as before (every 5 s, 5 attempts).

  • New spec "Requests the schema of one segment at a time when it starts" (stub server, 3 segments, 300 ms answers): max in flight was 3 before, 1 now. dev-without-next: 35/35.
  • Live, test app on next dev --webpack: the 7 schema requests now arrive one after another (~0.2–0.35 s each, ~1.75 s total).

next dev compiles a segment on its first request; two compilations at once can answer 500.
@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
realtime-kanban Ready Ready Preview Oct 21, 2026 7:49am UTC
vovk-examples Ready Ready Preview Oct 21, 2026 7:49am UTC
vovk-hello-world Ready Ready Preview Oct 21, 2026 7:49am UTC
vovk-multitenant-example Ready Ready Preview Oct 21, 2026 7:49am UTC

Request Review

This branch was successfully deployed

4 active deployments
Preview – vovk-multitenant-example — 05a9f1c7 Deployed Oct 21, 2026 by vercel[bot]
Preview – vovk-examples — 05a9f1c7 Deployed Oct 21, 2026 by vercel[bot]
Preview – realtime-kanban — 05a9f1c7 Deployed Oct 21, 2026 by vercel[bot]
Preview – vovk-hello-world — 05a9f1c7 Deployed Oct 21, 2026 by vercel[bot]
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