From 89e1008af3ce3599d2ee9ea65636017a53d4f4e9 Mon Sep 17 00:00:00 2001 From: leemour Date: Mon, 16 Nov 2026 11:22:51 +0100 Subject: [PATCH] test(meetings): check the export file's 0600 mode only where files have POSIX modes Windows reports 0666 for every file, so the release workflow's Windows platform job failed on this assertion. The release of 0.2.0 stopped before publishing. Test files are outside the live-check hash, so the recorded check of 0.2.0 still holds. Co-Authored-By: Claude Opus 5.5 --- src/calls.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calls.test.ts b/src/calls.test.ts index b27e3f3..d08b58f 100644 --- a/src/calls.test.ts +++ b/src/calls.test.ts @@ -332,7 +332,7 @@ it("meetings export prints under the read-only lock and writes a file only in th expect(JSON.parse(outside.err).error.reason).toBe("read-only.output-outside") expect(lockedWrite.code, lockedWrite.err).toBe(0) expect(files.map((file) => [statSync(file).mtimeMs, statSync(file).size])).toEqual(before) - expect(statSync(output).mode & 0o777).toBe(0o600) + if (process.platform !== "win32") expect(statSync(output).mode & 0o777).toBe(0o600) const taken = join(tmpdir(), "taken.md") writeFileSync(taken, "kept")