diff --git a/.github/workflows/build-binaries.yml b/.github/workflows/build-binaries.yml index 37ab11c12..4068555e4 100644 --- a/.github/workflows/build-binaries.yml +++ b/.github/workflows/build-binaries.yml @@ -166,16 +166,17 @@ jobs: # Nehalem/SSE4.2 runtime, which dispatches AVX2/AVX-512 paths at run # time. Both artifact names remain for compatibility with old URLs. # Every native leg must run the same required artifact checks. + # Keep the x64 legs on the image with the qualified Nehalem QEMU probe. - label: x64 target: bun-linux-x64 - runner: ubuntu-latest + runner: ubuntu-24.04 artifact_name: MySpeed-linux-x64 verify: true - label: x64-baseline # Explicit baseline targets still request a separate runtime # download; compile natively and retain the compatibility filename. target: bun-linux-x64 - runner: ubuntu-latest + runner: ubuntu-24.04 artifact_name: MySpeed-linux-x64-baseline verify: true - label: arm64 diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index dde615db9..302503538 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -31,7 +31,8 @@ jobs: include: - platform: linux/amd64 architecture: amd64 - runner: ubuntu-latest + # This image preserves the OCI config digest when loading into Docker. + runner: ubuntu-24.04 - platform: linux/arm64 architecture: arm64 runner: ubuntu-24.04-arm diff --git a/bun.lock b/bun.lock index 360408267..b4eeef07b 100644 --- a/bun.lock +++ b/bun.lock @@ -18,12 +18,12 @@ "moment-timezone": "^0.6.6", "mysql2": "^3.24.6", "node-schedule": "^2.1.2", - "nodemailer": "^10.6.0", + "nodemailer": "^10.6.1", "prom-client": "^15.1.3", "satori": "^0.63.2", "sequelize": "^6.37.8", "tar-stream": "3.1.7", - "undici": "8.12.4", + "undici": "8.13.1", }, "devDependencies": { "@eslint/js": "^10.0.1", @@ -609,7 +609,7 @@ "node-schedule": ["node-schedule@2.1.2", "", { "dependencies": { "cron-parser": "^4.2.0", "long-timeout": "0.1.1", "sorted-array-functions": "^1.3.0" } }, "sha512-JuKopr93W+WP+TaK5yoHJGpzPF9fpkH8Vcc9CXGE993BNeRKsb3L4Wy6FzL0VxkEa6U+8M4Ni0HEm9rMMnwurg=="], - "nodemailer": ["nodemailer@10.6.0", "", {}, "sha512-jWanL7D9GD3jvUDYKmoC5rWTiG8MnBgnN2yV68bgMKip1zUJhiSTyz7Eg+18y8sk5OvdVDzws5nZK5arSI4f5Q=="], + "nodemailer": ["nodemailer@10.6.1", "", {}, "sha512-d7kfFfS/tR4Aca+SBvRaQ+MXKNv7d2JiRe5TxaRcFT/kYMh4GGPnW9aKksTIEvyEbA7d/7HYWE4YPDEHxzJj/g=="], "object-inspect": ["object-inspect@1.13.4", "", {}, "sha512-W67iLl4J2EXEGTbfeHCffrjDfitvLANg0UlX3wFUUSTx92KXRFegMHUVgSqE+wvhAbi4WqjGg9czysTV2Epbew=="], @@ -767,7 +767,7 @@ "unbzip2-stream": ["unbzip2-stream@1.4.3", "", { "dependencies": { "buffer": "^5.2.1", "through": "^2.3.8" } }, "sha512-mlExGW4w71ebDJviH16lQLtZS32VKqsSfk80GCfUlwT/4/hNRFsoscrF/c++9xinkMzECL1uL9DDwXqFWkruPg=="], - "undici": ["undici@8.12.4", "", {}, "sha512-8Mx+uNKKER2bA4AdtedkqRbwUCIJFr2nJckXRe5yrDqzePqwLP7VNcctN8/XdmDSbF7mS+jJKIszlL+vbam1VA=="], + "undici": ["undici@8.13.1", "", {}, "sha512-Kt7EaPjh0s93lJH/PmW3d5rhkcpUa6fS3jqZ7+YGxNd9L7Xy/i827xe4C2uhhq+pJebM4tQOl5AgHmW11G5Skg=="], "undici-types": ["undici-types@7.19.2", "", {}, "sha512-qYVnV5OEm2AW8cJMCpdV20CDyaN3g0AjDlOGf1OW4iaDEx8MwdtChUp4zu4H0VP3nDRF/8RKWH+IPp9uW0YGZg=="], diff --git a/package.json b/package.json index 9de8fd14b..df87e29d7 100644 --- a/package.json +++ b/package.json @@ -39,12 +39,12 @@ "moment-timezone": "^0.6.6", "mysql2": "^3.24.6", "node-schedule": "^2.1.2", - "nodemailer": "^10.6.0", + "nodemailer": "^10.6.1", "prom-client": "^15.1.3", "satori": "^0.63.2", "sequelize": "^6.37.8", "tar-stream": "3.1.7", - "undici": "8.12.4" + "undici": "8.13.1" }, "overrides": { "body-parser": "^2.4.0", diff --git a/tests/server/releasePublishOrder.test.js b/tests/server/releasePublishOrder.test.js index 1807c7f13..42e0f11ad 100644 --- a/tests/server/releasePublishOrder.test.js +++ b/tests/server/releasePublishOrder.test.js @@ -9,6 +9,16 @@ const needs = (job) => Array.isArray(job.needs) ? job.needs : [job.needs].filter describe('qualification ordering', () => { const jobs = workflow('qualify-release').jobs; + it('uses the qualified Ubuntu image for Linux x64 release checks', () => { + const runner = 'ubuntu-24.04'; + const binaries = workflow('build-binaries').jobs['build-linux'].strategy.matrix.include; + for (const label of ['x64', 'x64-baseline']) { + assert.equal(binaries.find(row => row.label === label)?.runner, runner, label); + } + const images = workflow('build-docker').jobs.build.strategy.matrix.include; + assert.equal(images.find(row => row.platform === 'linux/amd64')?.runner, runner); + }); + it('builds installers only from completed qualified binaries', () => { assert.ok(needs(jobs.msi).includes('binaries')); assert.ok(needs(jobs.msi).includes('prepare')); diff --git a/tests/server/runtimeRequirements.test.js b/tests/server/runtimeRequirements.test.js index 0427e367a..3ef54d04c 100644 --- a/tests/server/runtimeRequirements.test.js +++ b/tests/server/runtimeRequirements.test.js @@ -5,12 +5,13 @@ import {readSource} from "../helpers/source.js"; const BUN_VERSION = "1.4.4"; const MINIMUM_NODE = "22.19.0"; +const UNDICI_VERSION = "8.13.1"; const config = parse(readSource(".github/workflows/test.yml")); const manifest = JSON.parse(readSource("package.json")); const setup = (job, action) => job.steps.find(step => step.uses?.startsWith(`${action}@`)); it("declares the Node floor required by the pinned Undici release", () => { - assert.equal(manifest.dependencies.undici, "8.12.4"); + assert.equal(manifest.dependencies.undici, UNDICI_VERSION); assert.equal(manifest.engines.node, `>=${MINIMUM_NODE}`); });