Skip to content

ladder rungs: pkgmgr bootstrap_rung freeze markers (comment-only, no rebuild) - #776

Merged
bryan-minimal merged 1 commit into
mainfrom
pkgmgr/bootstrap-rung-markers
Sep 29, 2026
Merged

bryan-minimal merged 1 commit into
mainfrom
pkgmgr/bootstrap-rung-markers

Conversation

@bryan-minimal

@bryan-minimal bryan-minimal commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Adds one comment line to each of the 39 bootstrap-ladder rungs already on main:

# pkgmgr: bootstrap_rung = "hex0"   # hex0, stage0-*, glibc-bedrock-2.42, binutils-2.46-glibc, gcc-15.2.0-glibc (25)
# pkgmgr: bootstrap_rung = "go"     # go-1.4 … go-1.24.9 (5)
# pkgmgr: bootstrap_rung = "rust"   # mrustc, mrustc-rustc-1.90.0, rustc-1.91.1 … rustc-1.97.1 (9)

Why: pkgmgr freezes these rungs (no version-bump PRs, no auto-fix, no digest proposals). Until now that relied only on a hand-kept list in pkgmgr-rs, and a missed entry is how #769 happened. With the marker the rung declares it itself (pkgmgr-rs#904/#907). The GHC and JVM ladders (#774, #775) already carry it. Marking these keeps pkgmgr's marker-vs-list drift warning quiet, since the list stays as a backstop.

No rebuilds, no behaviour change: it's a Nickel comment, so it isn't evaluated and isn't in minimal's spec hash. Checked: no rung uses its directory or build.ncl as a Local input. Placed just above let version (or at line 1 when there is none). Validated with pkgmgr's parser rules: 39/39 well-formed, none inside a multi-line string. The attr form (attrs.bootstrap_rung) replaces this once gominimal/minimal#1752 lands and the evaluators roll.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Improvements
    • Bootstrap stage metadata is now specified for compiler, toolchain, and system-library packages. This gives the package manager clearer information for organizing bootstrap builds across the listed package versions. No changes to package behavior are indicated.

One comment line per frozen bootstrap rung already on main (39): hex0/stage0/
bedrock -> "hex0", go-1.x chain -> "go", mrustc..rustc-1.97.1 -> "rust".
Read by pkgmgr (pkgmgr-rs#904/#907) to freeze the rung; comments are not
evaluated and not in the spec hash, so nothing rebuilds.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@bryan-minimal
bryan-minimal requested a review from a team as a code owner September 28, 2026 19:36
@coderabbitai

coderabbitai Bot commented Sep 28, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository: gominimal/pkgs/.coderabbit.yaml

Review profile: CHILL

Plan: Essentials

Run ID: 635b0e35-9a4c-4372-8dc8-5e689bd41b75

📥 Commits

Reviewing files that changed from the base of the PR and between 2d07baa and 055586f.

📒 Files selected for processing (39)
  • packages/binutils-2.46-glibc/build.ncl
  • packages/gcc-15.2.0-glibc/build.ncl
  • packages/glibc-bedrock-2.42/build.ncl
  • packages/go-1.17.13/build.ncl
  • packages/go-1.20.14/build.ncl
  • packages/go-1.22.6/build.ncl
  • packages/go-1.24.9/build.ncl
  • packages/go-1.4/build.ncl
  • packages/hex0/build.ncl
  • packages/mrustc-rustc-1.90.0/build.ncl
  • packages/mrustc/build.ncl
  • packages/rustc-1.91.1/build.ncl
  • packages/rustc-1.92.0/build.ncl
  • packages/rustc-1.93.1/build.ncl
  • packages/rustc-1.94.1/build.ncl
  • packages/rustc-1.95.0/build.ncl
  • packages/rustc-1.96.0/build.ncl
  • packages/rustc-1.97.1/build.ncl
  • packages/stage0-binutils-2.30/build.ncl
  • packages/stage0-binutils-2.41/build.ncl
  • packages/stage0-gcc-10.4.0/build.ncl
  • packages/stage0-gcc-15.2.0/build.ncl
  • packages/stage0-gcc-4.0.4/build.ncl
  • packages/stage0-gcc-4.7.4/build.ncl
  • packages/stage0-gmp-mpfr-mpc/build.ncl
  • packages/stage0-hex1/build.ncl
  • packages/stage0-kaem/build.ncl
  • packages/stage0-linux-headers-6.12.43/build.ncl
  • packages/stage0-mes/build.ncl
  • packages/stage0-mescc-full/build.ncl
  • packages/stage0-mescc/build.ncl
  • packages/stage0-musl-1.1.24-cc2/build.ncl
  • packages/stage0-musl-1.1.24/build.ncl
  • packages/stage0-musl-1.2.5/build.ncl
  • packages/stage0-tcc-0.9.26/build.ncl
  • packages/stage0-tcc-0.9.27-musl-s1/build.ncl
  • packages/stage0-tcc-0.9.27-musl-s3/build.ncl
  • packages/stage0-tcc-0.9.27-musl-s4/build.ncl
  • packages/stage0-tcc-0.9.27/build.ncl

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.


📝 Walkthrough

Walkthrough

Package build specifications add pkgmgr comments that identify bootstrap rungs as hex0, go, or rust. The summaries report no changes to executable configuration or runtime behavior.

Changes

Bootstrap metadata

Layer / File(s) Summary
Declare bootstrap rungs
packages/{binutils-2.46-glibc,gcc-15.2.0-glibc,glibc-bedrock-2.42,hex0}/build.ncl, packages/go-*/build.ncl, packages/{mrustc,mrustc-rustc-1.90.0,rustc-*}/build.ncl, packages/stage0-*/build.ncl
The build specifications add pkgmgr comments that set bootstrap_rung to hex0, go, or rust.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to 05558

The annotations do not change the checked-in build specifications. The external consumer’s handling could not be confirmed, but no concrete regression is established, so no merge-blocking risk is evidenced.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the main change: adding pkgmgr bootstrap_rung freeze markers as comment-only updates with no rebuilds.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR

Comment @coderabbitai help to get the list of available commands.

@bryan-minimal
bryan-minimal added this pull request to the merge queue Sep 29, 2026
Merged via the queue into main with commit 9c7eb9d Sep 29, 2026
10 checks passed
@bryan-minimal
bryan-minimal deleted the pkgmgr/bootstrap-rung-markers branch September 29, 2026 23:16
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.

2 participants