WIP: checkpoint before stage-3 sub-stage rewrite
This commit is contained in:
parent
73fb12ac35
commit
04a581efe1
8 changed files with 829 additions and 343 deletions
|
|
@ -121,23 +121,11 @@ pnpm --filter @lila/pipeline reverse-link
|
|||
### Resetting enrich stage progress
|
||||
|
||||
```bash
|
||||
# Reset round 1 only (retry failed or incomplete run)
|
||||
node -e "
|
||||
const Database = require('better-sqlite3');
|
||||
const db = new Database('/db/pipeline.db');
|
||||
const result = db.prepare(\"DELETE FROM run_status WHERE stage = 'round1'\").run();
|
||||
console.log('Deleted', result.changes, 'rows');
|
||||
db.close();
|
||||
"
|
||||
# Reset round 1 only
|
||||
pnpm --filter @lila/pipeline db:reset round1
|
||||
|
||||
# Reset all enrich progress (round 1 and round 2)
|
||||
node -e "
|
||||
const Database = require('better-sqlite3');
|
||||
const db = new Database('data-pipeline/db/pipeline.db');
|
||||
const result = db.prepare(\"DELETE FROM run_status WHERE stage IN ('round1', 'round2')\").run();
|
||||
console.log('Deleted', result.changes, 'rows');
|
||||
db.close();
|
||||
"
|
||||
# Reset all stages except reverse link
|
||||
pnpm --filter @lila/pipeline db:reset all
|
||||
```
|
||||
|
||||
### Checking pipeline progress
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue