-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Thinking about a DB schema:
Table: lib
Each library we render has a row in this table
Columns
name- npm namelast-checkednpm API was last queried at this time to check for new versions
Table render_queue
When a new npm version of a lib is identified, it's added to this queue.
We can also manually add items to the queue to force a re-render.
Columns
libversionstate: pending, in-progressstarted: if it was started too long ago, assume the worker died?
Table: lib_render
Each row describes a single render of a single lib@version
Columns:
lib_namelib_versionrenderer_version- if we update the renderer, we'll know that docs have been rendered using an older version and need to be eventually re-rendereddatetimeresult- success, failure. If rendering fails, it may be nice to show all failures in a list, or to prioritize re-rendering them after we bugfix the reasons they failed.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels