Skip to content

Flip #5559 runner-placement to PlanSound with host-measured numbers + fold PeakFold ByteSize-lift review - #5576

Merged
briansrls merged 4 commits into
mainfrom
session/merry-otter-591
Jun 23, 2026
Merged

briansrls merged 4 commits into
mainfrom
session/merry-otter-591

Conversation

@gunbai-bot

@gunbai-bot gunbai-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Auto-opened by session-dashboard for session merry-otter-591.
Pushing to session/merry-otter-591 advances this PR.

Worker attestation

Before flipping this PR to ready for review, confirm each item:

  • Title describes the change (not the session id or branch).
  • PR body summarises what and why (replace the TODO below).
  • Tests run: name the command (e.g. npm test, cargo test) and the result.
  • If this closes a work item, the body contains a Closes #N directive.
  • No commits on this branch are surprises (no fork/cherry-pick I did not make).
  • No secrets / credentials / large binaries staged.

Summary

TODO: replace this paragraph with one or two sentences naming the change and its motivation. Reviewers read this first.

Test plan

  • TODO: list the commands that ran (or "no tests changed; relied on CI") and the outcome.

briansrls and others added 2 commits June 22, 2026 22:37
…d ByteSize-lift

- Fill in live srv1 cgroup-measured peaks (2026-06-22): both 'ci' and 'rust_tests'
  at 25769803776 bytes (24 GiB pessimistic max-over-snapshot); host fixed overhead
  17179869184 bytes (16 GiB: OS + sccache + ctrl/media co-tenancy, fail-closed interim)
- PeakFold ByteSize-lift: max_bytes:Int -> max_peak:ByteSize, add measure_max to
  std.realization_width (already committed), eliminate byte_size_count unwrap + byte_size
  re-wrap in fold_job_peak (unit-system roundtrip was a §3 violation from review)
- Export gunbc_ci_runners_per_host() as single authority (R=3 enforced cap per host,
  fleet_concurrent_runs=6); dissolution trigger: refine once CI measurement emit lands
- Flip witness_live_carrier_unmeasured_is_unsound -> witness_live_carrier_measured_derives_plan
- runner_placement_holds() returns true; plan: 3 runners/host, ~28.8 GiB cap each

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@gunbai-bot
gunbai-bot Bot marked this pull request as ready for review June 22, 2026 22:45
briansrls and others added 2 commits June 22, 2026 22:50
… conservative-high

gunbc_ci_runners_per_host() now returns conservative_high=10 while
gunbc_ci_runner_cap_enforced=false; premature use of the fit-count 3 while
~7 runners co-reside is unwritable at the flag rather than enforced by
consumer discipline. Operator flips the flag when the 3-runner cap is
live-applied (FENCED). Also documents that 0.8 safety fraction and 16 GiB
fixed overhead are non-overlapping: one reserves peak-variance headroom
for transient spikes, the other accounts for fixed sibling-cgroup services.

- witness_runners_per_host_fail_closed_pre_cap(): discriminating +/- pair
  (cap_enforced=false AND effective R == conservative_high)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
effective_runners_per_host(cap_enforced: Bool) parametric helper lets
the test supply a local true fixture without mutating the global flag.
witness_runners_per_host_cap_enforced_derives_model_count() proves the
cap_enforced=true branch returns the model-derived per-host count (3)
and agrees with runner_deployment_plan(); verifies the operator's
eventual flip is correct before they rely on it at apply time.
runner_placement_holds() now covers both sides of the discriminating pair.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@briansrls
briansrls merged commit 469bcd5 into main Jun 23, 2026
2 checks passed
@briansrls
briansrls deleted the session/merry-otter-591 branch June 23, 2026 00:49
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