Skip to content

Commit d022573

Browse files
Bump worker 1.26.1 cli@1.38.0 (#4843)
* bump CLI to 1.38.0 * bump local worker * update test * ci: skip phoenix_storybook advisories in deps.audit (#4846) phoenix_storybook 0.9.2 has three open advisories (critical RCE, high atom-table DoS, low PubSub injection). The dep is dev-only and excluded from prod builds, so there is no production exposure. Skip the advisories to unblock lint; removal is tracked in #4846. --------- Co-authored-by: Stuart Corbishley <corbish@gmail.com>
1 parent 6d02928 commit d022573

5 files changed

Lines changed: 17 additions & 12 deletions

File tree

.circleci/config.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,13 @@ jobs:
186186
name: "Check for known-vulnerable Hex dependencies"
187187
when: always
188188
command: |
189+
# GHSA-g2wm-735q-3f56: cowlib cookie encoder CRLF injection (low);
190+
# no patched release available yet.
191+
# GHSA-55hg-8qxv-qj4p / GHSA-833p-95jq-929q / GHSA-mrhx-6pw9-q5fh:
192+
# phoenix_storybook advisories. Dev-only dep, not compiled into
193+
# prod and storybook routes are dev-only. Tracked for removal.
189194
sudo -u lightning mix deps.audit \
190-
--ignore-advisory-ids GHSA-g2wm-735q-3f56 \
195+
--ignore-advisory-ids GHSA-g2wm-735q-3f56,GHSA-55hg-8qxv-qj4p,GHSA-833p-95jq-929q,GHSA-mrhx-6pw9-q5fh \
191196
|| echo "deps.audit" >> /tmp/lint_failed
192197
- run:
193198
name: "Check for retired Hex packages"

assets/package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"devDependencies": {
7070
"@eslint-community/eslint-plugin-eslint-comments": "^4.4.1",
7171
"@eslint/js": "^9.21.0",
72-
"@openfn/ws-worker": "^1.25.0",
72+
"@openfn/ws-worker": "^1.26.1",
7373
"@playwright/test": "^1.55.0",
7474
"@redux-devtools/extension": "^3.3.0",
7575
"@testing-library/jest-dom": "^6.9.0",

lib/mix/tasks/install_runtime.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ defmodule Mix.Tasks.Lightning.InstallRuntime do
1111
use Mix.Task
1212

1313
@default_path "priv/openfn"
14-
@cli_version "1.36.3"
14+
@cli_version "1.38.0"
1515

1616
def run(args) do
1717
case Rambo.run("/usr/bin/env", ~w(which node)) do

test/integration/web_and_worker_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ defmodule Lightning.WebAndWorkerTest do
269269

270270
version_logs = pick_out_version_logs(run)
271271
assert version_logs["@openfn/language-http"] =~ "3.1.12"
272-
assert version_logs["worker"] =~ "1.25"
272+
assert version_logs["worker"] =~ "1.26"
273273
assert version_logs["node.js"] =~ "22.12"
274274
assert version_logs["@openfn/language-common"] == "3.0.2"
275275

0 commit comments

Comments
 (0)