Skip to content

Conversation

@dbieber
Copy link
Owner

@dbieber dbieber commented Apr 15, 2025

Summary

  • Fix issue where notes are incorrectly marked as uploaded when Roam login fails
  • When 'Failed to go to graph. No retries left.' occurs, notes are now kept in the queue for retry instead of being marked as uploaded
  • Added explicit success/failure status to the Roam uploader
  • Modified the runner to check upload status and only mark notes as committed if upload was successful

Original Task

in the roam uploader, sometimes it fails to log in (that's fine - we'll sort that out later). we get 'Failed to go to graph. No retries left.'. when this happens, however, it still tries to insert the note into the graph (which of course fails), and the note gets marked as having been uploaded, so we lose the note. instead, when it fails, it should backoff and retry later.

🤖 Generated with Claude Code

dbieber and others added 4 commits April 15, 2025 17:00
When 'Failed to go to graph. No retries left.' occurs, we now prevent notes from being marked as uploaded.
The uploader now returns a success/failure status, and the runner only marks notes as committed if the upload succeeds.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Make all uploader.upload() methods return a success value to be compatible
with the changes in runner.py for handling upload failures.

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
@dbieber dbieber merged commit a4516d5 into main Apr 15, 2025
2 checks 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