ci: remove bun workflow

This commit is contained in:
Peter Steinberger
2026-04-01 21:58:46 +09:00
parent 131f6dac37
commit fc745db76d
5 changed files with 2 additions and 138 deletions

View File

@@ -1,7 +1,7 @@
import { appendFileSync } from "node:fs";
import { buildCIExecutionManifest } from "./test-planner/planner.mjs";
const WORKFLOWS = new Set(["ci", "install-smoke", "ci-bun"]);
const WORKFLOWS = new Set(["ci", "install-smoke"]);
const parseArgs = (argv) => {
const parsed = {
@@ -13,7 +13,7 @@ const parseArgs = (argv) => {
const nextValue = argv[index + 1] ?? "";
if (!WORKFLOWS.has(nextValue)) {
throw new Error(
`Unsupported --workflow value "${String(nextValue || "<missing>")}". Supported values: ci, install-smoke, ci-bun.`,
`Unsupported --workflow value "${String(nextValue || "<missing>")}". Supported values: ci, install-smoke.`,
);
}
parsed.workflow = nextValue;
@@ -69,7 +69,4 @@ if (workflow === "ci") {
} else if (workflow === "install-smoke") {
writeOutput("docs_only", String(manifest.scope.docsOnly));
writeOutput("run_install_smoke", String(manifest.jobs.installSmoke.enabled));
} else if (workflow === "ci-bun") {
writeOutput("run_bun_checks", String(manifest.jobs.bunChecks.enabled));
writeOutput("bun_checks_matrix", JSON.stringify(manifest.jobs.bunChecks.matrix));
}

View File

@@ -1319,7 +1319,6 @@ export function buildCIExecutionManifest(scopeInput = {}, options = {}) {
minShards: 1,
maxShards: 9,
});
const bunShardCount = windowsShardCount;
const extensionFastShardCount = resolveDynamicShardCount({
estimatedDurationMs: sumKnownManifestDurationsMs(context.extensionTimingManifest),
fileCount: extensionCandidateFiles.length,
@@ -1424,13 +1423,6 @@ export function buildCIExecutionManifest(scopeInput = {}, options = {}) {
},
]
: [];
const bunChecksInclude = createShardMatrixEntries({
checkNamePrefix: "bun-checks",
runtime: "bun",
task: "test",
command: "bunx vitest run --config vitest.unit.config.ts",
shardCount: bunShardCount,
});
const extensionFastInclude = extensionFastEligible
? scope.changedExtensionsMatrix.include.map((entry) => ({
check_name: `extension-fast-${entry.extension}`,
@@ -1458,7 +1450,6 @@ export function buildCIExecutionManifest(scopeInput = {}, options = {}) {
macosNode: { enabled: macosNodeInclude.length > 0, matrix: { include: macosNodeInclude } },
macosSwift: { enabled: macosEligible },
android: { enabled: androidInclude.length > 0, matrix: { include: androidInclude } },
bunChecks: { enabled: bunChecksInclude.length > 0, matrix: { include: bunChecksInclude } },
installSmoke: { enabled: !scope.docsOnly && scope.runChangedSmoke },
};
@@ -1471,7 +1462,6 @@ export function buildCIExecutionManifest(scopeInput = {}, options = {}) {
extensionFast: extensionFastShardCount,
windows: windowsShardCount,
macosNode: macosNodeShardCount,
bun: bunShardCount,
},
jobs,
requiredCheckNames: [
@@ -1482,7 +1472,6 @@ export function buildCIExecutionManifest(scopeInput = {}, options = {}) {
...(macosEligible ? ["macos-swift"] : []),
...androidInclude.map((entry) => entry.check_name),
...extensionFastInclude.map((entry) => entry.check_name),
...bunChecksInclude.map((entry) => entry.check_name),
"check",
"check-additional",
"build-smoke",