Skip to content

chore(policy): lift the node-24 hold - #85

Merged
setkernel-gate[bot] merged 1 commit into
mainfrom
lead/lift-node-24-hold
Nov 24, 2026
Merged

setkernel-gate[bot] merged 1 commit into
mainfrom
lead/lift-node-24-hold

Conversation

@realRaghavGupta

Copy link
Copy Markdown
Contributor

Why

Raghav lifted the Node 24 hold on 2026-11-24 ("go with node 26 ... no more node 24 hold"). Node 26 has been LTS since 2026-10-28, and mezbano already runs on it (engines.node >=26.13.0 <27, @types/node ^26). A reviewer on setkernel/mezbano#561 flagged that as a breach of the hold.

What changes

  • policy/versions.json: the node-24 entry is removed. The TypeScript and PHPCS holds are unchanged.
  • plugins/setkernel/policy/holds.md: regenerated by bin/generate, so sessions stop showing the hold.
  • tests/run.sh: three dependabot-policy cases used node-24 as their example. The quoting cases now use typescript-6.0, and @types/node 26 is expected to cross no hold.
  • After merge, hq's version-policy workflow removes the @types/node ignore from each repo's dependabot.yml.

Checks

  • bin/generate --check: generated files are current.
  • bash tests/run.sh: 787/802 passed. The 15 failures are the same as on main in this environment (the request-review stub cases); none comes from this change.
  • Not run: ShellCheck (no script changed).

Refs setkernel/hq#87

— Claude Lead

🤖 Generated with Claude Code

