Commit 1cdac15
ci: Skip dev-realm boot index in realm-server tests instead of mount 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>1 parent 9f884d5 commit 1cdac15
3 files changed
Lines changed: 32 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
38 | | - | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
41 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
156 | 164 | | |
157 | 165 | | |
158 | 166 | | |
| |||
526 | 534 | | |
527 | 535 | | |
528 | 536 | | |
| 537 | + | |
529 | 538 | | |
530 | 539 | | |
531 | 540 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
669 | 669 | | |
670 | 670 | | |
671 | 671 | | |
| 672 | + | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
672 | 681 | | |
673 | 682 | | |
674 | 683 | | |
| |||
700 | 709 | | |
701 | 710 | | |
702 | 711 | | |
| 712 | + | |
703 | 713 | | |
704 | 714 | | |
705 | 715 | | |
| |||
842 | 852 | | |
843 | 853 | | |
844 | 854 | | |
| 855 | + | |
845 | 856 | | |
846 | 857 | | |
847 | 858 | | |
| |||
2475 | 2486 | | |
2476 | 2487 | | |
2477 | 2488 | | |
2478 | | - | |
| 2489 | + | |
| 2490 | + | |
| 2491 | + | |
| 2492 | + | |
2479 | 2493 | | |
2480 | 2494 | | |
2481 | 2495 | | |
| |||
0 commit comments