8000 chore(stacks)!: rename harnesses to stacks by twitchyliquid64 · Pull Request #250 · gominimal/pkgs · GitHub
[go: up one dir, main page]

Skip to content

chore(stacks)!: rename harnesses to stacks - #250

Merged
twitchyliquid64 merged 1 commit into
mainfrom
tom/stacks
Jun 16, 2026
Merged

twitchyliquid64 merged 1 commit into
mainfrom
tom/stacks

Conversation

@twitchyliquid64
@twitchyliquid64 twitchyliquid64 commented Jun 15, 2026 •
Copy link
Copy Markdown
Contributor

Requires minimal 0.4.1, released almost a month ago

Summary by CodeRabbit

  • Chores
    • Updated minimum toolchain and stdlib version requirement to 0.0.15.
    • Refactored stack configuration structure across all build tool integrations for improved consistency and maintainability.

@coderabbitai
coderabbitai Bot commented Jun 15, 2026 •
Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

minimal.toml bumps the stdlib minimum_version from 0.0.11 to 0.0.15. All 19 stacks/*/stack.ncl files uniformly rename the import destructuring binding and top-level configuration block from harness to stack, with no changes to any stack's internal configuration.

Changes

harness → stack rename

Layer / File(s) Summary
stdlib minimum version bump
minimal.toml
Updates minimum_version in the [stdlib] section from 0.0.11 to 0.0.15.
harness → stack rename in all stack definitions
stacks/bun/stack.ncl, stacks/cabal/stack.ncl, stacks/cmake/stack.ncl, stacks/deno/stack.ncl, stacks/go/stack.ncl, stacks/gradle/stack.ncl, stacks/make/stack.ncl, stacks/maven/stack.ncl, stacks/meson/stack.ncl, stacks/npm/stack.ncl, stacks/pip/stack.ncl, stacks/pnpm/stack.ncl, stacks/pulumi-go/stack.ncl, stacks/pulumi-nodejs/stack.ncl, stacks/rust/stack.ncl, stacks/shell/stack.ncl, stacks/stack/stack.ncl, stacks/uv/stack.ncl, stacks/zig/stack.ncl
Each file changes let { harness, .. } = import "minimal.ncl" in harness { ... } to let { stack, .. } = import "minimal.ncl" in stack { ... }. All internal stack configurations are unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐇 A harness was worn, now a stack takes its place,
Nineteen files updated with minimal.ncl's grace.
The version hops forward from eleven to fifteen,
The tidiest rename this rabbit has seen!
hop hop ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. 8000
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.
Title check ✅ Passed The title clearly and concisely describes the main change: renaming harnesses to stacks across the codebase. It is specific, focused, and directly reflects the primary purpose of the changeset.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tom/stacks

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

@coderabbitai coderabbitai Bot left a comment
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@minimal.toml`:
- Line 2: The minimum_version value is set to "0.0.15" but the breaking changes
in this PR require at least version "0.4.1" to function correctly. Update the
minimum_version field to "0.4.1" to ensure that only compatible stdlib versions
are allowed to use this code and prevent runtime failures from unsupported
consumers running older versions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: c2f3aadf-8670-42a7-b9e1-1a13b0b4a4c3

📥 Commits

Reviewing files that changed from the base of the PR and between 6e6f29b and aa55a66.

📒 Files selected for processing (20)
  • minimal.toml
  • stacks/bun/stack.ncl
  • stacks/cabal/stack.ncl
  • stacks/cmake/stack.ncl
  • stacks/deno/stack.ncl
  • stacks/go/stack.ncl
  • stacks/gradle/stack.ncl
  • stacks/make/stack.ncl
  • stacks/maven/stack.ncl
  • stacks/meson/stack.ncl
  • stacks/npm/stack.ncl
  • stacks/pip/stack.ncl
  • stacks/pnpm/stack.ncl
  • stacks/pulumi-go/stack.ncl
  • stacks/pulumi-nodejs/stack.ncl
  • stacks/rust/stack.ncl
  • stacks/shell/stack.ncl
  • stacks/stack/stack.ncl
  • stacks/uv/stack.ncl
  • stacks/zig/stack.ncl

Comment thread minimal.toml
@@ -1,5 +1,5 @@
[stdlib]
minimum_version = "0.0.11"
minimum_version = "0.0.15"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major | ⚡ Quick win

Minimum stdlib version does not match the stated breaking-change requirement.

Line 2 pins minimum_version to 0.0.15, but this PR’s objective says the breaking rename requires 0.4.1+. Keeping 0.0.15 weakens the compatibility gate and may permit unsupported consumers.

Suggested fix
 [stdlib]
-minimum_version = "0.0.15"
+minimum_version = "0.4.1"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
minimum_version = "0.0.15"
[stdlib]
minimum_version = "0.4.1"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@minimal.toml` at line 2, The minimum_version value is set to "0.0.15" but the
breaking changes in this PR require at least version "0.4.1" to function
correctly. Update the minimum_version field to "0.4.1" to ensure that only
compatible stdlib versions are allowed to use this code and prevent runtime
failures from unsupported consumers running older versions.

@twitchyliquid64 twitchyliquid64 changed the title chore(stacks)\!: rename harnesses to stacks chore(stacks)!: rename harnesses to stacks Jun 15, 2026
@bryan-minimal bryan-minimal left a comment
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM RIP harness

@twitchyliquid64
twitchyliquid64 added this pull request to the merge queue Jun 16, 2026
Merged via the queue into main with commit 560b0d0 Jun 16, 2026
4 checks passed
@twitchyliquid64
twitchyliquid64 deleted the tom/stacks branch June 16, 2026 04:32
cvince pushed a commit to capysc/pkgs that referenced this pull request Oct 2, 2026
…d package (gominimal#643)

Report-only sibling to trivial-update.yml (inbox#20's fast-path suite).
For each package a PR changes: TRUE LEAF (no recipe imports it, no
stack/profile names it — worst case is confined to the package itself),
leaf-but-referenced, or direct + transitive dependent counts with the
top importers named.

Current catalog: 472 packages, 195 true leaves (41%). The two-source
edge scan matters: stacks reference packages by NAME
(build_packages = ["go", ...]), not by import, so an import-only scan
misclassifies every stack tool as a leaf — verified ghidra/deno/lean/
gradle and 11 others are caught only by the name scan. String matching
over-demotes, which is the safe direction for a classifier whose
consumers may one day fast-path leaf updates.

The summary's final line is stable and machine-readable
(blast-radius: ALL-TRUE-LEAVES | HAS-DEPENDENTS) so a future
auto-merge lane for trivial+leaf bumps can key on it without parsing
the table. Composes with gominimal#250's check scoping (a leaf PR now builds
and checks only itself) and the dwell/soak gate (auto-merged updates
would still soak on main before stable promotion).

Pure checkout scan, no network, never a required check.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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

0