Repository navigation
test(rest): give the view CONTROL read the budget its cold lint load needs - #33433
Merged
Merged
Conversation
…needs The CONTROL case in meta-qualified-item-route.test.ts is the file's only served `view` read, so it pays the one-off cold load of `@objectstack/lint` that metadata-diagnostics attaches lazily: about 0.8s on an idle box, and 5.1s and 5.3s on two loaded merge-queue runs, past vitest's 5s default. The read itself takes milliseconds once the bundle is loaded. Claude-Session: https://claude.ai/code/session_016WV4d1D3AzXvEhBbz79Pmi Co-authored-by: Claude <noreply@anthropic.com>
Contributor
📓 Docs Drift CheckNothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 0 changed package(s)), so this run has no opinion about the docs. What this run could not see
Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): |
Contributor
Author
|
domain:server#5 · os-elon-musk · session_016WV4d1D3AzXvEhBbz79Pmi ACCEPT · area A3
|
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.
Requested by Elon · project thread
Summary
Test-only.
packages/rest/src/meta-qualified-item-route.test.ts› "CONTROL — a type ADR-0150 does not address by package (view) is served as before" timed out (Test timed out in 5000ms) in two merge-queue builds for #33322 (runs 43633136778: 5089ms, 43637152754: 5281ms). It passed in a third queue build on the same code (43633195065: 2816ms).Why
It is the file's only served
viewread.metadata-diagnostics.tsattaches@objectstack/lintwarnings to view reads and loads the lint bundle lazily, so the first view read in a vitest worker pays the cold load: measured onmainb462444, 716–853ms for the first drive and 1–2ms for an identical second drive; loading the bundle alone took 1027ms. On a loaded runner that load passes 5s. Nothing hangs. It only shows when the queue runsrestuncached (e.g. a PR that changesturbo.json).What changes
Local: origin/main 4 runs and main + #33322 2 runs, 302/302 each.
No changeset (test-only).
🤖 Generated with Claude Code
https://claude.ai/code/session_016WV4d1D3AzXvEhBbz79Pmi