Skip to content

Fix: send the recorded list when a list save is retried after sign-in - #404

Merged
SandObserver merged 1 commit into
mainfrom
fix/send-recorded-list-on-retry
Oct 4, 2026
Merged

SandObserver merged 1 commit into
mainfrom
fix/send-recorded-list-on-retry

Conversation

@SandObserver

Copy link
Copy Markdown
Owner

Summary

  • U4-3: writeItems posts a copy of the list it records as sent (JSON.parse(sent)) instead of the live state.items. apiPost serialises the body again when it retries after sign-in, so a list change made while the first POST was in flight reached the server unrecorded, and a later failed save restored the list without it so the next save deleted it.

Testing
All green, including the Docker build and e2e suite. Added an assertion that the list save posts the list it records as sent.

Changelog

Fixed

  • Stop a later list save from silently deleting a change sent during a sign-in retry.

Checklist

  • Stays within the project constraints: one container, no runtime dependencies, no build step (see CONTRIBUTING.md).
  • Tests added or updated for new logic, and the full suite, lint, and typechecks pass.
  • Docs updated if behavior or configuration changed.

@SandObserver SandObserver added the bug Something isn't working label Oct 4, 2026
@SandObserver
SandObserver merged commit 3207f70 into main Oct 4, 2026
6 checks passed
@SandObserver
SandObserver deleted the fix/send-recorded-list-on-retry branch October 4, 2026 03:43
stackyard-release Bot pushed a commit that referenced this pull request Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant