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
Commit 075adc7
Browse filesBrowse the repository at this point in the historyBrowse files
T1: appendChanges now rejects a malformed final record even when it kept its
newline (same hazard as the unterminated tail: accepting it demotes it to a
skipped middle line and reports an incomplete history as valid).
T2: the task-start baseline block is wrapped in try/catch - a rejected state
lookup or checkpoint error is logged and no longer aborts task startup.
T3: shadow-repo-excluded paths never enter the change journal (skip-when-
journaling) and restoreFile's delete branch refuses an excluded target with
an explicit error instead of fs.rm (covers journals written before the fix).
New ShadowCheckpointService#isPathIgnored uses check-ignore --no-index -v
and judges by output, not by promise settlement (simple-git raw() resolves
on a silent non-zero exit).
`Cannot append to change journal ${filePath}: ${unterminated ? "unterminated " : ""}final record is not a complete entry (torn-tail recovery requires explicit repair)`,
156
+
)
157
+
}
143
158
}
144
-
if(!isEntryShaped(tail)){
145
-
thrownewError(
146
-
`Cannot append to change journal ${filePath}: unterminated final record is not a complete entry (torn-tail recovery requires explicit repair)`,
0 commit comments