Add option for snapshot generation to be synchronous #16

Open
opened 2026-05-04 15:38:22 +00:00 by irl · 0 comments
Owner

Right now you don't know whether or not the article is successfully parsed without visiting the snapshot, or querying the status endpoint once #15 is implemented. If it's possible to make the background task run in the foreground easily without messing up contexts or database sessions then we can add an option to return an error instead of the URL on parse failure, and not have anything touch the database.

Right now you don't know whether or not the article is successfully parsed without visiting the snapshot, or querying the status endpoint once #15 is implemented. If it's possible to make the background task run in the foreground easily without messing up contexts or database sessions then we can add an option to return an error instead of the URL on parse failure, and not have anything touch the database.
irl added the
question
label 2026-05-04 15:38:22 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sr2/snapdirect#16
No description provided.