Raghav lifted the Node 24 hold on 2026-11-24 ("go with node 26 ... no
more node 24 hold"): Node 26 is LTS since 2026-10-28 and mezbano already
runs on it (engines.node >=26.13.0 <27, @types/node ^26). The node-24
entry leaves policy/versions.json; bin/generate drops its line from
plugins/setkernel/policy/holds.md, and hq's version-policy workflow
removes the @types/node ignore from each repo's dependabot.yml.

Tests: three dependabot-policy cases used the node-24 hold as their
example; the quoting cases now use the typescript-6.0 hold, and
@types/node 26 now crosses no hold.

Checks: bin/generate --check current; tests/run.sh 787/802 passed, the
same 15 failures as on main (request-review stub cases in this
environment).

Refs setkernel/hq#87

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@realRaghavGupta realRaghavGupta added the agent-review Waiting for agent review label Nov 24, 2026

@vega-setkernel vega-setkernel 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.

Reviewed head a95d976.

No merge blockers. The PR lifts the node-24 hold through the documented path: edit policy/versions.json, regenerate plugins/setkernel/policy/holds.md, and update the tests that used the hold as their example.

What I checked

  • Checks: the head has one check run, check. It completed with success.
  • Acceptance criteria: the PR closes no issue. It only refers to setkernel/hq#87, and I did not have that issue's text, so I did not check it against hq#87's criteria. The change does what the PR description says.
  • Correctness:
    • bin/generate --check on the head prints generated files are current. holds.md matches the source.
    • bash tests/run.sh on the head prints 805/805 passed (exit 0). The PR body reports 787/802 in another environment. All tests pass here.
    • jq '.holds[] | {id, dependabot}' policy/versions.json lists only typescript-6.0 (npm) and phpcs-3 (composer).
    • In repos where node-24 was the only hold for an ecosystem, bin/dependabot-policy drops the stale block: drop_empty_ignores removes an ignore: key that held only a lifted block (bin/dependabot-policy:140). The npm block itself stays, because it still has the TypeScript hold.
    • The only remaining code or test reference to node-24 is the renamed test label at tests/run.sh:941.
  • Scope: the PR changes three files: the policy source, its generated file, and tests/run.sh. That matches AGENTS.md's rule to edit the source and commit the generated file with it. It is an owner-path change (policy), and the author is Raghav's account, which the version-hold process requires ("A hold changes only when Raghav updates the source").
  • Test edits (test-diff guard, hq#2034): I read all three edits in tests/run.sh.
    • Lines 924–925, the single-quote cases: they now assert the typescript / ['>=6.1.0'] entry instead of @types/node / ['>=25']. They check the same thing (quote style follows the file), against a hold that still exists. The assertions are no weaker.
    • Line 935, the re-quote sed: it drops the @types/node substitutions. The npm block now holds only the TypeScript entry, so the formatter simulation still re-quotes every entry in the block.
    • Line 941, @types/node 26.6.4: the expected exit changes from 0 (crosses node-24) to 1 (crosses nothing). This is the behaviour change the PR exists to make: Raghav lifted the hold. It is not a loosened assertion. A positive "crosses" case is still covered by TypeScript 7 crosses its hold (line 939).
    • No test was deleted or skipped.
  • Secrets and security: none in the diff. On merge, every seat's session context stops showing the hold, and hq's version-policy workflow removes the @types/node ignore entries. That is the intended effect.

Nits (non-blocking)

  1. README.md:130-131 still says "Node and @types/node stay on 24 until Node 26 is LTS". After this merge, that sentence contradicts policy/versions.json. It is worth a one-line follow-up.
  2. rules/org-rules.md:69 still gives "Node" as the first example of a held dependency ("Never raise a held dependency (Node, TypeScript, PHPCS…"). A reader could take Node to still be held. Changing it needs the managed-settings regeneration and Raghav's console paste, so a follow-up fits better than this PR.

@rigel-setkernel rigel-setkernel 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.

Reviewed head a95d976.

No merge blockers. Approving.

What I checked

  • Checks: the head's one check run, check, completed with success.
  • Acceptance criteria: no issue closes from this PR. Its body says Refs setkernel/hq#87, which is the hold's own ref. So I checked the PR against what it says it changes:
    • policy/versions.json: the node-24 entry is gone. The typescript-6.0 and phpcs-3 holds are unchanged.
    • plugins/setkernel/policy/holds.md matches the source: bin/generate --check printed generated files are current and exited 0.
    • bash tests/run.sh on the head: 805/805 passed, exit 0. The PR body reports 787/802 in its own environment. Here every case passes.
  • Downstream effect (hq's version-policy flow): I wrote a dependabot.yml with bin/dependabot-policy --policy <main's versions.json>, which gave it the @types/node >=25 entry. Then I ran the head's tool on it. --check printed stale with a diff that removes only the @types/node lines and exited 1. A plain run rewrote the block so it keeps only the typescript entry. So repos lose the ignore entry after merge, as the PR says they will.
  • Callers: running grep -rn "node-24\|@types/node\|>=25" over the repo finds no code or generated file that still uses the removed hold. It finds only the README text (nit 1) and the new test case.
  • Test edits (tests/run.sh, read in full):
    • The two single-quote cases (lines 924–925) now check the typescript entry, 'typescript' # typescript-6.0 and ['>=6.1.0'], instead of @types/node. Single quoting is still asserted on a real entry.
    • The re-quote sed (line 935) drops only its @types/node expressions, which no longer match anything.
    • The @types/node 26 case (line 941) changes from "crosses" to "crosses no hold". That is the behaviour change this PR exists to make: removing the hold. A crossing case still runs on line 939 (typescript 7.0.2 crosses typescript-6.0).
    • No assertion was dropped or skipped. No expected value changes beyond what lifting the hold requires.
  • Scope and org rules: three files, all part of lifting a hold: the source, its generated output and the tests. No secrets. policy/ is an owner path. Raghav's account opened this PR, so his separate approving review isn't required.
  • Not checked: I couldn't confirm Raghav's quoted instruction ("go with node 26 ... no more node 24 hold") or the mezbano#561 context. Neither appears in the data this run read. The PR comes from Raghav's account, signed — Claude Lead. ShellCheck didn't run because no script changed.

Nits (non-blocking)

  1. README.md:130-131 still says "Node and @types/node stay on 24 until Node 26 is LTS". That will be wrong after merge. Drop the Node clause from the summary of current holds, in this PR or a follow-up.
  2. rules/org-rules.md:69 (and managed/settings.json, which is generated from it) gives "Node" as the first example in "Never raise a held dependency (Node, TypeScript, PHPCS…)". With no Node hold left, the example list could become "TypeScript, PHPCS…". A change there only takes effect after Raghav pastes the managed settings again, so a follow-up is fine.
  3. The test description at tests/run.sh:941 includes the lift date ("node-24 lifted 2026-11-24"). The commit history already records that, so the description could just say "@types/node 26 crosses no hold".

@setkernel-gate
setkernel-gate Bot merged commit f53f010 into main Nov 24, 2026
2 checks passed
@setkernel-gate
setkernel-gate Bot deleted the lead/lift-node-24-hold branch November 24, 2026 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-review Waiting for agent review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants