Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: keep archive stat fixture portable across line-ending settings

[._.]/ Adam Eivy40575fca5858
diff --git a/server/services/heldCheckoutRecovery.test.js b/server/services/heldCheckoutRecovery.test.js
index c1f79756cb..9f70433094 100644
--- a/server/services/heldCheckoutRecovery.test.js
+++ b/server/services/heldCheckoutRecovery.test.js
@@ -96,7 +96,9 @@ describe.skipIf(SKIP_HEAVY_INTEGRATION)('held checkout recovery (real git)', ()
it('archives staged, unstaged, untracked, ignored and symlinked content, then retires a locked detached checkout', async () => {
await writeFile(join(repo, 'eol.txt'), 'one\ntwo\n');
- await writeFile(join(repo, 'stat-cache.txt'), 'unchanged\n');
+ // No newline: Windows core.autocrlf must not make this stat-only fixture
+ // byte-different when the checkout later installs its LF attributes.
+ await writeFile(join(repo, 'stat-cache.txt'), 'unchanged');
await execGit(['add', 'eol.txt', 'stat-cache.txt'], repo);
await execGit(['commit', '-m', 'chore: synthetic text file'], repo);
const { path, release } = await heldCheckout('detached-held', { beforeLock: async (tree) => {