Skip to content

ENG-1793 Roam sync does not recover from Concept upsert failure#1075

Open
maparent wants to merge 4 commits into
eng-1791-obsidian-sync-does-not-recover-from-concept-upsert-failurefrom
eng-1793-roam-sync-does-not-recover-from-concept-upsert-failure
Open

ENG-1793 Roam sync does not recover from Concept upsert failure#1075
maparent wants to merge 4 commits into
eng-1791-obsidian-sync-does-not-recover-from-concept-upsert-failurefrom
eng-1793-roam-sync-does-not-recover-from-concept-upsert-failure

Conversation

@maparent
Copy link
Copy Markdown
Collaborator

@maparent maparent commented May 24, 2026

https://linear.app/discourse-graphs/issue/ENG-1793/roam-sync-does-not-recover-from-concept-upsert-failure

https://www.loom.com/share/9cf9602e2c2e4ac1a449055b6e36917b

ETA after loom: undefined was never actually sent to the getAllMissingOrNewDiscourseNodes, which would affect first-ever upload. Corrected. Had some downstream impact, had to make sure getAllDiscourseNodesSince could handle undefined; refactored ISO string to ms number.

@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 24, 2026

ENG-1793

@supabase
Copy link
Copy Markdown

supabase Bot commented May 24, 2026

This pull request has been ignored for the connected project zytfjzqyijgagqxrzbmz because there are no changes detected in packages/database/supabase directory. You can change this behaviour in Project Integrations Settings ↗︎.


Preview Branches by Supabase.
Learn more about Supabase Branching ↗︎.

@maparent maparent changed the base branch from main to eng-1791-obsidian-sync-does-not-recover-from-concept-upsert-failure May 24, 2026 15:34
@maparent maparent force-pushed the eng-1791-obsidian-sync-does-not-recover-from-concept-upsert-failure branch from 699aa2f to fb2fc57 Compare May 24, 2026 15:35
@maparent maparent force-pushed the eng-1793-roam-sync-does-not-recover-from-concept-upsert-failure branch from 4e5c768 to 64e405f Compare May 24, 2026 15:36
@maparent maparent requested a review from sid597 May 24, 2026 15:36
@sid597
Copy link
Copy Markdown
Collaborator

sid597 commented May 28, 2026

@codex review

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 673d338230

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread apps/roam/src/utils/syncDgNodesToSupabase.ts Outdated
@maparent maparent force-pushed the eng-1793-roam-sync-does-not-recover-from-concept-upsert-failure branch 2 times, most recently from eb77cdc to 2a83952 Compare May 28, 2026 13:03
maparent added 4 commits May 29, 2026 08:33
… Refactoring: Avoid conversions by passing timestamps to nodeTypeSince, getAllDiscourseNodesSince, convertDgToSupabaseConcepts.
@maparent maparent force-pushed the eng-1793-roam-sync-does-not-recover-from-concept-upsert-failure branch from 2a83952 to 6e814d1 Compare May 29, 2026 12:34
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