Commit b452b0c
committed
docs(encryption): Stage 6E-2c — fix stale comment on MissingSidecar test
Claude r6 caught a stale comment that predated the codex P1 r2
narrowing of the nil-return branch. The MissingSidecar test was
written when refuseStartupOnActiveRaftCutover silently returned
nil on any read error; the fail-closed fix narrowed that to
encryption.IsNotExist only. The test itself was already correct
(it asserts the missing-file case returns nil) — only the
docblock contradicted the actual contract.
Rewrote the comment to point at the BadSidecarPropagates sibling
test as the canonical reference for the non-NotExist branch.1 parent 47bb81a commit b452b0c
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
221 | 225 | | |
222 | 226 | | |
223 | 227 | | |
| |||
0 commit comments