From 22d3a15c82701e654be23e82581fc7bc4c5f80d0 Mon Sep 17 00:00:00 2001 From: Ilango Rajagopal Date: Tue, 5 May 2026 14:21:48 +0530 Subject: [PATCH 1/8] update: node version --- .github/workflows/docker-image-dockerhub.yml | 6 +++--- .github/workflows/docker-image-ecr.yml | 6 +++--- .github/workflows/main.yml | 2 +- .github/workflows/publish-agentflow.yml | 4 ++-- .nvmrc | 2 +- Dockerfile | 22 ++++++++++---------- docker/Dockerfile | 4 ++-- docker/worker/Dockerfile | 2 +- package.json | 2 +- packages/server/package.json | 2 +- 10 files changed, 26 insertions(+), 26 deletions(-) diff --git a/.github/workflows/docker-image-dockerhub.yml b/.github/workflows/docker-image-dockerhub.yml index b8af98d47d2..53a80c00fe9 100644 --- a/.github/workflows/docker-image-dockerhub.yml +++ b/.github/workflows/docker-image-dockerhub.yml @@ -7,9 +7,9 @@ on: description: 'Node.js version to build this image with.' type: choice required: true - default: '20' + default: '24' options: - - '20' + - '24' tag_version: description: 'Tag version of the image to be pushed.' type: string @@ -23,7 +23,7 @@ jobs: - name: Set default values id: defaults run: | - echo "node_version=${{ github.event.inputs.node_version || '20' }}" >> $GITHUB_OUTPUT + echo "node_version=${{ github.event.inputs.node_version || '24' }}" >> $GITHUB_OUTPUT echo "tag_version=${{ github.event.inputs.tag_version || 'latest' }}" >> $GITHUB_OUTPUT - name: Checkout diff --git a/.github/workflows/docker-image-ecr.yml b/.github/workflows/docker-image-ecr.yml index 7448d9b5e75..7fb8ef72421 100644 --- a/.github/workflows/docker-image-ecr.yml +++ b/.github/workflows/docker-image-ecr.yml @@ -15,9 +15,9 @@ on: description: 'Node.js version to build this image with.' type: choice required: true - default: '20' + default: '24' options: - - '20' + - '24' tag_version: description: 'Tag version of the image to be pushed.' type: string @@ -36,7 +36,7 @@ jobs: - name: Set default values id: defaults run: | - echo "node_version=${{ github.event.inputs.node_version || '20' }}" >> $GITHUB_OUTPUT + echo "node_version=${{ github.event.inputs.node_version || '24' }}" >> $GITHUB_OUTPUT echo "tag_version=${{ github.event.inputs.tag_version || 'latest' }}" >> $GITHUB_OUTPUT - name: Checkout diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 67d7b5e1e0b..4af90b52d3d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: platform: [ubuntu-latest] - node-version: [20.20.2] + node-version: [24.15.0] runs-on: ${{ matrix.platform }} env: PUPPETEER_SKIP_DOWNLOAD: true diff --git a/.github/workflows/publish-agentflow.yml b/.github/workflows/publish-agentflow.yml index 4d0e058ad2a..3ac24f61832 100644 --- a/.github/workflows/publish-agentflow.yml +++ b/.github/workflows/publish-agentflow.yml @@ -43,7 +43,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: '20.20.2' + node-version: '24.15.0' registry-url: 'https://registry.npmjs.org' - name: Validate custom version @@ -108,7 +108,7 @@ jobs: - uses: actions/setup-node@v6 with: - node-version: '20.20.2' + node-version: '24.15.0' registry-url: 'https://registry.npmjs.org' - name: Install dependencies diff --git a/.nvmrc b/.nvmrc index c675bca8de0..f3c88209af5 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v20.20.2 +v24.15.0 diff --git a/Dockerfile b/Dockerfile index 9f54dc911b8..d338aad7253 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,20 +4,20 @@ # Run image # docker run -d -p 3000:3000 flowise -FROM node:20-alpine +FROM node:24-alpine # Install system dependencies and build tools RUN apk update && \ apk add --no-cache \ - libc6-compat \ - python3 \ - make \ - g++ \ - build-base \ - cairo-dev \ - pango-dev \ - chromium \ - curl && \ + libc6-compat \ + python3 \ + make \ + g++ \ + build-base \ + cairo-dev \ + pango-dev \ + chromium \ + curl && \ npm install -g pnpm ENV PUPPETEER_SKIP_DOWNLOAD=true @@ -42,4 +42,4 @@ USER node EXPOSE 3000 -CMD [ "pnpm", "start" ] \ No newline at end of file +CMD [ "pnpm", "start" ] diff --git a/docker/Dockerfile b/docker/Dockerfile index 82a55d6a2b4..0e5cde010aa 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build stage -FROM node:20-alpine AS build +FROM node:24-alpine AS build USER root @@ -10,7 +10,7 @@ ENV PUPPETEER_SKIP_DOWNLOAD=true RUN npm install -g flowise # Stage 2: Runtime stage -FROM node:20-alpine +FROM node:${NODE_VERSION}-alpine # Install runtime dependencies RUN apk add --no-cache chromium git python3 py3-pip make g++ build-base cairo-dev pango-dev curl diff --git a/docker/worker/Dockerfile b/docker/worker/Dockerfile index 8a2c749d44e..a5a88abbe5e 100644 --- a/docker/worker/Dockerfile +++ b/docker/worker/Dockerfile @@ -1,4 +1,4 @@ -FROM node:20-alpine +FROM node:24-alpine RUN apk add --update libc6-compat python3 make g++ # needed for pdfjs-dist diff --git a/package.json b/package.json index dadc22f0aae..56a296f7910 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ } }, "engines": { - "node": "^20", + "node": "^24", "pnpm": "^10.26.0" }, "resolutions": { diff --git a/packages/server/package.json b/packages/server/package.json index 6e57b093d6b..d720b05ae98 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -58,7 +58,7 @@ "email": "henryheng@flowiseai.com" }, "engines": { - "node": "^20" + "node": "^24" }, "license": "SEE LICENSE IN LICENSE.md", "dependencies": { From cc380973fb0eade27407cc06269fd755adba472a Mon Sep 17 00:00:00 2001 From: Ilango Rajagopal Date: Tue, 5 May 2026 14:29:52 +0530 Subject: [PATCH 2/8] fix: lint issues --- .../src/enterprise/utils/tenantRequestGuards.test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/server/src/enterprise/utils/tenantRequestGuards.test.ts b/packages/server/src/enterprise/utils/tenantRequestGuards.test.ts index d97fcad92c3..3edc43ea99e 100644 --- a/packages/server/src/enterprise/utils/tenantRequestGuards.test.ts +++ b/packages/server/src/enterprise/utils/tenantRequestGuards.test.ts @@ -8,7 +8,7 @@ import { Workspace } from '../database/entities/workspace.entity' import { LoggedInUser } from '../Interface.Enterprise' const mockReadOrganizationUserByOrganizationIdUserId = jest.fn() as jest.MockedFunction< - (organizationId: string, userId: string, queryRunner: QueryRunner) => Promise<{ organizationUser: unknown }> + (_organizationId: string, _userId: string, _queryRunner: QueryRunner) => Promise<{ organizationUser: unknown }> > jest.mock('../services/organization-user.service', () => ({ @@ -49,7 +49,7 @@ function makeRequest(user: Partial | undefined): Request { return { user } as unknown as Request } -function makeQueryRunner(findOneByImpl?: jest.MockedFunction<(entity: unknown, where: { id: string }) => Promise>): QueryRunner { +function makeQueryRunner(findOneByImpl?: jest.MockedFunction<(_entity: unknown, _where: { id: string }) => Promise>): QueryRunner { const findOneBy = findOneByImpl ?? jest.fn() return { manager: { findOneBy } @@ -184,7 +184,7 @@ describe('tenantRequestGuards', () => { it('org admin: resolves when workspace belongs to active organization', async () => { const findOneBy = jest - .fn<(entity: unknown, where: { id: string }) => Promise>() + .fn<(_entity: unknown, _where: { id: string }) => Promise>() .mockResolvedValue({ id: 'ws-remote', organizationId: 'org-1' }) const user = makeLoggedInUser({ activeWorkspaceId: 'ws-active', @@ -197,7 +197,7 @@ describe('tenantRequestGuards', () => { }) it('org admin: throws when workspace is not found', async () => { - const findOneBy = jest.fn<(entity: unknown, where: { id: string }) => Promise>().mockResolvedValue(null) + const findOneBy = jest.fn<(_entity: unknown, _where: { id: string }) => Promise>().mockResolvedValue(null) const user = makeLoggedInUser({ isOrganizationAdmin: true, activeOrganizationId: 'org-1' }) await expect(assertWorkspaceIdAccessibleToUser(user, 'missing-ws', makeQueryRunner(findOneBy))).rejects.toMatchObject({ statusCode: StatusCodes.FORBIDDEN, @@ -207,7 +207,7 @@ describe('tenantRequestGuards', () => { it('org admin: throws when workspace is in another organization', async () => { const findOneBy = jest - .fn<(entity: unknown, where: { id: string }) => Promise>() + .fn<(_entity: unknown, _where: { id: string }) => Promise>() .mockResolvedValue({ id: 'ws-remote', organizationId: 'org-other' }) const user = makeLoggedInUser({ isOrganizationAdmin: true, activeOrganizationId: 'org-1' }) await expect(assertWorkspaceIdAccessibleToUser(user, 'ws-remote', makeQueryRunner(findOneBy))).rejects.toMatchObject({ From 11c68e6414783c07d23582312f1d8af5a45bacfd Mon Sep 17 00:00:00 2001 From: Ilango Rajagopal Date: Fri, 8 May 2026 15:14:26 +0530 Subject: [PATCH 3/8] add: missing dependency in ci for faiss --- .github/workflows/main.yml | 2 ++ .github/workflows/publish-package.yml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4af90b52d3d..8e2b194ede7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,6 +29,8 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'pnpm' cache-dependency-path: 'pnpm-lock.yaml' + - name: Install native build dependencies + run: sudo apt-get install -y libopenblas-dev - run: pnpm install - run: pnpm lint - run: pnpm build diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 903a07f940f..b842f6ad745 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -67,6 +67,9 @@ jobs: env: CUSTOM_VERSION: ${{ inputs.custom_version }} + - name: Install native build dependencies + run: sudo apt-get install -y libopenblas-dev + - name: Install dependencies run: pnpm install --frozen-lockfile env: @@ -131,6 +134,9 @@ jobs: node-version: '20.20.2' registry-url: 'https://registry.npmjs.org' + - name: Install native build dependencies + run: sudo apt-get install -y libopenblas-dev + - name: Install dependencies run: pnpm install --frozen-lockfile env: From f8b9eba0d38fe5051255fe9baca89ef2f25c3cc7 Mon Sep 17 00:00:00 2001 From: Ilango Rajagopal Date: Fri, 8 May 2026 15:27:58 +0530 Subject: [PATCH 4/8] fix: pin pnpm version --- Dockerfile | 2 +- docker/worker/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index d338aad7253..ca27175c8bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN apk update && \ pango-dev \ chromium \ curl && \ - npm install -g pnpm + npm install -g pnpm@10.26.0 ENV PUPPETEER_SKIP_DOWNLOAD=true ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser diff --git a/docker/worker/Dockerfile b/docker/worker/Dockerfile index a5a88abbe5e..ffe60283236 100644 --- a/docker/worker/Dockerfile +++ b/docker/worker/Dockerfile @@ -8,7 +8,7 @@ RUN apk add --no-cache build-base cairo-dev pango-dev RUN apk add --no-cache chromium curl #install PNPM globally -RUN npm install -g pnpm +RUN npm install -g pnpm@10.26.0 ENV PUPPETEER_SKIP_DOWNLOAD=true ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser From 14d585e36d7bee486ee2cd52526f222b9e428617 Mon Sep 17 00:00:00 2001 From: Ilango Rajagopal Date: Fri, 8 May 2026 15:40:21 +0530 Subject: [PATCH 5/8] fix: more dependency issues --- Dockerfile | 5 ++++- docker/worker/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index ca27175c8bb..b33032bf0a2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,10 @@ RUN apk update && \ cairo-dev \ pango-dev \ chromium \ - curl && \ + curl \ + git \ + cmake \ + openblas-dev && \ npm install -g pnpm@10.26.0 ENV PUPPETEER_SKIP_DOWNLOAD=true diff --git a/docker/worker/Dockerfile b/docker/worker/Dockerfile index ffe60283236..d22c2159758 100644 --- a/docker/worker/Dockerfile +++ b/docker/worker/Dockerfile @@ -1,6 +1,6 @@ FROM node:24-alpine -RUN apk add --update libc6-compat python3 make g++ +RUN apk add --update libc6-compat python3 make g++ git cmake openblas-dev # needed for pdfjs-dist RUN apk add --no-cache build-base cairo-dev pango-dev From 5eaa3cddcc5f68d006a45403726ec86d436b376a Mon Sep 17 00:00:00 2001 From: Ilango Rajagopal Date: Fri, 8 May 2026 15:57:11 +0530 Subject: [PATCH 6/8] fix: even more dependency issues --- Dockerfile | 3 ++- docker/worker/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b33032bf0a2..307b2f49375 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,8 @@ RUN apk update && \ curl \ git \ cmake \ - openblas-dev && \ + openblas-dev \ + py3-setuptools && \ npm install -g pnpm@10.26.0 ENV PUPPETEER_SKIP_DOWNLOAD=true diff --git a/docker/worker/Dockerfile b/docker/worker/Dockerfile index d22c2159758..9f608d09659 100644 --- a/docker/worker/Dockerfile +++ b/docker/worker/Dockerfile @@ -1,6 +1,6 @@ FROM node:24-alpine -RUN apk add --update libc6-compat python3 make g++ git cmake openblas-dev +RUN apk add --update libc6-compat python3 make g++ git cmake openblas-dev py3-setuptools # needed for pdfjs-dist RUN apk add --no-cache build-base cairo-dev pango-dev From 86b266ac86277586118c961b378384f4accd5c9b Mon Sep 17 00:00:00 2001 From: Ilango Rajagopal Date: Tue, 12 May 2026 12:41:42 +0530 Subject: [PATCH 7/8] update: pnpm overrides --- package.json | 1 + pnpm-lock.yaml | 54 ++++++++++++-------------------------------------- 2 files changed, 14 insertions(+), 41 deletions(-) diff --git a/package.json b/package.json index e5b77df8b49..656c4cc383a 100644 --- a/package.json +++ b/package.json @@ -72,6 +72,7 @@ "sqlite3" ], "overrides": { + "prebuild-install": "7.1.3", "axios": "1.15.0", "body-parser": "2.0.2", "braces": "3.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 85accd174d7..cd64cf1d5de 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -13,6 +13,7 @@ overrides: openai: 6.19.0 protobufjs: 7.4.0 uuid: ^10.0.0 + prebuild-install: 7.1.3 axios: 1.15.0 body-parser: 2.0.2 braces: 3.0.3 @@ -10383,9 +10384,6 @@ packages: balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - bare-events@2.2.1: - resolution: {integrity: sha512-9GYPpsPFvrWBkelIhOhTWtkeZxVxZOdb3VnFTCzlOo3OjvmTvzLoZFUT8kNFACx0vJej6QPney1Cf9BvzCNE/A==} - bare-events@2.6.0: resolution: {integrity: sha512-EKZ5BTXYExaNqi3I3f9RtEsaI/xBSGjE0XZCZilPzFAV/goswFHuPd9jEZlPIZ/iNZJwDSao9qRiScySz7MbQg==} @@ -11871,10 +11869,6 @@ packages: resolution: {integrity: sha512-Mc7QhQ8s+cLrnUfU/Ji94vG/r8M26m8f++vyres4ZoojaRDpZ1eSIh/EpzLNwlWuvzSZ3UbDFspjFvTDXe6e/g==} engines: {node: '>=12.20'} - detect-libc@2.0.2: - resolution: {integrity: sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw==} - engines: {node: '>=8'} - detect-libc@2.0.3: resolution: {integrity: sha512-bwy0MGW55bG41VqxxypOsdSdGqLwXPI/focwgTYCFMbdUiBAxLg9CFzG08sz2aqzknwiX7Hkl0bQENjg8iLByw==} engines: {node: '>=8'} @@ -16141,8 +16135,8 @@ packages: resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} engines: {node: '>=0.10.0'} - napi-build-utils@1.0.2: - resolution: {integrity: sha512-ONmRUqK7zj7DWX0D9ADe03wbwOBZxNAfF20PlGfCWQcD3+/MakShIHrMqx9YwPTfxDdF1zLeL+RGZiR9kGMLdg==} + napi-build-utils@2.0.0: + resolution: {integrity: sha512-GEbrYkbfF7MoNaoh2iGG84Mnf/WZfB0GdGEsM8wz7Expx/LlWf5U8t9nvJKXSp3qr5IsEbK04cBGhol/KwOsWA==} napi-postinstall@0.3.4: resolution: {integrity: sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==} @@ -17529,8 +17523,8 @@ packages: resolution: {integrity: sha512-JB+ei0LkwE+rKHyW5z79Nd1jUaGxU6TvkfjFqY9vQaHxU5aU8dRl0UUaEmZdZbHwjp3WmXCBQQRNyimwbNQfCw==} engines: {node: '>=15.0.0'} - prebuild-install@7.1.2: - resolution: {integrity: sha512-UnNke3IQb6sgarcZIDU3gbMeTp/9SSU1DAIkil7PrqG1vZlBtY5msYccSKSHDqa3hNg436IXK+SNImReuA1wEQ==} + prebuild-install@7.1.3: + resolution: {integrity: sha512-8Mf2cbV7x1cXPUILADGI3wuhfqWvtiLA1iclTDbFRZkgRQS0NqsPZphna9V+HyTEadheuPmjaJMsbzKQFOzLug==} engines: {node: '>=10'} deprecated: No longer maintained. Please contact the author of the relevant native addon; alternatives are available. hasBin: true @@ -17852,9 +17846,6 @@ packages: queue-microtask@1.2.3: resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} - queue-tick@1.0.1: - resolution: {integrity: sha512-kJt5qhMxoszgU/62PLP1CJytzd2NKetjSRnyuj31fDd3Rlcz3fzlFdFLD1SItunPwyqEOkca6GbV612BWfaBag==} - quick-lru@5.1.1: resolution: {integrity: sha512-WuyALRjWPDGtt/wzJiadO5AXY+8hZ80hVpe6MyivgraREW751X3SbhRvG3eLKOYN+8VEvqLcf3wdnt44Z4S4SA==} engines: {node: '>=10'} @@ -19121,9 +19112,6 @@ packages: resolution: {integrity: sha512-Mcc5wHehp9aXz1ax6bZUyY5afg9u2rv5cqQI3mRrYkGC8rW2hM02jWuwjtL++LS5qinSyhj2QfLyNsuc+VsExg==} engines: {node: '>=10.0.0'} - streamx@2.16.1: - resolution: {integrity: sha512-m9QYj6WygWyWa3H1YY69amr4nVgy61xfjys7xO7kviL5rfIEc2naf+ewFiOA+aEJD7y0JO3h2GoiUv4TDwEGzQ==} - streamx@2.22.1: resolution: {integrity: sha512-znKXEBxfatz2GBNK02kRnCXjV+AA4kjZIUxeWSr3UGirZMJfTE9uiwKHobnbgxWyL/JWro8tTq+vOqAK1/qbSA==} @@ -33663,9 +33651,6 @@ snapshots: balanced-match@1.0.2: {} - bare-events@2.2.1: - optional: true - bare-events@2.6.0: optional: true @@ -35279,8 +35264,6 @@ snapshots: detect-indent@7.0.1: {} - detect-libc@2.0.2: {} - detect-libc@2.0.3: {} detect-newline@3.1.0: {} @@ -36595,7 +36578,7 @@ snapshots: dependencies: bindings: 1.5.0 node-addon-api: 6.1.0 - prebuild-install: 7.1.2 + prebuild-install: 7.1.3 transitivePeerDependencies: - bare-buffer @@ -41480,7 +41463,7 @@ snapshots: transitivePeerDependencies: - supports-color - napi-build-utils@1.0.2: {} + napi-build-utils@2.0.0: {} napi-postinstall@0.3.4: {} @@ -42933,14 +42916,14 @@ snapshots: transitivePeerDependencies: - debug - prebuild-install@7.1.2: + prebuild-install@7.1.3: dependencies: - detect-libc: 2.0.2 + detect-libc: 2.0.3 expand-template: 2.0.3 github-from-package: 0.0.0 minimist: 1.2.8 mkdirp-classic: 0.5.3 - napi-build-utils: 1.0.2 + napi-build-utils: 2.0.0 node-abi: 3.56.0 pump: 3.0.0 rc: 1.2.8 @@ -43341,8 +43324,6 @@ snapshots: queue-microtask@1.2.3: {} - queue-tick@1.0.1: {} - quick-lru@5.1.1: {} raf@3.4.1: @@ -44641,7 +44622,7 @@ snapshots: color: 4.2.3 detect-libc: 2.0.3 node-addon-api: 6.1.0 - prebuild-install: 7.1.2 + prebuild-install: 7.1.3 semver: 7.7.1 simple-get: 4.0.1 tar-fs: 3.1.0 @@ -44979,7 +44960,7 @@ snapshots: dependencies: bindings: 1.5.0 node-addon-api: 7.1.0 - prebuild-install: 7.1.2 + prebuild-install: 7.1.3 tar: 6.2.0 optionalDependencies: node-gyp: 8.4.1 @@ -45088,20 +45069,12 @@ snapshots: streamsearch@1.1.0: {} - streamx@2.16.1: - dependencies: - fast-fifo: 1.3.2 - queue-tick: 1.0.1 - optionalDependencies: - bare-events: 2.2.1 - streamx@2.22.1: dependencies: fast-fifo: 1.3.2 text-decoder: 1.2.3 optionalDependencies: bare-events: 2.6.0 - optional: true strftime@0.10.3: {} @@ -45536,7 +45509,7 @@ snapshots: dependencies: b4a: 1.6.6 fast-fifo: 1.3.2 - streamx: 2.16.1 + streamx: 2.22.1 tar@6.2.0: dependencies: @@ -45605,7 +45578,6 @@ snapshots: text-decoder@1.2.3: dependencies: b4a: 1.6.6 - optional: true text-hex@1.0.0: {} From 5432d9332f0cca2173c8ebc658fdab1bbe322de1 Mon Sep 17 00:00:00 2001 From: Ilango Rajagopal Date: Tue, 12 May 2026 13:15:00 +0530 Subject: [PATCH 8/8] revert: experimental changes --- .github/workflows/main.yml | 2 -- .github/workflows/publish-package.yml | 6 ------ Dockerfile | 6 +----- docker/worker/Dockerfile | 2 +- 4 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8e2b194ede7..4af90b52d3d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,8 +29,6 @@ jobs: node-version: ${{ matrix.node-version }} cache: 'pnpm' cache-dependency-path: 'pnpm-lock.yaml' - - name: Install native build dependencies - run: sudo apt-get install -y libopenblas-dev - run: pnpm install - run: pnpm lint - run: pnpm build diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index b842f6ad745..903a07f940f 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -67,9 +67,6 @@ jobs: env: CUSTOM_VERSION: ${{ inputs.custom_version }} - - name: Install native build dependencies - run: sudo apt-get install -y libopenblas-dev - - name: Install dependencies run: pnpm install --frozen-lockfile env: @@ -134,9 +131,6 @@ jobs: node-version: '20.20.2' registry-url: 'https://registry.npmjs.org' - - name: Install native build dependencies - run: sudo apt-get install -y libopenblas-dev - - name: Install dependencies run: pnpm install --frozen-lockfile env: diff --git a/Dockerfile b/Dockerfile index 307b2f49375..ca27175c8bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,11 +17,7 @@ RUN apk update && \ cairo-dev \ pango-dev \ chromium \ - curl \ - git \ - cmake \ - openblas-dev \ - py3-setuptools && \ + curl && \ npm install -g pnpm@10.26.0 ENV PUPPETEER_SKIP_DOWNLOAD=true diff --git a/docker/worker/Dockerfile b/docker/worker/Dockerfile index 9f608d09659..ffe60283236 100644 --- a/docker/worker/Dockerfile +++ b/docker/worker/Dockerfile @@ -1,6 +1,6 @@ FROM node:24-alpine -RUN apk add --update libc6-compat python3 make g++ git cmake openblas-dev py3-setuptools +RUN apk add --update libc6-compat python3 make g++ # needed for pdfjs-dist RUN apk add --no-cache build-base cairo-dev pango-dev