Open
Description
Thinking about a DB schema:
Table: lib
Each library we render has a row in this table
Columns
name
- npm namelast-checked
npm 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
lib
version
state
: 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_name
lib_version
renderer_version
- if we update the renderer, we'll know that docs have been rendered using an older version and need to be eventually re-rendereddatetime
result
- 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.
Metadata
Metadata
Assignees
Labels
No labels