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
5 changes: 3 additions & 2 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 10 additions & 0 deletions tests/server/releasePublishOrder.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'));
Expand Down
3 changes: 2 additions & 1 deletion tests/server/runtimeRequirements.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
});

Expand Down
Loading