fix: address review nits from batch integration follow-ups (#818)
- browser: reject empty Referrer-Policy tokens structurally while still skipping them per W3 fallback semantics. - browser: document that WebMCP keys cannot collapse since unknown frames are excluded before keying. - ghidra: split NativeAOT non-recovery diagnostics into reason-missing vs payload-present variants with exact assertions. - reference: lock secret-patterned exclusion before failure projection so failure messages cannot carry secret paths. - doctor: lock direct-launcher Codex timeout ordering both ways. - native: note plutil -n macOS 12+ requirement; add fat-output control guarding the thin pre-scan. - reconstruction: multi-unknown limitation coverage via shared helper. Tracks #817 for the remaining smol-toml advisory.
This commit is contained in:
@@ -206,6 +206,25 @@ describe("Node-wrapped registration policy", () => {
|
||||
},
|
||||
);
|
||||
|
||||
it("checks a direct-launcher Codex startup timeout without Node wrapping", async () => {
|
||||
const home = await createTestTempDirectory("rea-direct-registration-");
|
||||
await mkdir(join(home, ".codex"));
|
||||
await writeFile(
|
||||
join(home, ".codex/config.toml"),
|
||||
'[mcp_servers.rea]\ncommand = "/current/rea"\nargs = ["mcp"]\nstartup_timeout_sec = 1\n',
|
||||
);
|
||||
const statuses = await readClientRegistrationStatuses(
|
||||
home,
|
||||
"/current/rea",
|
||||
{
|
||||
environment: {},
|
||||
},
|
||||
);
|
||||
expect(statuses).toEqual([
|
||||
expect.objectContaining({ client: "codex", state: "stale" }),
|
||||
]);
|
||||
});
|
||||
|
||||
it.each([{ tools: ["binary_session"] }, { tools: ["*"] }])(
|
||||
"checks Copilot tool selection $tools independently of launcher",
|
||||
async ({ tools }) => {
|
||||
|
||||
Reference in New Issue
Block a user