Skip to content

fix: handle .stignore during initial sync#96

Merged
acmore merged 2 commits intomainfrom
fix/syncthing-ignore-sync-gate
Apr 23, 2026
Merged

fix: handle .stignore during initial sync#96
acmore merged 2 commits intomainfrom
fix/syncthing-ignore-sync-gate

Conversation

@acmore
Copy link
Copy Markdown
Owner

@acmore acmore commented Apr 22, 2026

Summary

  • shrink the remote materialization expectation when the current local tracked file count drops during two-phase sync
  • prevent initial sync from waiting on stale pre-.stignore file counts after excluded files disappear from the tracked set
  • add regression coverage for the file-count expectation helper

Verification

  • go test ./internal/cli
  • .venv/bin/pre-commit run --all-files --hook-stage manual okdev-gofmt

@acmore acmore merged commit cb809aa into main Apr 23, 2026
1 check passed
@acmore acmore deleted the fix/syncthing-ignore-sync-gate branch April 23, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant