Skip to content

Garry's Opinionated OpenClaw/Hermes Agent Brain

TypeScript

ci(stress): the race hunt's 3-iteration floor spills into a second queued shard group instead of leaving files unrun (#6143)

garrytan413885ca4855
diff --git a/CHANGELOG.md b/CHANGELOG.md
index e7466e60e9..230d436b7b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -12,7 +12,7 @@ identifiers and attribution are available in the pre-removal Git revision
## [0.60.400.0] - 2026-10-23
-**A Windows backup whose PowerShell starts too slowly now says so instead of blaming the destination's permissions, and a post-compaction SessionStart whose serve did not answer in time now says so in its heartbeat.** Three CI flakes behind these are fixed without loosening any bound.
+**A Windows backup whose PowerShell starts too slowly now says so instead of blaming the destination's permissions, and a post-compaction SessionStart whose serve did not answer in time now says so in its heartbeat.** Three CI flakes behind these are fixed without loosening any bound, and the nightly race hunt runs every file again.
### What changed
@@ -22,6 +22,7 @@ identifiers and attribution are available in the pre-removal Git revision
| SessionStart's context pack when a live serve answers nothing within the 1 s client timeout | no pack, heartbeat `ok` with no reason | no pack, heartbeat `degraded` / `ipc_unavailable`, as the user-prompt and compact hooks already report; no serve at all still reads `ok` |
| CI: Windows security-regressions backup round trip | PowerShell 5.1 was still cold when the test ran (46 s: both bounds expired) | the job starts Windows PowerShell once before the backup steps; the cold path is covered by a simulated 50 s cold start |
| CI: bootstrap-hook-under-serve in the serial pool | three pooled neighbours could starve the real serve past the hook's 1 s IPC timeout (Pin 3b at 1,008 ms) | runs on the sequential exclusive lane; the exclusive cap is 4 |
+| Nightly race hunt when 3 iterations of every Postgres arm no longer fit 12 shards of 55 minutes | the files past the budget did not run and the job failed "race hunt over budget" (17 files on 2026-10-23) | every file runs 3 iterations in up to 24 shards; the second 12 queue behind the first, so concurrency stays at 12 |
| CI: a loop-lag bound that fails | printed only the reading | also prints the worst stretch's wall time and the thread's schedstat (time on a CPU, time runnable waiting) |
### Itemized changes
@@ -30,6 +31,7 @@ identifiers and attribution are available in the pre-removal Git revision
- `src/core/context/session-start-pack.ts`, `src/commands/hook.ts`: `ipcUnavailable` when a secret exists but the round trip failed (`test/hook-session-start-serve-wait.serial.test.ts`).
- `scripts/run-serial-tests.sh`, `scripts/serial-files.tsv`, `test/scripts/serial-files.test.ts`: bootstrap-hook-under-serve joins `EXCLUSIVE_FILES`; the growth guard allows 4.
- `.github/workflows/test.yml`: Windows PowerShell start step in security-regressions.
+- `scripts/stress/gate.ts`: `RACE_FLOOR_MAX_SHARDS` (24) packs the 3-iteration floor shard by shard; the race-hunt report reads every page of the run's jobs, so its shard count and runner-minutes are no longer 0 on a run with more than 100 jobs. `scripts/stress/iteration-weights.json`: measured iterations for the 456 files that ran on 2026-10-23.
- `test/helpers/cpu-time.ts`: `watchLoopLag({ reportAtMs })`; the five yield-bound tests pass their bound.
## [0.60.399.0] - 2026-10-23
diff --git a/scripts/stress/README.md b/scripts/stress/README.md
index 48eb94a7c3..03444d7603 100644
--- a/scripts/stress/README.md
+++ b/scripts/stress/README.md
@@ -145,7 +145,10 @@ Postgres, plus the Postgres-arm and E2E importers of helpers changed on master
since the previous night that the gate sampled out. Budget: at most 55-minute
shards, 6 by default, growing to 12; past that every file runs at least 3
iterations nightly and the spare capacity rotates by day, so each file still
-reaches 10 iterations within the week. Files are never dropped: what does not
+reaches 10 iterations within the week. When 3 iterations of every file do not
+fit 12 shards, every file runs 3 in up to 24 shards; the second 12 queue behind
+the first (`max-parallel: 12`), so the night runs longer on the same number of
+concurrent runners. Files are never dropped: what does not
fit fails the job with "race hunt over budget" and the unrun files. A red
prints one `::error` line per failing file with its reproduce command, which
the Test nightly-red issue carries; the response is a repair PR, never a
diff --git a/scripts/stress/gate.ts b/scripts/stress/gate.ts
index 5ae894c500..b80f5c1a46 100644
--- a/scripts/stress/gate.ts
+++ b/scripts/stress/gate.ts
@@ -38,6 +38,8 @@ export const RACE_SHARD_BUDGET_MS = 55 * 60_000;
export const RACE_BASE_SHARDS = 6;
export const RACE_MAX_SHARDS = 12;
export const RACE_MIN_ITERATIONS = 3;
+/** The 3-iteration floor alone may spill past RACE_MAX_SHARDS into a second group that queues behind the first (stress.yml max-parallel 12). */
+export const RACE_FLOOR_MAX_SHARDS = 24;
export const EXEMPTION_LABELS = ['master-red', 'flake', 'nightly-red'];
const TRUSTED_ASSOCIATIONS = new Set(['OWNER', 'MEMBER', 'COLLABORATOR']);
const BOT = 'github-actions[bot]';
@@ -152,8 +154,10 @@ export function raceHuntHelperImporters(root: string, since = '26 hours ago'): {
* The race hunt: every listed Postgres arm at 10 iterations within 6 shards
* of 55 minutes, growing to 12 shards; past that, every file runs at least 3
* iterations nightly and the spare capacity rotates by day so each file still
- * reaches 10 within the week. Files are never dropped: what does not fit is
- * `unrun` and the job fails "race hunt over budget".
+ * reaches 10 within the week. When even 3 iterations do not fit 12 shards,
+ * every file runs 3 in up to 24 shards, the second 12 queued behind the
+ * first. Files are never dropped: what does not fit is `unrun` and the job
+ * fails "race hunt over budget".
*/
export function planRaceHunt(root: string, opts: { day: number; extra?: string[]; diagnostic?: boolean }, weights = loadWeights(root)): Plan {
const list = readArmsList(root);
@@ -178,9 +182,9 @@ export function planRaceHunt(root: string, opts: { day: number; extra?: string[]
}
} else {
depth = new Map();
- let used = 0;
+ const floor: typeof stress = [];
for (const f of stress) {
- if (used + per(f) * RACE_MIN_ITERATIONS <= capacity) { depth.set(f.file, RACE_MIN_ITERATIONS); used += per(f) * RACE_MIN_ITERATIONS; } else unrun.push(f.file);
+ if (planShards([...floor, f], RACE_MIN_ITERATIONS, RACE_SHARD_BUDGET_MS).length <= RACE_FLOOR_MAX_SHARDS) { floor.push(f); depth.set(f.file, RACE_MIN_ITERATIONS); } else unrun.push(f.file);
}
}
}
@@ -398,8 +402,8 @@ export function buildReport(r: ReportInput): { summary: string; errors: string[]
errors.push(`${missing.length} planned work item(s) left no receipt (shards: ${r.shardsResult}). Why: an unrun iteration is not a pass. Next: read the shard logs and re-run. Docs: ${docs}`);
}
if (plan.unrun.length) {
- lines.push('### Race hunt over budget', '', `These files did not fit ${RACE_MAX_SHARDS} shards × ${RACE_SHARD_BUDGET_MS / 60_000} minutes at ${RACE_MIN_ITERATIONS} iterations and did not run:`, ...plan.unrun.map(f => `- \`${f}\``), '', `Next: speed up the slowest listed files or split the race hunt into a second scheduled run. Docs: ${docs}`, '');
- errors.push(`race hunt over budget: ${plan.unrun.length} file(s) did not run (${plan.unrun.slice(0, 5).join(', ')}${plan.unrun.length > 5 ? ', …' : ''}). Why: files are never dropped silently. Next: speed up the slowest files or add a second scheduled shard group. Docs: ${docs}`);
+ lines.push('### Race hunt over budget', '', `These files did not fit ${RACE_FLOOR_MAX_SHARDS} shards × ${RACE_SHARD_BUDGET_MS / 60_000} minutes at ${RACE_MIN_ITERATIONS} iterations and did not run:`, ...plan.unrun.map(f => `- \`${f}\``), '', `Next: speed up the slowest listed files or add a third shard group (RACE_FLOOR_MAX_SHARDS). Docs: ${docs}`, '');
+ errors.push(`race hunt over budget: ${plan.unrun.length} file(s) did not run (${plan.unrun.slice(0, 5).join(', ')}${plan.unrun.length > 5 ? ', …' : ''}). Why: files are never dropped silently. Next: speed up the slowest files or add a third shard group (RACE_FLOOR_MAX_SHARDS). Docs: ${docs}`);
}
if (plan.notStressed.length) { lines.push('### Not stressed', ''); for (const n of plan.notStressed) lines.push(`- \`${n.file}\`: ${n.reason}`); lines.push(''); }
const runtimeSkips = r.manifests.flatMap(m => m.files.filter(f => f.status === 'not-stressed'));
@@ -460,8 +464,13 @@ async function main(argv: string[]): Promise<number> {
let timings: ReturnType<typeof shardTimings> | undefined;
if (client && process.env.GITHUB_RUN_ID) {
try {
- const jobs = await client.request<{ jobs: JobTiming[] }>('GET', `repos/{repo}/actions/runs/${process.env.GITHUB_RUN_ID}/attempts/${process.env.GITHUB_RUN_ATTEMPT ?? 1}/jobs?per_page=100`);
- timings = shardTimings(jobs.jobs);
+ const jobs: JobTiming[] = [];
+ for (let page = 1; ; page++) {
+ const batch = await client.request<{ total_count: number; jobs: JobTiming[] }>('GET', `repos/{repo}/actions/runs/${process.env.GITHUB_RUN_ID}/attempts/${process.env.GITHUB_RUN_ATTEMPT ?? 1}/jobs?per_page=100&page=${page}`);
+ jobs.push(...batch.jobs);
+ if (batch.jobs.length < 100 || jobs.length >= batch.total_count) break;
+ }
+ timings = shardTimings(jobs);
} catch { /* timings are informational */ }
}
const artifact = process.env.GITHUB_SERVER_URL && repo && process.env.GITHUB_RUN_ID ? `${process.env.GITHUB_SERVER_URL}/${repo}/actions/runs/${process.env.GITHUB_RUN_ID}` : '';
diff --git a/scripts/stress/iteration-weights.json b/scripts/stress/iteration-weights.json
index 19045b1f16..5d80b47655 100644
--- a/scripts/stress/iteration-weights.json
+++ b/scripts/stress/iteration-weights.json
@@ -1,29 +1,69 @@
{
+ "test/activation-unbound-rooted-6449.test.ts": 8600,
"test/agent-journey-upgrade.serial.test.ts": 56550,
+ "test/alias-source-cascade-5094.test.ts": 7700,
"test/ambient-recall-hooks.serial.test.ts": 1800,
"test/append-file-read.test.ts": 100,
"test/append-page-operation-lists.test.ts": 200,
"test/attendance-retrieval.test.ts": 11800,
+ "test/attribution-backfill-history.test.ts": 27300,
+ "test/backstop-same-page-shadow-managed-6333.test.ts": 7400,
"test/behavior-change-notice-6712-block.test.ts": 100,
- "test/belief-ledger-append-owner.test.ts": 16350,
- "test/belief-ledger-coverage.test.ts": 85800,
+ "test/behavior-change-notice.test.ts": 6700,
+ "test/belief-ledger-append-owner.test.ts": 18300,
+ "test/belief-ledger-coverage.test.ts": 143100,
+ "test/belief-ledger-group.test.ts": 22300,
+ "test/belief-ledger-identity.test.ts": 32900,
+ "test/belief-ledger-lifecycle.test.ts": 37700,
+ "test/belief-ledger-page-at-time.test.ts": 46300,
+ "test/belief-ledger-privacy.test.ts": 34000,
+ "test/belief-ledger-purge-review.test.ts": 105200,
+ "test/belief-ledger-purge.test.ts": 96700,
+ "test/belief-ledger-restore.test.ts": 139500,
+ "test/belief-ledger-touched.test.ts": 32600,
+ "test/belief-ledger-trust.test.ts": 17100,
+ "test/belief-ledger-w5-time-model.test.ts": 10900,
+ "test/belief-ledger-weekly-diff.test.ts": 83800,
+ "test/belief-ledger-weekly-probes.test.ts": 32000,
"test/brainstorm/save.test.ts": 1800,
+ "test/capacity-bounded-read-6803.test.ts": 5700,
+ "test/capture-consent-admission.test.ts": 6700,
+ "test/capture-dispatch-provenance-6524.test.ts": 6000,
+ "test/chronicle-backfill-max-usd.test.ts": 4000,
"test/chunkers/recursive.test.ts": 700,
+ "test/claim-fifo-foreground-waiting.test.ts": 4900,
+ "test/claim-lease-holder-only-6712.test.ts": 4500,
+ "test/claude-cli-output-cap.test.ts": 10800,
"test/cli-cold-start-registries.test.ts": 12500,
- "test/cli-page-writes.test.ts": 185950,
+ "test/cli-page-writes.test.ts": 159200,
"test/code-file-path-6712.test.ts": 100,
+ "test/colon-slug-windows-5032.test.ts": 7600,
+ "test/company-brain-policy.test.ts": 19100,
+ "test/company-brain-runtime.test.ts": 23800,
"test/config-reader-keys-registered.test.ts": 2200,
+ "test/consolidate-same-instant-6023.test.ts": 8900,
+ "test/conversation-facts-oversized-sidecar.test.ts": 3700,
"test/coordinated-write-commit-gbra133.test.ts": 1350,
+ "test/cycle/synthesize-concepts-merge.test.ts": 4300,
+ "test/db-lock-reconnect.test.ts": 4800,
+ "test/decide/conflict-proposals-managed.test.ts": 12300,
+ "test/declared-lineage-visibility.test.ts": 3000,
+ "test/derived-link-reconciliation.test.ts": 5700,
"test/destructive-guard.test.ts": 7150,
+ "test/direct-pool-profile.test.ts": 9300,
"test/doctor-content-golden.test.ts": 16600,
"test/doctor-day-zero.test.ts": 9250,
"test/doctor-early-stop-golden.serial.test.ts": 700,
- "test/doctor-frontmatter-holds.test.ts": 6200,
+ "test/doctor-frontmatter-holds.test.ts": 12200,
"test/doctor-harness-smoke.test.ts": 5650,
"test/doctor-hot-checks-golden.test.ts": 31400,
+ "test/doctor-image-embedding-coverage.test.ts": 2500,
"test/doctor-json-golden-latest.test.ts": 100,
"test/doctor-json-golden.test.ts": 16150,
+ "test/doctor-keyword-plan-6495.test.ts": 3700,
+ "test/doctor-routing-skill-pack-source.test.ts": 6200,
"test/doctor-slow-pass-6712.test.ts": 1900,
+ "test/doctor-sync-freshness-skill-pack-6076.test.ts": 4200,
"test/drift-watch.test.ts": 2700,
"test/e2e/agent-journey-postgres.test.ts": 16400,
"test/e2e/attendance-retrieval-postgres.test.ts": 31200,
@@ -75,114 +115,315 @@
"test/e2e/upload-transport.test.ts": 56150,
"test/e2e/worker-shutdown-error-matrix-postgres.test.ts": 4700,
"test/e2e/worktree-refresh-postgres.test.ts": 20900,
+ "test/embed-stale-images-managed-6529.test.ts": 6900,
+ "test/embedding-completion-atomic.serial.test.ts": 4800,
+ "test/engine-sql-facts-keyset.test.ts": 3400,
"test/entity-resolve-perf.slow.test.ts": 6250,
- "test/facts-insert-guards-7105.test.ts": 9800,
+ "test/extract-all-stamp-intersection.serial.test.ts": 9500,
+ "test/extract-atoms-input-truncated-6503.test.ts": 4900,
+ "test/extract-endpoint-revision.serial.test.ts": 5300,
+ "test/extract-entities-managed.test.ts": 17300,
+ "test/extract-timeline-from-meetings-managed.test.ts": 11600,
+ "test/extraction-watermark-atoms.test.ts": 5200,
+ "test/fact-embedding-oversized-7211.test.ts": 5600,
+ "test/fact-fence-adoption-exits.test.ts": 17600,
+ "test/fact-purge-lookup-timeout-6511.test.ts": 5200,
+ "test/facts-insert-guards-7105.test.ts": 12000,
+ "test/facts-publication-large-fence-6898.test.ts": 33700,
+ "test/fence-repair-receipts.test.ts": 5900,
"test/file-drift-bulk-reconcile.test.ts": 5550,
"test/fix-wave-4-journeys.test.ts": 6050,
"test/fix-wave-5-integration.test.ts": 9100,
"test/fold-hook-noop-6712.test.ts": 1500,
+ "test/forecast-journal.test.ts": 26300,
"test/frontmatter-alias-bomb.test.ts": 100,
+ "test/frontmatter-reserved-keys-6454.test.ts": 6300,
+ "test/get-chunks-paging.test.ts": 5000,
+ "test/google-connector-facts-fence-7292.test.ts": 13200,
+ "test/grade-takes-window.test.ts": 2500,
+ "test/graduation-copy.test.ts": 27900,
+ "test/graduation-digest.test.ts": 900,
+ "test/graduation-drain.test.ts": 10900,
+ "test/graduation-inventory.test.ts": 3800,
+ "test/graduation-rollback.test.ts": 114100,
+ "test/graduation-state.test.ts": 147700,
+ "test/graduation-target.test.ts": 4800,
+ "test/graduation-verify-sync-freshness.test.ts": 2500,
+ "test/graduation-verify.test.ts": 11800,
+ "test/grandfather-managed.test.ts": 21800,
"test/hardened-git-stream-6712.test.ts": 3900,
- "test/hold-action-chain-6712.test.ts": 11600,
+ "test/harness-skills-epoch.test.ts": 5900,
+ "test/held-read-signals.test.ts": 5800,
+ "test/hold-action-chain-6712.test.ts": 15200,
"test/import-cancellation.serial.test.ts": 1350,
- "test/import-file-result-callback-gbra130.test.ts": 2700,
+ "test/import-file-result-callback-gbra130.test.ts": 4600,
"test/import-file.test.ts": 1850,
+ "test/import-frontmatter-key-order-5158.test.ts": 2600,
+ "test/import-inline-chunk-keep.test.ts": 4000,
+ "test/import-revision-concurrency.test.ts": 4700,
"test/interleaved-timing.test.ts": 100,
"test/keep-db-consumer-retired.test.ts": 10550,
"test/keep-db-pass-admission.test.ts": 4150,
"test/keep-db-pass-cap-6712.test.ts": 18800,
- "test/large-pages/append-concurrency.test.ts": 30800,
- "test/large-pages/append-cost.test.ts": 45200,
- "test/large-pages/append-mention-links.test.ts": 13750,
- "test/large-pages/edit-segmented.test.ts": 21100,
- "test/large-pages/managed-import-outside-root.test.ts": 25800,
- "test/large-pages/managed-import-projection-pending.test.ts": 30850,
- "test/large-pages/managed-streamed-import.test.ts": 54800,
+ "test/keyword-statement-timeout-knob-6495.test.ts": 11000,
+ "test/keyword-timeout-negative-cache-6495.test.ts": 4600,
+ "test/lane-apply-pipelining.test.ts": 2800,
+ "test/large-pages/append-concurrency.test.ts": 30500,
+ "test/large-pages/append-cost.test.ts": 44800,
+ "test/large-pages/append-mention-links.test.ts": 22800,
+ "test/large-pages/chunk-retirement-plan.test.ts": 6700,
+ "test/large-pages/chunk-visibility.test.ts": 3900,
+ "test/large-pages/contextual-reembed-segmented.test.ts": 3900,
+ "test/large-pages/credential-reseal-segments.test.ts": 5400,
+ "test/large-pages/doctor-skipped-segmented.test.ts": 16000,
+ "test/large-pages/edit-segmented.test.ts": 34800,
+ "test/large-pages/forget-reason-segmented.test.ts": 6500,
+ "test/large-pages/forget-scope.test.ts": 14700,
+ "test/large-pages/gbra117-segmented-classes-window.test.ts": 48300,
+ "test/large-pages/held-budget-count-list.test.ts": 12000,
+ "test/large-pages/held-budget-shrink.test.ts": 10800,
+ "test/large-pages/managed-import-outside-root.test.ts": 30700,
+ "test/large-pages/managed-import-projection-pending.test.ts": 83100,
+ "test/large-pages/managed-links-timeline-heap.test.ts": 41900,
+ "test/large-pages/managed-streamed-import.test.ts": 43600,
+ "test/large-pages/managed-sync-segmented-rename.test.ts": 22800,
"test/large-pages/managed-sync-streamed-crash.test.ts": 16000,
- "test/large-pages/managed-sync-streamed.test.ts": 111500,
- "test/large-pages/projection-claim-ownership.test.ts": 28100,
- "test/large-pages/publication-seal-bounded.test.ts": 22350,
- "test/large-pages/purge-fact-segmented-preimage.test.ts": 17300,
- "test/large-pages/recovery-budget-ceiling.slow.test.ts": 210350,
- "test/large-pages/recovery-budget-default.test.ts": 6450,
- "test/large-pages/segmented-delete-stage-crash.slow.test.ts": 124300,
- "test/large-pages/segmented-file-drift-ledger.test.ts": 36300,
- "test/large-pages/segmented-get-page-parity.test.ts": 15800,
- "test/large-pages/segmented-semantic-writes.test.ts": 74450,
- "test/large-pages/segmented-storage-visibility.test.ts": 19750,
- "test/large-pages/segmented-switch.test.ts": 24900,
- "test/large-pages/segmented-withdrawal-mirror.test.ts": 240950,
+ "test/large-pages/managed-sync-streamed.test.ts": 110500,
+ "test/large-pages/oversized-backfill-segmented.test.ts": 12600,
+ "test/large-pages/page-purge-segments.test.ts": 45200,
+ "test/large-pages/pinned-segmented-reads.test.ts": 40500,
+ "test/large-pages/projection-claim-ownership.test.ts": 32300,
+ "test/large-pages/projection-demotion-race.test.ts": 5100,
+ "test/large-pages/projection-lock-hold.test.ts": 46100,
+ "test/large-pages/projection-parity.test.ts": 44900,
+ "test/large-pages/publication-seal-bounded.test.ts": 17800,
+ "test/large-pages/purge-fact-inflight-staging.test.ts": 14000,
+ "test/large-pages/purge-fact-segmented-preimage.test.ts": 14300,
+ "test/large-pages/purge-inflight-create.test.ts": 10500,
+ "test/large-pages/purge-replay-segments.test.ts": 10700,
+ "test/large-pages/purge-segment-residue.test.ts": 3900,
+ "test/large-pages/purge-segmented-versions-batch.test.ts": 11600,
+ "test/large-pages/purge-segments.test.ts": 8500,
+ "test/large-pages/recovery-budget-ceiling.slow.test.ts": 254000,
+ "test/large-pages/recovery-budget-default.test.ts": 7800,
+ "test/large-pages/remote-get-page-privacy.test.ts": 66000,
+ "test/large-pages/remote-versions-storage-change.test.ts": 3800,
+ "test/large-pages/remote-window-privacy.test.ts": 48200,
+ "test/large-pages/restore-deferred-retire.test.ts": 29700,
+ "test/large-pages/restore-publication-statement-bound.test.ts": 33600,
+ "test/large-pages/restore-segmented-reprojects.test.ts": 71800,
+ "test/large-pages/sealed-segmented-search.test.ts": 12400,
+ "test/large-pages/second-write-deferred-retire.test.ts": 13600,
+ "test/large-pages/segment-rewrite-cr-tier.test.ts": 7500,
+ "test/large-pages/segment-vector-reuse.test.ts": 4100,
+ "test/large-pages/segmented-append-reembed.test.ts": 7800,
+ "test/large-pages/segmented-body-unreachable.test.ts": 4000,
+ "test/large-pages/segmented-bom.test.ts": 22600,
+ "test/large-pages/segmented-conversation-facts.test.ts": 32100,
+ "test/large-pages/segmented-conversation-sidecar-token.test.ts": 23900,
+ "test/large-pages/segmented-core-list.test.ts": 22500,
+ "test/large-pages/segmented-create-searchable.test.ts": 37400,
+ "test/large-pages/segmented-delete-crash.slow.test.ts": 75400,
+ "test/large-pages/segmented-delete-restore-file.slow.test.ts": 138200,
+ "test/large-pages/segmented-delete-stage-crash.slow.test.ts": 169100,
+ "test/large-pages/segmented-derived-parity.test.ts": 12400,
+ "test/large-pages/segmented-derived-passes.test.ts": 21600,
+ "test/large-pages/segmented-derived-work.test.ts": 77800,
+ "test/large-pages/segmented-embedding-paths.test.ts": 36500,
+ "test/large-pages/segmented-embedding.test.ts": 2700,
+ "test/large-pages/segmented-evidence-read-cost.test.ts": 34300,
+ "test/large-pages/segmented-evidence.test.ts": 33500,
+ "test/large-pages/segmented-extraction-stale.test.ts": 11600,
+ "test/large-pages/segmented-facts-forced-lines.test.ts": 8600,
+ "test/large-pages/segmented-facts-reconcile.test.ts": 94800,
+ "test/large-pages/segmented-file-drift-ledger.test.ts": 57700,
+ "test/large-pages/segmented-file-drift.test.ts": 86600,
+ "test/large-pages/segmented-forced-cuts.test.ts": 71200,
+ "test/large-pages/segmented-frontmatter-reimport.test.ts": 43200,
+ "test/large-pages/segmented-get-cli.test.ts": 32500,
+ "test/large-pages/segmented-get-page-parity.test.ts": 13500,
+ "test/large-pages/segmented-leads.test.ts": 17800,
+ "test/large-pages/segmented-loser-chunks.test.ts": 7100,
+ "test/large-pages/segmented-maintenance-commands.test.ts": 15400,
+ "test/large-pages/segmented-prior-view.test.ts": 10500,
+ "test/large-pages/segmented-read-refusals.test.ts": 9900,
+ "test/large-pages/segmented-real-size.slow.test.ts": 58000,
+ "test/large-pages/segmented-remember-refusal.test.ts": 19900,
+ "test/large-pages/segmented-repair-scans.test.ts": 18700,
+ "test/large-pages/segmented-retained-blocks.test.ts": 52500,
+ "test/large-pages/segmented-search-dedup.test.ts": 15200,
+ "test/large-pages/segmented-semantic-writes-near-ceiling.slow.test.ts": 135800,
+ "test/large-pages/segmented-semantic-writes.test.ts": 79400,
+ "test/large-pages/segmented-shrink-below-ceiling.test.ts": 69700,
+ "test/large-pages/segmented-storage-visibility.test.ts": 21200,
+ "test/large-pages/segmented-sweep-budget.test.ts": 20900,
+ "test/large-pages/segmented-sweep-deferral.test.ts": 21800,
+ "test/large-pages/segmented-switch.test.ts": 35200,
+ "test/large-pages/segmented-think-compile-leads.serial.test.ts": 10300,
+ "test/large-pages/segmented-timeline-heap.test.ts": 64300,
+ "test/large-pages/segmented-timeline-retract-versions.test.ts": 9600,
+ "test/large-pages/segmented-versions.test.ts": 3100,
+ "test/large-pages/segmented-withdrawal-mirror.test.ts": 191800,
+ "test/large-pages/segmented-withdrawn-fence-delete.test.ts": 68400,
"test/large-pages/segmented-writer-floor.test.ts": 100,
- "test/large-pages/streamed-sync-origin-b14.test.ts": 74450,
- "test/large-pages/stuck-recovery-large.slow.test.ts": 230300,
- "test/large-pages/upload-binding.test.ts": 5250,
- "test/large-pages/upload-over-ceiling.test.ts": 91450,
- "test/large-pages/upload-review.test.ts": 4400,
- "test/links-extraction-yield.test.ts": 6100,
+ "test/large-pages/streamed-import-drift.test.ts": 31500,
+ "test/large-pages/streamed-sync-origin-b14.test.ts": 79900,
+ "test/large-pages/stuck-recovery-large.slow.test.ts": 150400,
+ "test/large-pages/upload-binding.test.ts": 5800,
+ "test/large-pages/upload-over-ceiling.test.ts": 154600,
+ "test/large-pages/upload-review.test.ts": 7400,
+ "test/large-pages/v252-master-reader-compat.test.ts": 8600,
+ "test/link-cross-source.test.ts": 6600,
+ "test/link-preparation-shared-index.test.ts": 8000,
+ "test/links-attendance-blocked.test.ts": 10400,
+ "test/links-extraction-yield.test.ts": 9100,
"test/loop-lag-cpu-clock.test.ts": 550,
- "test/managed-sync-blocked-job-6858.test.ts": 2800,
- "test/managed-sync-bulk.test.ts": 216950,
- "test/managed-sync-checkpoint-controls-company.test.ts": 3000,
- "test/managed-sync-concurrent-write-hold.test.ts": 7850,
- "test/managed-sync-drain.test.ts": 5750,
- "test/managed-sync-group-uncommitted-head.test.ts": 38850,
- "test/managed-sync-keep-disk-6858.test.ts": 25050,
- "test/managed-sync-lanes.test.ts": 20000,
- "test/managed-sync-page-fault-holds.test.ts": 12750,
- "test/managed-sync-pinned-reads.test.ts": 17400,
- "test/managed-sync-preparation-stalled-holds.test.ts": 98050,
- "test/managed-sync-row-parity.test.ts": 5850,
- "test/managed-sync-stale-group-head.test.ts": 6000,
+ "test/managed-cycle-pull-upstream.test.ts": 6400,
+ "test/managed-facts-withdrawal-recovery-6506.test.ts": 13900,
+ "test/managed-facts-withdrawn-skip-6506.test.ts": 5900,
+ "test/managed-lint.test.ts": 9600,
+ "test/managed-maintenance-links.test.ts": 9600,
+ "test/managed-root-aliases-7203.test.ts": 45000,
+ "test/managed-sweep-corpus-windows.test.ts": 8100,
+ "test/managed-sweep-refused-window-retry.test.ts": 9300,
+ "test/managed-sweep-timeline.test.ts": 6300,
+ "test/managed-sync-blocked-job-6858.test.ts": 6300,
+ "test/managed-sync-bulk.test.ts": 221000,
+ "test/managed-sync-checkpoint-controls-company.test.ts": 8200,
+ "test/managed-sync-chunker-version.test.ts": 4100,
+ "test/managed-sync-concurrent-write-hold.test.ts": 11100,
+ "test/managed-sync-connection-loss.test.ts": 10400,
+ "test/managed-sync-drain.test.ts": 7400,
+ "test/managed-sync-foreground-priority.test.ts": 65400,
+ "test/managed-sync-gate-markers-6858.test.ts": 7300,
+ "test/managed-sync-group-completion.test.ts": 11600,
+ "test/managed-sync-group-uncommitted-head.test.ts": 40300,
+ "test/managed-sync-images-5493.test.ts": 10000,
+ "test/managed-sync-keep-disk-6858.test.ts": 28000,
+ "test/managed-sync-lanes.test.ts": 22300,
+ "test/managed-sync-orphans-incarnation-6518.test.ts": 2200,
+ "test/managed-sync-page-fault-holds.test.ts": 28000,
+ "test/managed-sync-pinned-reads.test.ts": 25300,
+ "test/managed-sync-preparation-stalled-holds.test.ts": 107500,
+ "test/managed-sync-row-parity.test.ts": 11500,
+ "test/managed-sync-stale-group-head.test.ts": 9000,
"test/managed-synthesis-postprocess.test.ts": 11250,
"test/mentions-policy-aliases.test.ts": 200,
+ "test/migration-persistence-request-id-index.test.ts": 7400,
+ "test/migration-persistence-request-slug-index.test.ts": 7900,
"test/normalized-file-hash.test.ts": 200,
+ "test/on-commit-embedding.serial.test.ts": 7700,
+ "test/oneshot-consumer-direct-route.test.ts": 4200,
+ "test/oneshot-housekeeping-cli.test.ts": 12900,
"test/op-checkpoint-pass-rows-gc-6712.test.ts": 700,
"test/operations-coverage-ledger.test.ts": 200,
- "test/overwritten-edits-6712.test.ts": 40300,
- "test/page-prepare-shared-origin-6517.test.ts": 8400,
+ "test/origin-guard-6948.test.ts": 9800,
+ "test/origin-twin-sequence-7150.test.ts": 13400,
+ "test/origin-twins-6948.test.ts": 4300,
+ "test/overwritten-edits-6712.test.ts": 18600,
+ "test/owner-refusal.test.ts": 5700,
+ "test/pack-relation-direction-engine.test.ts": 5100,
+ "test/page-embedding-budget.test.ts": 3100,
+ "test/page-embedding-content-validity.test.ts": 4300,
+ "test/page-embedding-install-batch.test.ts": 3200,
+ "test/page-prepare-shared-origin-6517.test.ts": 10100,
+ "test/page-purge-batch-sweep-6884.test.ts": 6200,
+ "test/page-purge-journal-timeout-6511.test.ts": 16300,
"test/page-row-deleters-guard-6712.test.ts": 300,
+ "test/page-state-engine.test.ts": 5800,
+ "test/pages-status-7179.test.ts": 17100,
"test/pages-unsearchable.test.ts": 4600,
- "test/pathological/a-36-facts-batch-partial-refusal.test.ts": 12050,
- "test/pathological/a-42-atom-dot-led-slug.test.ts": 13750,
- "test/pathological/a-51-conversation-batch-booking.test.ts": 7700,
- "test/pathological/a1-links-extract.test.ts": 26800,
- "test/pathological/a10-global-maintenance-stamp.test.ts": 2600,
- "test/pathological/a11-effect-retry-budget.test.ts": 45700,
- "test/pathological/a12-withdrawal-mirror-gate.test.ts": 62900,
- "test/pathological/a13-embedding-target-park.test.ts": 23850,
- "test/pathological/a15-deactivate-exits.test.ts": 5150,
- "test/pathological/a18-ledger-path-text.test.ts": 29950,
- "test/pathological/a2-transcripts-ingest.test.ts": 40800,
- "test/pathological/a21-facts-expire-deleted.test.ts": 21950,
- "test/pathological/a22-consolidate-buckets.test.ts": 30050,
- "test/pathological/a23-patterns-grounding.test.ts": 25750,
- "test/pathological/a24-phantom-redirect-cursor.test.ts": 22350,
- "test/pathological/a25-propose-takes-poison-pages.test.ts": 33000,
- "test/pathological/a26-safe-chunks-reseal.test.ts": 7250,
- "test/pathological/a27-credential-reseal.test.ts": 5200,
- "test/pathological/a3-google-items.test.ts": 89450,
- "test/pathological/a30-watchdog-attribution.test.ts": 5600,
- "test/pathological/a31-migrate-loop-rows.serial.test.ts": 29600,
- "test/pathological/a4-synthesize-postprocess.test.ts": 13100,
- "test/pathological/a41-maintain-sources.test.ts": 36850,
- "test/pathological/a45-repair-all-kinds.test.ts": 3300,
- "test/pathological/a47-backfill-poison-row.test.ts": 3600,
- "test/pathological/a9-repair-core.test.ts": 6400,
- "test/pathological/b-7-facts-pageless-entity.test.ts": 8500,
- "test/pathological/b-9-enrich-retired-alias.test.ts": 3300,
- "test/pathological/b12-slug-segment-bytes.test.ts": 13550,
- "test/pathological/b5-enrich-entity-identity.test.ts": 2450,
- "test/pathological/b5-export-unsafe-slugs.test.ts": 21150,
- "test/pathological/b6-triage-verdict-surrogate.test.ts": 2000,
- "test/pathological/c-23-override-and-doctor-fixes.test.ts": 8500,
- "test/pathological/c1-effect-stuck-recovery.test.ts": 45450,
- "test/pathological/c2-url-clone-fences.test.ts": 39700,
+ "test/pathological/a-36-facts-batch-partial-refusal.test.ts": 6900,
+ "test/pathological/a-42-atom-dot-led-slug.test.ts": 11000,
+ "test/pathological/a-51-conversation-batch-booking.test.ts": 8200,
+ "test/pathological/a-60-belief-commit-mark.test.ts": 5000,
+ "test/pathological/a-65-captured-facts-unreadable-corpus.test.ts": 5700,
+ "test/pathological/a1-links-extract.test.ts": 44800,
+ "test/pathological/a10-global-maintenance-stamp.test.ts": 4400,
+ "test/pathological/a11-effect-retry-budget.test.ts": 25300,
+ "test/pathological/a12-withdrawal-mirror-gate.test.ts": 67000,
+ "test/pathological/a13-embedding-target-park.test.ts": 47000,
+ "test/pathological/a15-deactivate-exits.test.ts": 4500,
+ "test/pathological/a18-ledger-path-text.test.ts": 19300,
+ "test/pathological/a2-transcripts-ingest.test.ts": 71000,
+ "test/pathological/a21-facts-expire-deleted.test.ts": 45400,
+ "test/pathological/a22-consolidate-buckets.test.ts": 18800,
+ "test/pathological/a23-patterns-grounding.test.ts": 46800,
+ "test/pathological/a24-phantom-redirect-cursor.test.ts": 27200,
+ "test/pathological/a25-propose-takes-poison-pages.test.ts": 26600,
+ "test/pathological/a26-safe-chunks-reseal.test.ts": 8900,
+ "test/pathological/a27-credential-reseal.test.ts": 5000,
+ "test/pathological/a3-google-items.test.ts": 81200,
+ "test/pathological/a30-watchdog-attribution.test.ts": 5400,
+ "test/pathological/a31-migrate-loop-rows.serial.test.ts": 21700,
+ "test/pathological/a4-synthesize-postprocess.test.ts": 11000,
+ "test/pathological/a41-maintain-sources.test.ts": 19800,
+ "test/pathological/a44-slug-conflicts-rotation.test.ts": 33100,
+ "test/pathological/a45-repair-all-kinds.test.ts": 5900,
+ "test/pathological/a46-content-lane-kinds.test.ts": 2500,
+ "test/pathological/a47-backfill-poison-row.test.ts": 3900,
+ "test/pathological/a49-unmanaged-purge-tombstones.test.ts": 27400,
+ "test/pathological/a50-unmanaged-expired-sources.test.ts": 7900,
+ "test/pathological/a9-repair-core.test.ts": 3900,
+ "test/pathological/b-10-ontology-rekey-collision.test.ts": 3100,
+ "test/pathological/b-7-facts-pageless-entity.test.ts": 11300,
+ "test/pathological/b-9-enrich-retired-alias.test.ts": 12500,
+ "test/pathological/b12-slug-segment-bytes.test.ts": 13800,
+ "test/pathological/b5-enrich-entity-identity.test.ts": 3000,
+ "test/pathological/b5-export-unsafe-slugs.test.ts": 21100,
+ "test/pathological/b6-triage-verdict-surrogate.test.ts": 3100,
+ "test/pathological/c-23-override-and-doctor-fixes.test.ts": 10000,
+ "test/pathological/c-9-facts-absorb-dead.test.ts": 5700,
+ "test/pathological/c1-effect-stuck-recovery.test.ts": 40800,
+ "test/pathological/c2-url-clone-fences.test.ts": 45300,
+ "test/pathological/c22-stuck-recovery-large-file.test.ts": 33400,
"test/pathological/c3-pglite-legacy-lock.test.ts": 4200,
- "test/pathological/c4-bundle-stuck-recovery.test.ts": 149500,
- "test/pathological/c5-writer-transfer-cancel.test.ts": 32250,
- "test/pathological/c7-content-receipt-root.test.ts": 17350,
+ "test/pathological/c4-bundle-stuck-recovery.test.ts": 149400,
+ "test/pathological/c5-writer-transfer-cancel.test.ts": 20000,
+ "test/pathological/c7-content-receipt-root.test.ts": 25200,
+ "test/pathological/d1-unfenced-facts-overwrite.test.ts": 37000,
+ "test/pathological/d10-derived-atom-file-overwrite.test.ts": 17900,
+ "test/pathological/d11-derived-retired-atom-unlink.test.ts": 20600,
+ "test/pathological/d12-concept-stale-fences.test.ts": 22300,
+ "test/pathological/d13-concept-occupied-path.test.ts": 10000,
+ "test/pathological/d14-brainstorm-resume-overwrite.test.ts": 13300,
+ "test/pathological/d15-sync-reexport-overwrite.test.ts": 11600,
+ "test/pathological/d16-google-file-replacement.test.ts": 16500,
+ "test/pathological/d17-github-file-replacement.test.ts": 25000,
+ "test/pathological/d18-think-take-db-only.test.ts": 19300,
+ "test/pathological/d19-takes-bootstrap-db-only.test.ts": 41600,
+ "test/pathological/d2-fence-write-overwrite.test.ts": 27700,
+ "test/pathological/d21-migration-verifier-record.test.ts": 58200,
+ "test/pathological/d22-legacy-hash-body-history.test.ts": 24600,
+ "test/pathological/d23-extract-atoms-db-only.test.ts": 56600,
+ "test/pathological/d3-forget-overwrite.test.ts": 24900,
+ "test/pathological/d4-proposal-overwrite.test.ts": 68400,
+ "test/pathological/d5-phantom-canonical-overwrite.test.ts": 20800,
+ "test/pathological/d6-phantom-file-unlink.test.ts": 16700,
+ "test/pathological/d7-synthesize-reverse-write.test.ts": 25600,
+ "test/pathological/d8-patterns-reverse-write.test.ts": 38300,
+ "test/pathological/d9-dream-summary-overwrite.test.ts": 15100,
+ "test/pathological/facts-mirror-failures.test.ts": 29600,
+ "test/pathological/g0-derived-retirement-hold.test.ts": 9000,
+ "test/pathological/g1-atom-generations.test.ts": 17600,
+ "test/pathological/g1-generation-crash.test.ts": 21400,
+ "test/pathological/g1-generation-probes.test.ts": 23600,
+ "test/pathological/g1-generations.test.ts": 30600,
+ "test/pathological/h1-zero-yield-atom-reextract.test.ts": 17000,
+ "test/pathological/h2-git-effect-moved-remote.test.ts": 14200,
+ "test/pathological/h3-chronicle-partial-generation.test.ts": 54100,
+ "test/pathological/h4-conversation-facts-zero-yield.test.ts": 49900,
+ "test/pathological/h5-atoms-restore.test.ts": 22200,
"test/pathological/inventory-deferred.test.ts": 100,
"test/pathological/item-failure.test.ts": 250,
+ "test/pathological/lp-a-segmented-mirror.test.ts": 76000,
+ "test/pathological/lp-b-transient-retry-budget.test.ts": 86300,
+ "test/pathological/lp-c-publication-ceiling-retry.test.ts": 83400,
+ "test/pathological/lp-d-recovery-version.test.ts": 14100,
+ "test/pathological/lp-d-segmented-mirror-gate.test.ts": 13200,
+ "test/pathological/lp-f-split-fence-withdrawal-capacity.test.ts": 12400,
+ "test/pathological/lp-g-file-digest-fence-bound.test.ts": 24600,
+ "test/pathological/lp-h-purge-orphan-segment-text.test.ts": 39300,
"test/pathological/pg-round-trips-6930.test.ts": 1600,
"test/pathological/s-7086-mirror-dry-run.test.ts": 900,
"test/pathological/s-classic-byte-paths.test.ts": 8150,
@@ -190,78 +431,168 @@
"test/pathological/s-sync-offpath-2b.test.ts": 19900,
"test/pathological/s-truthful-sync-status.test.ts": 2950,
"test/pathological/sites.test.ts": 100,
+ "test/pathological/w1-write-through-staging-window.serial.test.ts": 6000,
+ "test/persistence-background-pause.test.ts": 4100,
+ "test/persistence-bounded-read-session.test.ts": 6100,
+ "test/persistence-capacity-forecast.test.ts": 11100,
+ "test/persistence-capacity-notices.test.ts": 7600,
+ "test/persistence-commit-durability.test.ts": 3800,
"test/persistence-crash-robot.test.ts": 40650,
+ "test/persistence-deactivate.test.ts": 11900,
+ "test/persistence-diagnostics.test.ts": 9100,
+ "test/persistence-edit-embedding-reuse.test.ts": 6400,
+ "test/persistence-embedding-noop-settle.test.ts": 6900,
+ "test/persistence-file-import.test.ts": 28400,
+ "test/persistence-git-subdir-origin.test.ts": 18000,
+ "test/persistence-graph-publication.test.ts": 5100,
+ "test/persistence-history-fixture.test.ts": 25400,
+ "test/persistence-image-import.serial.test.ts": 4900,
+ "test/persistence-import-batch.test.ts": 21400,
"test/persistence-index-lock-reclaim-6932.test.ts": 8750,
- "test/persistence-managed-lifecycle.test.ts": 13850,
- "test/persistence-managed-sync.test.ts": 171200,
+ "test/persistence-managed-lifecycle.test.ts": 14300,
+ "test/persistence-managed-sync.test.ts": 188800,
+ "test/persistence-manifest-git-scope.test.ts": 8200,
+ "test/persistence-memory-mutations.test.ts": 7100,
+ "test/persistence-page-authority.test.ts": 5700,
+ "test/persistence-physical-root-device.test.ts": 3200,
+ "test/persistence-preactivation-claim.test.ts": 9400,
+ "test/persistence-publication-deadline.test.ts": 20200,
+ "test/persistence-receipt-true-up.test.ts": 6300,
+ "test/persistence-reconcile-git-dirty-6138.test.ts": 4500,
+ "test/persistence-skill-bundles.serial.test.ts": 7800,
+ "test/persistence-skill-crash.slow.test.ts": 50300,
+ "test/persistence-skip-cost.test.ts": 8200,
"test/persistence-sync-checkpoint-validation.test.ts": 10400,
- "test/persistence-sync-cursor-options.test.ts": 3500,
- "test/persistence-sync-cursor-strategy-6696.test.ts": 4650,
+ "test/persistence-sync-cursor-options.test.ts": 7400,
+ "test/persistence-sync-cursor-strategy-6696.test.ts": 9100,
"test/persistence-sync-failures.serial.test.ts": 36700,
- "test/persistence-sync-fence-holds.test.ts": 13000,
- "test/persistence-sync-holds.test.ts": 14300,
+ "test/persistence-sync-fence-holds.test.ts": 17100,
+ "test/persistence-sync-holds.test.ts": 34400,
+ "test/persistence-sync-lease.test.ts": 33400,
"test/persistence-sync-legacy-files-5751.test.ts": 2400,
+ "test/persistence-sync-metafile-pages.test.ts": 5300,
"test/persistence-sync-options.serial.test.ts": 58950,
"test/persistence-sync-origin-native.test.ts": 10750,
"test/persistence-sync-stdio-owner.test.ts": 22450,
"test/persistence-worktree-refresh.test.ts": 24800,
- "test/persistence-write-interrupted.test.ts": 40700,
+ "test/persistence-write-interrupted.test.ts": 66200,
+ "test/persistence-write-stall.test.ts": 4500,
+ "test/persistence-writer-fences.test.ts": 3900,
+ "test/physical-root-birth-tolerance-6501.test.ts": 7500,
"test/postgres-driver-vendor-6930.test.ts": 100,
"test/projection-statistics.test.ts": 17350,
+ "test/purge-fact.test.ts": 5300,
+ "test/purge-global-marker.test.ts": 7700,
+ "test/purge-missing-cache-6911.test.ts": 6600,
+ "test/purge-read-surfaces.test.ts": 19400,
+ "test/purge-sync-tombstone-hold-7130.test.ts": 20900,
+ "test/read-meta-diag.test.ts": 2900,
"test/read-waves-gbra133.test.ts": 2200,
- "test/receipt-compaction-newest-sync-gbra130.test.ts": 3350,
+ "test/recall-page-fill.test.ts": 14800,
+ "test/receipt-compaction-newest-sync-gbra130.test.ts": 7200,
"test/receipt-coverage.test.ts": 200,
"test/reconcile-owner-journey.serial.test.ts": 91500,
+ "test/remediation-manual-only.test.ts": 8300,
"test/remote-body.test.ts": 100,
"test/remote-privacy-sweep.test.ts": 7250,
"test/repair-apply-continue-6459.test.ts": 1400,
- "test/repair-apply-pending-6543.test.ts": 55800,
+ "test/repair-apply-pending-6543.test.ts": 43800,
+ "test/repair-database-stop-gbra133.test.ts": 5000,
+ "test/repair-embedding-effects.test.ts": 20300,
"test/repair-explicit-only.test.ts": 1300,
+ "test/repair-failed-writes-conflict-6429.test.ts": 6800,
+ "test/repair-failed-writes-drift-w411.test.ts": 12300,
"test/repair-fences-during-catchup.test.ts": 3250,
- "test/repair-file-drift-held-6712.test.ts": 5900,
- "test/repair-frontmatter.test.ts": 11450,
+ "test/repair-fences.test.ts": 24000,
+ "test/repair-file-drift-deleted-6712.test.ts": 21800,
+ "test/repair-file-drift-held-6712.test.ts": 6200,
+ "test/repair-file-drift-held-window-gbra133.test.ts": 43500,
+ "test/repair-file-drift-provenance-gbra133.test.ts": 9400,
+ "test/repair-frontmatter-keys-sweep-6454.test.ts": 6600,
+ "test/repair-frontmatter.test.ts": 19100,
+ "test/repair-ghost-database-ahead-gbra133.test.ts": 7900,
"test/repair-legacy-twins-6885.test.ts": 5100,
+ "test/repair-receipt-compaction.test.ts": 4000,
+ "test/repair-rename-identity-6729.test.ts": 22300,
"test/repair-stuck-recovery.test.ts": 3450,
+ "test/retrieval-coverage-notices.test.ts": 5800,
+ "test/schema-missing-tables.test.ts": 3800,
"test/scripts/check-item-allowlist-catches.test.ts": 800,
"test/scripts/nightly-issue.test.ts": 200,
+ "test/scripts/test-stress-postgres.test.ts": 11400,
+ "test/search-read-keyword-bound.test.ts": 3700,
+ "test/search/page-rank-cut.test.ts": 8500,
+ "test/search/rerank-gate-hybrid.test.ts": 5900,
+ "test/search/rerank-gate-telemetry.test.ts": 5100,
"test/secret-scan-perf.test.ts": 11000,
+ "test/serve-head-watcher-managed.serial.test.ts": 7200,
"test/serve-http-head-watcher.serial.test.ts": 1050,
"test/serve-http-run-teardown.serial.test.ts": 1400,
"test/serve-sync-handoff.serial.test.ts": 4100,
+ "test/shared-content-freshness.test.ts": 6900,
+ "test/shared-skills-catalog.test.ts": 17200,
+ "test/shared-skills-retention-capacity.test.ts": 3800,
+ "test/shared-skills-source-opt-out.test.ts": 2400,
+ "test/shared-skills-writer-boundary.test.ts": 25300,
"test/slice-memo-gbra108.test.ts": 100,
"test/slug-autoheal-pass-6712.test.ts": 1000,
- "test/sync-absent-from-worktree-s27.test.ts": 7400,
- "test/sync-admission-6712.test.ts": 1500,
+ "test/source-lifecycle-dry-run-physical-root-6849.test.ts": 1900,
+ "test/source-retire-missing-checkout.test.ts": 4200,
+ "test/source-row-diagnostics.test.ts": 2100,
+ "test/sources-resolve-path.test.ts": 12100,
+ "test/stats-health-source-scope.test.ts": 5400,
+ "test/sync-absent-from-worktree-s27.test.ts": 12000,
+ "test/sync-admission-6712.test.ts": 3000,
"test/sync-alias-limit-hold-6712.test.ts": 4000,
- "test/sync-checkpoint-moved-6834.test.ts": 3500,
+ "test/sync-capacity-preflight.test.ts": 5500,
+ "test/sync-checkpoint-moved-6834.test.ts": 9100,
"test/sync-classify-6712.test.ts": 950,
"test/sync-config-keys-6712.test.ts": 600,
"test/sync-convergence-seeded-6712.test.ts": 7200,
"test/sync-delegated-options-6696.serial.test.ts": 5350,
"test/sync-delete-batch.slow.test.ts": 7100,
+ "test/sync-discovery-legacy-origin-7130.test.ts": 5100,
"test/sync-dispatch-read-gbra133.test.ts": 2250,
- "test/sync-drain-effect-recovery-blocked.test.ts": 4300,
+ "test/sync-drain-claims.test.ts": 9800,
+ "test/sync-drain-effect-recovery-blocked.test.ts": 6200,
"test/sync-drain-finish-tail.test.ts": 6000,
+ "test/sync-drain-head-blocked-6543.test.ts": 6000,
+ "test/sync-drain-inpass-stall.test.ts": 6000,
+ "test/sync-drain-write-capacity.test.ts": 7300,
+ "test/sync-dry-run-drain-7167.test.ts": 4400,
"test/sync-entry-faults-6712.test.ts": 25000,
- "test/sync-exits-l4-6712.test.ts": 5700,
- "test/sync-full-cursor-slices-6349.test.ts": 3400,
- "test/sync-full-untracked-import-5459.test.ts": 11800,
- "test/sync-handler-drain-6706.test.ts": 29850,
+ "test/sync-exits-l4-6712.test.ts": 8900,
+ "test/sync-freshness-6858.test.ts": 3000,
+ "test/sync-frontmatter-recovery.test.ts": 6200,
+ "test/sync-frontmatter-slug-conflict.test.ts": 2100,
+ "test/sync-full-cursor-slices-6349.test.ts": 9200,
+ "test/sync-full-untracked-import-5459.test.ts": 10400,
+ "test/sync-group-member-order.test.ts": 19400,
+ "test/sync-handler-drain-6706.test.ts": 32000,
"test/sync-hold-surfaces.test.ts": 3300,
+ "test/sync-holds-only-converge-7327.test.ts": 8400,
"test/sync-holds-store.test.ts": 700,
"test/sync-idle-hit-6712.test.ts": 2600,
"test/sync-idle-skips-gbra133.test.ts": 5700,
"test/sync-import-parsers-6712.test.ts": 100,
- "test/sync-inexact-rename-6729.test.ts": 22000,
+ "test/sync-import-provenance-disk.test.ts": 12900,
+ "test/sync-inexact-rename-6729.test.ts": 29700,
"test/sync-knock-on-recovery-6643.test.ts": 900,
- "test/sync-legacy-retry-actions-6696.test.ts": 4850,
+ "test/sync-landing-gaps.test.ts": 6100,
+ "test/sync-legacy-edit-import-7338.test.ts": 55000,
+ "test/sync-legacy-holds.test.ts": 8500,
+ "test/sync-legacy-retry-actions-6696.test.ts": 9000,
+ "test/sync-legacy-slug-adoption-6727.test.ts": 12400,
"test/sync-legacy-sweep-gbra108.test.ts": 7550,
+ "test/sync-legacy-sweep-resume-7189.test.ts": 61200,
"test/sync-markers-6712.test.ts": 1700,
"test/sync-no-pull-estimate-gbra133.test.ts": 900,
+ "test/sync-origin-live-wins-6517.test.ts": 2900,
"test/sync-origin-markers-6712.test.ts": 4600,
"test/sync-pack-independent-frontmatter-6712.test.ts": 1400,
- "test/sync-page-identity-hold-gbra130.test.ts": 17300,
- "test/sync-page-write-failed-gbra130.test.ts": 7250,
+ "test/sync-page-identity-hold-gbra130.test.ts": 18800,
+ "test/sync-page-write-failed-gbra130.test.ts": 7500,
+ "test/sync-pass-abandoned-7355.test.ts": 4800,
"test/sync-pass-batch-entries-6712.test.ts": 2900,
"test/sync-pass-carried-6712.test.ts": 17300,
"test/sync-pass-closure-memo-6712.test.ts": 2600,
@@ -270,9 +601,9 @@
"test/sync-pass-completion-6712.test.ts": 13350,
"test/sync-pass-confirm-6712.test.ts": 7100,
"test/sync-pass-confirm-parallel-6712.test.ts": 2100,
- "test/sync-pass-cost-grouping-gbra130.test.ts": 2850,
+ "test/sync-pass-cost-grouping-gbra130.test.ts": 5500,
"test/sync-pass-cursor-retirement-6712.test.ts": 1850,
- "test/sync-pass-dirty-after-freeze-gbra130.test.ts": 6700,
+ "test/sync-pass-dirty-after-freeze-gbra130.test.ts": 8700,
"test/sync-pass-failure-retry-6712.test.ts": 2000,
"test/sync-pass-fold-6712.test.ts": 9050,
"test/sync-pass-handover-6712.test.ts": 2300,
@@ -289,22 +620,30 @@
"test/sync-pass-shared-budget-6712.test.ts": 3900,
"test/sync-pass-writeback-fold-6712.test.ts": 11100,
"test/sync-pass-xid-arms-gbra108.test.ts": 3700,
- "test/sync-prescreen-drift-6712.test.ts": 70750,
+ "test/sync-prescreen-both-delta-6712.test.ts": 16300,
+ "test/sync-prescreen-drift-6712.test.ts": 77800,
"test/sync-probe-dirtiness-yield.test.ts": 600,
"test/sync-resumable-import.serial.test.ts": 5650,
- "test/sync-slug-root-mode-6694.test.ts": 6000,
- "test/sync-staged-catchup.test.ts": 6950,
+ "test/sync-slug-root-mode-6694.test.ts": 11400,
+ "test/sync-staged-catchup.test.ts": 5000,
+ "test/sync-status-failure-detail-6513.test.ts": 3000,
"test/sync-status-unblock.test.ts": 3050,
- "test/sync-unblock-repair-error-gbra130.test.ts": 2100,
- "test/sync-unreadable-file-gbra130.test.ts": 8100,
- "test/sync-waiver-run-imports.test.ts": 7200,
+ "test/sync-unblock-repair-error-gbra130.test.ts": 6300,
+ "test/sync-uncommitted-origin-7130.test.ts": 18000,
+ "test/sync-unreadable-file-gbra130.test.ts": 7500,
+ "test/sync-waiver-budget.test.ts": 5300,
+ "test/sync-waiver-run-imports.test.ts": 14200,
"test/sync-waiver-unreadable-6712.test.ts": 300,
"test/sync-working-level-6712.test.ts": 1200,
"test/sync-working-stat-cache-6712.test.ts": 10800,
+ "test/take-resolution-survives-publish.test.ts": 4300,
"test/takes-propose-accept-managed.test.ts": 7700,
+ "test/takes-vector-lifecycle-5885.serial.test.ts": 9900,
+ "test/terminal-failures-6650.test.ts": 20900,
"test/timeline-citations.test.ts": 1200,
"test/transcripts-codex-subagent.test.ts": 1000,
"test/traverse-walk-cap.test.ts": 700,
+ "test/trust-guarded-supersession.test.ts": 5800,
"test/trust-write-gate-drift.test.ts": 100,
"test/upload-part-cutter.test.ts": 200,
"test/worker-shutdown-error-matrix.test.ts": 2300,
diff --git a/test/scripts/stress-gate.test.ts b/test/scripts/stress-gate.test.ts
index ef7dd9d39d..9af907c9df 100644
--- a/test/scripts/stress-gate.test.ts
+++ b/test/scripts/stress-gate.test.ts
@@ -10,7 +10,7 @@ import { tmpdir } from 'node:os';
import { join } from 'node:path';
import type { GitHubClient } from '../../scripts/lib/gh-issue.ts';
import {
- RACE_MAX_SHARDS, RACE_MIN_ITERATIONS, RACE_SHARD_BUDGET_MS, buildReport, loadExemptions, matchExemption, missingWork,
+ RACE_FLOOR_MAX_SHARDS, RACE_MAX_SHARDS, RACE_MIN_ITERATIONS, RACE_SHARD_BUDGET_MS, buildReport, loadExemptions, matchExemption, missingWork,
parseExemptionBlocks, planGate, planRaceHunt, shardTimings, type GhIssue, type Plan, type StressFailure,
} from '../../scripts/stress/gate.ts';
import type { Weights } from '../../scripts/stress/plan.ts';
@@ -120,6 +120,17 @@ describe('race hunt plan', () => {
expect(monday.shards.every(s => s.estimateMs <= RACE_SHARD_BUDGET_MS)).toBe(true);
});
+ test('a 3-iteration floor past 12 shards runs every file in a second group of up to 24 shards', () => {
+ const root = armsRepo(20);
+ const plan = planRaceHunt(root, { day: 0 }, weights(Object.fromEntries(list(20).map(f => [f, 15 * 60_000]))));
+ expect(plan.unrun).toEqual([]);
+ expect(plan.files.map(f => f.file)).toEqual(list(20));
+ expect(plan.files.every(f => f.iterations === RACE_MIN_ITERATIONS)).toBe(true);
+ expect(plan.shards.length).toBeGreaterThan(RACE_MAX_SHARDS);
+ expect(plan.shards.length).toBeLessThanOrEqual(RACE_FLOOR_MAX_SHARDS);
+ expect(plan.shards.every(s => s.estimateMs <= RACE_SHARD_BUDGET_MS)).toBe(true);
+ });
+
test('a set that does not fit at 3 iterations fails "race hunt over budget" naming the unrun files', () => {
const root = armsRepo(10);
const plan = planRaceHunt(root, { day: 0 }, weights(Object.fromEntries(list(10).map(f => [f, 40 * 60_000]))));