Align lifecycle persistence with review isolation and runtime health
Assistant: codex Assistant-Model: gpt-6-astra Assistant-Session: 01a10780-6d41-7952-9718-dfbc1f41236f
This commit is contained in:
parent
b2a4b863a8
commit
f0e9341650
8 changed files with 102 additions and 5 deletions
|
|
@ -123,5 +123,6 @@ def admin():
|
|||
else:
|
||||
with store._connection() as db:
|
||||
print(json.dumps({'schema_version': db.execute('PRAGMA user_version').fetchone()[0],
|
||||
'lifecycle': store.lifecycle_counts(),
|
||||
'outbox': {r[0]: r[1] for r in db.execute('SELECT state,COUNT(*) FROM outbox GROUP BY state')},
|
||||
'submissions': {r[0]: r[1] for r in db.execute('SELECT state,COUNT(*) FROM submissions GROUP BY state')}}))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue