Skip to content

rt-ci: the moving steps leave M1's loader for the rdb boot with the boot heap frozen (young:16 7.3 → 3.3 min) - #1075

Open
sims1253 wants to merge 1 commit into
mainfrom
g3/h-mover-rtci
Open

sims1253 wants to merge 1 commit into
mainfrom
g3/h-mover-rtci

Conversation

@sims1253

Copy link
Copy Markdown
Owner

rt-ci's young:16 step and the nightly's --full-move ran under M1's loader with the freeze off, because the moving collector could not run with the boot heap frozen. Since #1074 it can. This is PR 3 of the council's three: both steps now run the default boot with the boot heap frozen. The council also asked to keep moving base and the compiler after the start, so a new nightly job does that with the freeze off.

 scripts/rt-ci.py
   young:16 step     ROBIGO_RT_BOOT=m1 + freeze off  ->  rdb + freeze on (MOVING_PINNED: rdb, no freeze check, no skips)
   --full-move       the same; FULL_MOVE_SLOW: loop-closed-form.R 1600, finalizers-self-ref-envs.R 1200 -> 2700
+  --boot-move       rdb, freeze off, ROBIGO_GC_MOVE=1 + gctorture; a witness step first (one gc() after the start
                     must move >= 40,000 objects); BOOT_MOVE_SKIP: the 27 cases that do not finish there
   FREEZE_CHECK_SLOW loop-closed-form.R 2400 (ratcheted by #1071; --freeze-check still runs M1)
 .github/workflows/nightly.yml   + job rt-boot-move (python3 scripts/rt-ci.py --boot-move)
 crates/robigo-conformance       + ROBIGO_CONF_SKIP: cases not run; their markers exempt from the positive control;
                                   a name that is no case id refused
 scripts/test-rt-ci.py           the move steps' freeze, pins, witness, skips eligible for --full-move
 docs/verification.md            "Steps under M1's loader": --freeze-check is the one step that still requires it

Measured on the workstation:

  • young:16 step: 3.25 min in the gate (load ~1), against 7.26 min under M1 in an earlier gate.
  • --full-move: 66.6 min. Only the two cases now given allowances timed out; alone they take 769 s and 1,319 s.
  • --boot-move: 50.9 min. The flip's 18 timeouts plus nine cases ratcheted since time out there; all 27 are skipped and each still runs in --full-move. There was no wrong output.
  • The witness: 42,777 objects moved with the freeze off, 355 with it on (the step fails then).

--freeze-check stays under M1 for now (next PR). In a local run, loop-closed-form.R was killed at 600 s there, so it gets an allowance. That case was ratcheted today and runs in tonight's nightly. Fourteen small compiler-loading cases also hit 600 s, but only at load 25–30 with all 24 CPUs busy; CI has passed them.

Proof:

  • python3 scripts/test-rt-ci.py: 63 OK.
  • cargo test -p robigo-conformance: includes a new a_skipped_case_is_not_run.
  • actionlint on nightly.yml: clean.
  • Local gate green on 065ab28: full scripts/rt-ci.py (21.7 min), --shard debug-assertions (1.9 min), scripts/lint-job.sh (11/11).

Reviewed with sol-loop: 3 rounds with gpt-6.2-sol. Sol verdict: approved

Claude Opus 5.5 on behalf of Max

…n; the nightly's --boot-move moves base and the compiler

The young:16 step and the nightly's --full-move left M1's loader for the
rdb boot with the freeze on (#1074): the frozen objects stay where they
are and the rest moves. The council kept the boot objects' moves after
the start: the new nightly --boot-move (job rt-boot-move) runs the
slice with the freeze off, after a witness step that fails unless one
collection after the start moves at least 40,000 objects, and skips the
27 cases that do not finish there (BOOT_MOVE_SKIP, through the runner's
new ROBIGO_CONF_SKIP; each still runs in --full-move). The moving plans
pin the default boot, no freeze check and their own skips.
FULL_MOVE_SLOW: loop-closed-form.R 1600 s, finalizers-self-ref-envs.R
2700 s, measured under the frozen boot heap. --freeze-check stays under
M1's loader (next).
@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 08a00213-e973-4515-bf40-1bd5411582af
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added the size:L 100-499 changed lines outside tests label Nov 29, 2026
@github-actions

Copy link
Copy Markdown

Test delta

added removed net
Rust #[test]s +1 -0 +1
Python test methods +1 -0 +1

344 changed lines outside tests, 132 in tests: size:L.

@github-actions

Copy link
Copy Markdown

✅ OpenCodeReview: Review complete: 0 finding(s) across 6 selected item(s).

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines outside tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant