fix(ci): verify packaged Agent Environment bridges (#12874)

* test(agentenv): observe timeout before polling a pending run

* test(agentenv): verify bridge files at package boundary
This commit is contained in:
morluto authored and GitHub committed 2026-11-20 16:06:14 +00:00
1 parent b38438bab4
commit 41fc470072
14 files changed
+58 -94

No files matched your search

@@ -8,7 +8,6 @@ it("keeps complete note records and an unfinished trailing fragment", () => {
expect(parseAgentEnvNotes(`${JSON.stringify(record)}\n{"id":`)).toEqual([
record,
]);
expect(parseAgentEnvNotes(`${JSON.stringify(record)}\n`)).toEqual([record]);
expect(parseAgentEnvNotes("")).toEqual([]);
});
@@ -16,5 +15,4 @@ it("rejects a newline-terminated note that is not a record", () => {
expect(() =>
parseAgentEnvNotes(`${JSON.stringify(record)}\n{bad}\n`),
).toThrow(SyntaxError);
expect(() => parseAgentEnvNotes("{bad}\n")).toThrow(SyntaxError);
});