Repository navigation
Conversation
sync fork
…an end-to-end test and a Node 24 noarch RPM. Details in CHANGELOG.
…lient's vulnerable axios and eventsource. Details in CHANGELOG.
feature/nodejs24
skiedude
reviewed
Nov 23, 2026
| Release: %{release} | ||
| Requires: nodejs >= 20.0 | ||
| # RHEL's nodejs carries Epoch 1: without it any version satisfies the requirement | ||
| Requires: nodejs >= 1:24 |
Contributor
There was a problem hiding this comment.
Is this true if I install it via module and/or with the curl bash script?
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.
st2chatops on Node 24 LTS with hubot 14 and hubot-slack 3.8
Moves st2chatops from Node 20 and npm 6 tooling to Node 24 LTS, updates hubot, the Slack adapter
and hubot-stackstorm, patches vulnerable transitive dependencies, adds automated tests, and builds
a noarch RPM that requires Node 24. Per-change detail is in
CHANGELOG.rst.What changed
.nvmrcandenginesare set.npm-shrinkwrap.jsonis regenerated withnpm 11 (lockfile v3).
connect-multipartyremoved, and a CommandBus for commands).adapter-name fix, and the bot no longer exits on some API errors. It is vendored as
vendor/hubot-stackstorm-0.14.0.tgz, because git dependencies are blocked; the tarball'sintegrity hash is in the lockfile.
botbuilderremoved: it was left over from the Microsoft Teams adapter, and nothing loads it.overridesreplace st2client'saxios0.21 with 1.20 andeventsource0.1 with 2.0.2 (thelatter's advisory was critical). They also pin
body-parser2.4.0 andfollow-redirects1.16.2: security fixes still inside the 14-day window, reviewed and listed with expiry dates
in
.npmrc.npm auditfindings.scripts/st2-help.js: hubot 14's built-inhelpanswers<bot> helpbefore any scriptsees it, and lists only CommandBus commands. This script removes it, so hubot-help answers
<bot> helpand!helpalike with the StackStorm aliases, as before.bin/hubot: honoursHUBOT_ADAPTER(slackmaps to the bundled hubot-slack) instead ofalways loading Slack. That makes
bin/hubot --test(the Shell adapter) work again..npmrc):engine-strict.npm testuses Node's built-in test runner, so it adds no dependencies. There aretwo parts:
bin/hubot --testagainst a running StackStorm. It checks thatthe aliases load and appear in both
!helpand<bot> help, then runs!pack get coreandwaits for the reply to come back through the
chatops.notifyrule;st2-help.js.Requires: nodejs >= 1:24. RHEL's nodejs has Epoch 1, so the old>= 20.0acceptedany version.
noarch, since there is no native code.make buildrunsnpm ci --omit=dev, and amake rpmtarget is added.nodejs:24module stream.node:24-alpine, built withnpm ci, and running as thenodeuser. ItsCMDworks now.dev/(Teams-era development image) andscripts/self-check.sh(Python 2, EL7).Testing
npm test: all 6 tests pass, both from the Docker image and against the installed RPM (run asthe
st2service user). Each regression test was checked to fail without its fix.nodejs:24module stream;dnfwhile the host is on Node 20, as intended;st2chatops-3.9.0, and keeps an editedst2chatops.env(%config(noreplace)).aliases, and answers
!helpand alias commands.