You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Storage cleanup test fails on Git 2.56: a broken gitfile is reported as failed, not changed #768
storageCleanup.test.ts › "compares the checked-out branch without a full status" fails on GitHub runners that have Git 2.56.0, and passes on 2.55.0. The runner image moved between two J5 CI runs on 2026-10-28: j5/release-0.0.51 passed at 58ddf49a (run 40629037443, Git 2.55.0). The next commit, which changed only one line of FORK.md, failed (run 40631705784, Git 2.56.0). That failure blocks #767.
- "outcome": "kept",
- "reason": "Repository or branch changed",
+ "outcome": "failed",
+ "reason": "git: fatal: gitfile does not point to a valid repository: /tmp/storage-cleanup-…/worktrees/feature/.git",
The test points a worktree's .git file at a missing directory. apps/server/src/storageCleanup.ts:476 treats that as a changed repository only when stderr contains "not a git repository". Git 2.56 reports "gitfile does not point to a valid repository" instead, so cleanup reports the worktree as failed. In both cases the worktree is kept and nothing is deleted. Only the reported outcome and reason differ.
To investigate
Confirm the Git 2.56 message change and whether other Git-message matches in the server have the same problem.
This is upstream's code. Upstream main has the same check (storageCleanup.ts:507), so upstream CI will hit it too once its runners move to Git 2.56. Decide between a J5 fix (recorded in FORK.md) and offering one upstream through Upstream give-back backlog (hold until V2 merges upstream) #276.
Until it is fixed, every J5 CI run on a Git 2.56 runner fails Test Server 3.
Activity
fix(server): storage cleanup reads Git 2.56's broken-gitfile message (#…