ci: Remove dev realm indexing from realm server tests#5039
Merged
Conversation
Contributor
Host Test Results 1 files 1 suites 1h 49m 21s ⏱️ Results for commit a94670c. Realm Server Test Results 1 files ±0 1 suites ±0 10m 45s ⏱️ -40s Results for commit a94670c. ± Comparison against earlier commit 1fc2aaf. |
b4eac61 to
b2045c6
Compare
…gate Replaces the mount-only readiness gate with a cleaner fix for the same goal. The realm-server suite runs its own in-process realms + test Postgres and only needs the boot dev realms (base/skills/openrouter/software-factory) to serve *source* — definitions resolve lazily via the prerenderer, so those realms don't need a populated index. CI uses a fresh Postgres every run, so each boot realm would otherwise run a from-scratch index (~minutes) that both delayed `_readiness-check` and competed with the tests' own renders for the prerender page pool, intermittently starving render-heavy tests into timeouts. New `REALM_SERVER_SKIP_BOOT_INDEX` env (Realm `skipBootIndex` option) makes a realm mount and serve source without the boot index, even on a new index. It's set only on the phase-1 dev realm server in the test launcher — the phase-2 node-test realm, whose indexed content the suite reads, still indexes. With no boot index to await, `_readiness-check` resolves at mount, so the readiness gate reverts to `_readiness-check`. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
b2045c6 to
1cdac15
Compare
…-no-catalog-cs-11305
Reference start:development / start:test-realms directly instead of positional phase labels that aren't grounded in this file. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…-no-catalog-cs-11305
habdelra
approved these changes
Jun 1, 2026
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.
#5008 aims to move some CI jobs to use environment mode to prevent regressions, but I noticed that the realm server shards were running roughly 30% more quickly. It turned out to be that tests were proceeding without realms having fully indexed. This adds an option to skip indexing when a realm starts, which most tests don’t need.
An example set of shards with this change:
The same set in #5029: