Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
# Specify the execution environment. You can specify an image from Dockerhub or use one of our Convenience Images from CircleCI's Developer Hub.
# See: https://circleci.com/docs/2.0/configuration-reference/#docker-machine-macos-windows-executor
docker:
- image: cimg/node:24.14
- image: cimg/node:24.18
resource_class: medium
# Add steps to the job
# See: https://circleci.com/docs/2.0/configuration-reference/#steps
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:

build:
docker:
- image: cimg/node:24.14
- image: cimg/node:24.18
resource_class: medium
steps:
- attach_workspace:
Expand All @@ -59,7 +59,7 @@ jobs:

unit_test:
docker:
- image: cimg/node:24.14
- image: cimg/node:24.18
resource_class: medium
parallelism: 1
steps:
Expand All @@ -71,7 +71,7 @@ jobs:

format:
docker:
- image: cimg/node:24.14
- image: cimg/node:24.18
resource_class: medium
steps:
- attach_workspace:
Expand All @@ -82,7 +82,7 @@ jobs:

type_check:
docker:
- image: cimg/node:24.14
- image: cimg/node:24.18
resource_class: medium
steps:
- attach_workspace:
Expand All @@ -93,7 +93,7 @@ jobs:

build_openfnx:
docker:
- image: cimg/node:24.14
- image: cimg/node:24.18
resource_class: medium
steps:
- attach_workspace:
Expand Down Expand Up @@ -168,7 +168,7 @@ workflows:
- integration_test:
matrix:
parameters:
node_version: ['22.20', '24.14.0']
node_version: ['22.20', '24.18.1', '26.5.1']
requires:
- build_openfnx
- legacy_test:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/project-integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
path: resources/repo
- uses: actions/setup-node@v6
with:
node-version: '24.14'
node-version: '24.18'
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: pnpm install:openfnx
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
fetch-depth: 1
- uses: actions/setup-node@v6
with:
node-version: '24.14'
node-version: '24.18'
- uses: pnpm/action-setup@v4
- run: pnpm install
- run: pnpm build
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 24.15.0
nodejs 26.5.1
6 changes: 6 additions & 0 deletions packages/cli/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @openfn/cli

## 1.39.1

### Patch Changes

- Support for node 26

## 1.39.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfn/cli",
"version": "1.39.0",
"version": "1.39.1",
"description": "CLI devtools for the OpenFn toolchain",
"engines": {
"node": ">=18",
Expand Down
4 changes: 2 additions & 2 deletions packages/cli/src/util/cache.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fs from 'node:fs';
import path from 'node:path';
import { rmdir } from 'node:fs/promises';
import { rm } from 'node:fs/promises';

import type { ExecutionPlan } from '@openfn/runtime';
import type { Opts } from '../options';
Expand Down Expand Up @@ -76,7 +76,7 @@ export const clearCache = async (
const cacheDir = getCachePath(options, plan.workflow?.name);

try {
await rmdir(cacheDir, { recursive: true });
await rm(cacheDir, { recursive: true, force: true });

logger.info(`Cleared cache at ${cacheDir}`);
} catch (e: any) {
Expand Down
5 changes: 3 additions & 2 deletions packages/cli/test/execute/execute.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -681,14 +681,15 @@ test.serial('run a job without compilation', async (t) => {
test.serial('run a job which does not return state', async (t) => {
const job = `${fn}fn(() => {});`;
mockFs({
'/job.js': job,
'/abc.js': job,
});

const options = {
...defaultOptions,
expressionPath: '/job.js',
expressionPath: '/abc.js',
};
const result = await handler(options, logger);
t.log(logger._history);
t.falsy(result);

// Check that no error messages have been logged
Expand Down
6 changes: 6 additions & 0 deletions packages/ws-worker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# ws-worker

## 1.27.4

### Patch Changes

- Rebuild image to support node 24.18.1

## 1.27.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/ws-worker/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfn/ws-worker",
"version": "1.27.3",
"version": "1.27.4",
"description": "A Websocket Worker to connect Lightning to a Runtime Engine",
"main": "dist/index.js",
"type": "module",
Expand Down