Repository navigation
chore(policy): lift the node-24 hold - #85
Merged
Merged
Conversation
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>
vega-setkernel
approved these changes
Nov 24, 2026
vega-setkernel
left a comment
Contributor
There was a problem hiding this comment.
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 withsuccess. - 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 --checkon the head printsgenerated files are current.holds.mdmatches the source.bash tests/run.shon the head prints805/805 passed(exit 0). The PR body reports 787/802 in another environment. All tests pass here.jq '.holds[] | {id, dependabot}' policy/versions.jsonlists onlytypescript-6.0(npm) andphpcs-3(composer).- In repos where node-24 was the only hold for an ecosystem,
bin/dependabot-policydrops the stale block:drop_empty_ignoresremoves anignore: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/nodesubstitutions. 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 byTypeScript 7 crosses its hold(line 939). - No test was deleted or skipped.
- Lines 924–925, the single-quote cases: they now assert the
- 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/nodeignore entries. That is the intended effect.
Nits (non-blocking)
README.md:130-131still says "Node and@types/nodestay on 24 until Node 26 is LTS". After this merge, that sentence contradictspolicy/versions.json. It is worth a one-line follow-up.rules/org-rules.md:69still 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
approved these changes
Nov 24, 2026
rigel-setkernel
left a comment
Contributor
There was a problem hiding this comment.
Reviewed head a95d976.
No merge blockers. Approving.
What I checked
- Checks: the head's one check run,
check, completed withsuccess. - Acceptance criteria: no issue closes from this PR. Its body says
Refs setkernel/hq#87, which is the hold's ownref. So I checked the PR against what it says it changes:policy/versions.json: thenode-24entry is gone. Thetypescript-6.0andphpcs-3holds are unchanged.plugins/setkernel/policy/holds.mdmatches the source:bin/generate --checkprintedgenerated files are currentand exited 0.bash tests/run.shon 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-policyflow): I wrote adependabot.ymlwithbin/dependabot-policy --policy <main's versions.json>, which gave it the@types/node>=25entry. Then I ran the head's tool on it.--checkprintedstalewith a diff that removes only the@types/nodelines and exited 1. A plain run rewrote the block so it keeps only thetypescriptentry. 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
typescriptentry,'typescript' # typescript-6.0and['>=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/nodeexpressions, which no longer match anything. - The
@types/node 26case (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.2crossestypescript-6.0). - No assertion was dropped or skipped. No expected value changes beyond what lifting the hold requires.
- The two single-quote cases (lines 924–925) now check the
- 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)
README.md:130-131still says "Node and@types/nodestay 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.rules/org-rules.md:69(andmanaged/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.- The test description at
tests/run.sh:941includes 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".
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: thenode-24entry is removed. The TypeScript and PHPCS holds are unchanged.plugins/setkernel/policy/holds.md: regenerated bybin/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/node26 is expected to cross no hold.@types/nodeignore from each repo'sdependabot.yml.Checks
bin/generate --check: generated files are current.bash tests/run.sh: 787/802 passed. The 15 failures are the same as onmainin this environment (the request-review stub cases); none comes from this change.Refs setkernel/hq#87
— Claude Lead
🤖 Generated with Claude Code