Use errors.Is in annotateLeaseFailure passthrough test

main

Commit

Soph4mo ago

errorlint flagged the != err comparison on a wrapped error. The helper currently returns the input untouched on the non-lease branch (so == works), but the contract is "pass through unchanged" — switch to errors.Is so the test still passes if the helper ever wraps with a non-lease annotation.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com Entire-Checkpoint: b1e36ac6c6d5

Checkpoints

can you look at https://github.com/entireio/git-sync/issues/46 and then chat

Claude CodeOpus 4.7[1m]
View session
Checkpoint 1