test(pack): list ensureAndroidCacheDir.mjs in the pack-artifact fixture

#8593 registered bin/cli/utils/ensureAndroidCacheDir.mjs in
PACK_ARTIFACT_REQUIRED_PATHS so the Android/Termux cache module cannot silently
drop out of the npm tarball. Three test files read that list; only
pack-artifact-entrypoint-closures.test.ts derives it dynamically. This one
hardcodes the expected set, so it went red on a correct change.

Adding the entry here, not relaxing the assertion — a hardcoded fixture is what
makes an accidental REMOVAL from the required-paths list loud, which is the
whole point of the guard.
This commit is contained in:
diegosouzapw
2026-07-27 21:12:14 -03:00
parent 0eeb8f45c0
commit 352d48fedc
2 changed files with 2 additions and 0 deletions

View File

@@ -0,0 +1 @@
- chore(quality): align the pack-artifact expected-path fixture with the Android/Termux cache module added in #8593, and re-pin the `chatCore.ts` ceiling grown by the merge-train 2 batch

View File

@@ -109,6 +109,7 @@ test("findMissingArtifactPaths flags missing root runtime files in the tarball",
"bin/aliasResolverHook.mjs",
"bin/cli/data-dir.mjs",
"bin/cli/program.mjs",
"bin/cli/utils/ensureAndroidCacheDir.mjs",
"bin/cli/utils/storageKeyProvision.mjs",
"bin/cli/utils/versionFastPath.mjs",
"bin/mcp-server.mjs",