From de77213b0d5914fb4300aedae40b81d040dd5227 Mon Sep 17 00:00:00 2001 From: Dizzle <112548150+maxmad64bis@users.noreply.github.com> Date: Fri, 18 Sep 2026 16:35:24 +0200 Subject: [PATCH] fix(build): drop orphaned httpClientAbortGuard.mjs pack-artifact entries (#14029) The #13636 crash-guard wiring was removed, leaving no producer or consumer for the dist file. Refs #12732 Co-authored-by: Max --- changelog.d/fixes/14029-pack-abort-guard-purge.md | 1 + scripts/build/pack-artifact-policy.ts | 3 --- tests/unit/pack-artifact-policy.test.ts | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) create mode 100644 changelog.d/fixes/14029-pack-abort-guard-purge.md diff --git a/changelog.d/fixes/14029-pack-abort-guard-purge.md b/changelog.d/fixes/14029-pack-abort-guard-purge.md new file mode 100644 index 0000000000..7074597707 --- /dev/null +++ b/changelog.d/fixes/14029-pack-abort-guard-purge.md @@ -0,0 +1 @@ +- **fix(build):** drop the orphaned `httpClientAbortGuard.mjs` entries from the pack-artifact allowlists — the #13636 crash-guard wiring was removed, so no producer or consumer ships the file anymore ([#14029](https://github.com/diegosouzapw/OmniRoute/pull/14029)) diff --git a/scripts/build/pack-artifact-policy.ts b/scripts/build/pack-artifact-policy.ts index 52948630ae..b3afdaf557 100644 --- a/scripts/build/pack-artifact-policy.ts +++ b/scripts/build/pack-artifact-policy.ts @@ -54,8 +54,6 @@ export const APP_STAGING_ALLOWED_EXACT_PATHS: string[] = [ // server-ws.mjs import (sd_notify helper) — enforced by the closure test // tests/unit/pack-artifact-server-ws-closure.test.ts. "systemd-notify.mjs", - // server-ws.mjs import (process crash guard, #13636) — same closure test. - "httpClientAbortGuard.mjs", "responses-ws-proxy.mjs", "bin/chatgpt-web-codex-mcp.mjs", "scripts/dev/sync-env.mjs", @@ -203,7 +201,6 @@ export const PACK_ARTIFACT_REQUIRED_PATHS: string[] = [ "dist/main-server-timeouts.mjs", // server-ws.mjs import (sd_notify helper) — enforced by the closure test. "dist/systemd-notify.mjs", - "dist/httpClientAbortGuard.mjs", "dist/http-method-guard.cjs", // #5452: regression guard — make check:pack-artifact fail loudly if the TLS // opt-in sidecar (imported by dist/server-ws.mjs) ever vanishes from the tarball. diff --git a/tests/unit/pack-artifact-policy.test.ts b/tests/unit/pack-artifact-policy.test.ts index 0061f46a4a..81fdfd2b15 100644 --- a/tests/unit/pack-artifact-policy.test.ts +++ b/tests/unit/pack-artifact-policy.test.ts @@ -299,7 +299,6 @@ test("findMissingArtifactPaths flags missing root runtime files in the tarball", "config/release/wreq-js-rust-notices.md", "dist/head-response-guard.cjs", "dist/http-method-guard.cjs", - "dist/httpClientAbortGuard.mjs", "dist/main-server-timeouts.mjs", "dist/open-sse/services/compression/engines/rtk/filters/generic-output.json", "dist/open-sse/services/compression/rules/en/filler.json",