test(secrets): make the read-once comment path-neutral so #90's /dev/fd rename cannot stale it

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
dan-claude-bot 2026-07-18 19:22:16 +00:00
parent 8c396736c8
commit a504ac2b54

View file

@ -63,7 +63,7 @@ describe("secretsFileFor", () => {
});
// Pins the read-once shape of `<(pm read …)` that the fd-path test above
// cannot: a regular file behind /proc/self/fd re-opens at offset 0 on every
// cannot: a regular file behind an fd path re-opens at offset 0 on every
// read, but a pipe drains. `diff --all` / `apply --all` decrypt once per
// project, so the identity must be read once per process and reused.
describe("decryptSecrets identity caching", () => {