refactor: delete dead infra and config exports (#106019)

* refactor: delete dead infra and config exports

* refactor: preserve live infra and config contracts

* refactor(config): remove obsolete file-store lifecycle APIs

* refactor(infra): finish current-main dead export cleanup
This commit is contained in:
Peter Steinberger
2026-07-13 12:00:47 -07:00
committed by GitHub
parent 8dd57279cd
commit d1684f48a3
444 changed files with 3161 additions and 14814 deletions

View File

@@ -1,6 +1,5 @@
/** Tests environment sanitization for node-host command execution. */
import { describe, expect, it } from "vitest";
import { parseWindowsCodePage } from "../infra/windows-encoding.js";
import { withEnv } from "../test-utils/env.js";
import { decodeCapturedOutputBuffer, sanitizeEnv } from "./invoke.js";
import { buildNodeEventParams } from "./invoke.js";
@@ -64,12 +63,6 @@ describe("node-host sanitizeEnv", () => {
});
describe("node-host output decoding", () => {
it("parses code pages from chcp output text", () => {
expect(parseWindowsCodePage("Active code page: 936")).toBe(936);
expect(parseWindowsCodePage("活动代码页: 65001")).toBe(65001);
expect(parseWindowsCodePage("no code page")).toBeNull();
});
it("decodes GBK output on Windows when code page is known", () => {
let supportsGbk = true;
try {