WeKnora/internal/application
wizardchen af3ac25bc1 fix(wiki): release documents a stranded wiki queue holds in finalizing
Housekeeping skips any row that still has a durable wiki ingest op, with
no age limit, so a wiki that can never run left its documents in
"finalizing" forever:

- A KB whose wiki was disabled, has no synthesis model, or whose model
  was deleted failed the trigger before claiming anything; after the
  retries the trigger was archived and the ops stayed. Treat these as
  terminal: drain the unclaimed ingest ops and release each document's
  wiki slot. Retract ops stay queued; rows a live batch holds are left
  to it.
- A lost or archived trigger left the ops with nothing to wake their
  consumer until a restart. Housekeeping now re-arms one trigger per KB
  for rows held only by durable ops, at most once per stale threshold.
2026-09-22 20:33:18 +08:00
..
access feat(artifacts): let users delete generated files (#3447) 2026-09-20 13:01:46 +08:00
repository fix(wiki): release documents a stranded wiki queue holds in finalizing 2026-09-22 20:33:18 +08:00
service fix(wiki): release documents a stranded wiki queue holds in finalizing 2026-09-22 20:33:18 +08:00