Skip to content

fix: recover interrupted sideload transfers - #75

Merged
zfields merged 2 commits into
blues:masterfrom
zakoverflow:fix/sideload-binary-recovery
Aug 4, 2026
Merged

fix: recover interrupted sideload transfers#75
zfields merged 2 commits into
blues:masterfrom
zakoverflow:fix/sideload-binary-recovery

Conversation

@zakoverflow

@zakoverflow zakoverflow commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Clear stale card.binary receive state before sideload setup.
  • Mirror note-c: retry only a {bad-bin} validation failure, up to three complete attempts.
  • Wait one second between those attempts to accommodate observed Notecard-side timing races.
  • Add mocked regression coverage for reset, successful retry, retry exhaustion, and non-{bad-bin} terminal failures.

Testing

  • go test ./... -count=10
  • go vet ./...
  • go build ./notecard

No Notecard hardware was attached; transfer behavior is covered by mocked transport tests.

@zfields
zfields merged commit 4e38513 into blues:master Aug 4, 2026
1 check passed
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.

2 participants