Skip to content

ci(lastcode): prototype advisory two-runner server test pilot - #587

Merged
lastobelus merged 1 commit into
lastcode/mainfrom
t3/server-test-two-runner-pilot
Nov 3, 2026
Merged

lastobelus merged 1 commit into
lastcode/mainfrom
t3/server-test-two-runner-pilot

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Why

Server tests dominate checkpoint validation time. Adding workers on one machine would lose the isolation we have today. This tests whether two separate runners can shorten the wall-clock without that loss.

What changed

Adds an advisory, Linux-only workflow that measures two things on GitHub-hosted Ubuntu runners:

  1. An uncached serial baseline.
  2. Two duration-balanced shards, each on its own runner (at most two concurrent test workers). Sharding reuses the existing weighted sequencer.

Files: server-test-pilot.yml, server-test-pilot-worker.yml, scripts/server-test-pilot.ts, scripts/server-test-pilot-report.mjs, and scripts/lib/server-test-pilot.mjs with its test, and the pilot-only runtime reporter.

The pilot selects checkpoint Node 24.13.1 after shared dependency setup. It pins the driver binary path and Vite+ runtime override, asserts the effective driver version, and records/asserts the effective Node version inside the actual Vitest process. Shared CI setup, ordinary CI and the root package engine are unchanged.

Trigger: pilot-owned PR paths or manual dispatch only.

Aggregation fails unless all of these hold:

  • Every worker uses the same candidate/tree, frozen dependency lockfile, Node 24.13.1 driver and test runtime, tool version, image, CPU count and memory allocation.
  • Test discovery is complete, and the actual file results match it.
  • Shards are disjoint and together cover every file.
  • Transfer-budget reports are present.
  • Every worker succeeded. Missing, failed, cancelled or mismatched protocol/resource/runtime results cannot pass.

Output: protocol completeness, explicit timing comparability status/reason, all recorded hardware, baseline duration, shard durations and scheduling span, in the retained artifacts pilot-baseline, pilot-1, pilot-2 and pilot-evidence. CPU-model-only differences produce complete protocol evidence with inconclusive timing comparison; they do not weaken any other identity/resource check.

Not changed

  • Checkpoint workspace order
  • Uncached Full CI
  • macOS coverage
  • Publication stamps and publication acceptance
  • Retained recovery
  • Immutable tags
  • Promotion locking

No speedup is claimed or computed. Matching recorded hardware permits only a qualified hosted Linux timing observation, never a whole-checkpoint guarantee. Historical Node 26 artifacts remain rejected evidence and are not accepted retrospectively.

Relates to #577. The umbrella stays open.

Validation

Passed

  • Focused pilot and sequencer tests: 2 passed.
  • Formatting and lint: passed on a fresh run.
  • check:changed: passed for the corrected candidate, including formatting, lint, unused-code checks, typechecking and focused tests.
  • Focused CPU-only red/green case passes with an inconclusive classification; CPU-count, memory, runtime, candidate/config and existing protocol rejection assertions remain enforced.
  • Local runtime proof: actual driver and Vitest process accepted Node 24.13.1 and rejected Node 26.12.1.
  • Parent-owned Quick CI: passed on this exact head and base.
  • Local discovery: 550 files split 274 / 276, with no overlap or omissions. Exactly one shard owns the transfer-report test.
  • Exact same-base carry validation for PR ci(lastcode): prototype advisory two-runner server test pilot #587: passed at base 90e72415d65bf281dc14dec9e93a3564b5a54f0d, head b1bf5dd229054db8906375d367a34e8b7afa84bb.

Hosted pilot completed

  • Run 41553757065, attempt 1 passed the baseline, both shards, and evidence aggregation on candidate 944201726a5360dc2c89e6186cfd54c87619c1ac.
  • Actual driver and Vitest runtime: Node 24.13.1 in all workers. All 550 baseline files were covered by disjoint 274 / 276 shards; the same 9,136 test cases were accounted for, including the same nine pending cases. Required transfer reports were present.
  • protocolStatus is complete; timingComparison.status is inconclusive because one shard used a different CPU model. This validates the advisory measurement workflow, not a checkpoint speedup.

Implemented with GPT-6.1 Sol (high) through the Codex harness in LastCode.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T00:37:49.269869Z b1bf5dd Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@lastobelus lastobelus changed the title ci(lastcode): pilot uncached server tests on two runners ci(lastcode): prototype advisory two-runner server test pilot Nov 2, 2026
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

Reviewed commit: 9bd499ca63

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Add advisory separate-runner baseline and weighted shard evidence checks. Relates to #577; publication validation remains unchanged.

Carry-Group: build-ci

Carry-Fix: #577
@lastobelus
lastobelus force-pushed the t3/server-test-two-runner-pilot branch from 9bd499c to b1bf5dd Compare November 3, 2026 00:33
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: b1bf5dd229

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@lastobelus
lastobelus merged commit 4b5dda5 into lastcode/main Nov 3, 2026
44 of 60 checks passed
@lastobelus
lastobelus deleted the t3/server-test-two-runner-pilot branch November 3, 2026 02:14
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