Files
DeepTutor/tests/api
evan188199-tech b04ac1bbc0 fix(book): run refresh-fingerprints refusal gate before claiming revision
A rejected POST /api/books/{id}/refresh-fingerprints (force=false, stale
pages not yet recompiled) bumped and persisted book.revision before the
engine refused it, so the client's expected_revision went stale and the
force=true retry always lost the revision race (409 forever).

Run the engine's refusal check (new read-only preflight
check_refresh_kb_fingerprints -> ensure_can_refresh_fingerprints) before
_claim_content_mutation; a rejected dismissal is now side-effect free and
the force retry with the same expected_revision succeeds. Regenerate the
router index fingerprint.
2026-11-10 00:47:45 +08:00
..
2026-06-11 20:03:34 +08:00
2026-09-02 04:09:11 +08:00
fix
2026-10-28 12:28:20 +08:00
2026-09-02 04:09:11 +08:00
2026-09-22 21:36:27 +08:00
2026-06-21 14:43:41 +08:00
2026-08-02 13:07:32 +08:00
2026-10-04 21:35:00 +08:00
2026-10-04 21:35:00 +08:00