Simpl-Resultat/docs
le king fu 74fae140b1 fix(db): follow-ups of the review of PR #433
- close() on a getDb() handle runs as a "connection close" section and
  checks its generation: a handle kept from a previous profile rejects
  with DbConnectionClosedError instead of closing the current profile.
- closeUnlocked never rejects: the state is cleared and the generation
  bumped before close(), a failing close of the old pool is logged with
  logWarn, connectToProfile still opens the next profile and closeDb()
  resolves without a connection.
- The blocking alert names a getDb() call in a callback as a possible
  cause only: a long restore also waits 15 s.
- The generation check of the transaction handle is documented as a
  defence, not reachable today.
- Tests: the "behind the queue" alert (pins the reset of lockHolder),
  close() on a stale and on the current handle, a failing close during a
  switch and in closeDb().

Refs #408

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 19:50:12 -04:00
..
adr feat(profiles): name the copy of a stopped catch-up and keep one copy per profile 2026-10-12 20:18:18 -04:00
archive docs: organize technical documentation into docs/ folder 2026-02-19 07:34:01 -05:00
analyse-onboarding-2026-09.md docs: add the onboarding analysis behind spec-onboarding-phase1 2026-09-30 21:21:14 -04:00
api-contract-prices.md feat(license): online revocation check — a revoked key falls back to Free (#365) 2026-10-02 14:45:34 -04:00
architecture.md fix(db): follow-ups of the review of PR #433 2026-10-13 19:50:12 -04:00
audit-bilan-2026-05.md feat(balance): audit quick wins — terminology, optional symbol, movable snapshot date (#201) 2026-05-31 21:05:13 +00:00
guide-utilisateur.md feat(profiles): name the copy of a stopped catch-up and keep one copy per profile 2026-10-12 20:18:18 -04:00
qa-onboarding.html docs(onboarding): the import counter, D9 and the QA cases from the stack's review 2026-10-08 21:05:30 -04:00
qa-refonte-seed-categories-ipc.md test(categories): complete test coverage for migration flow (#123) 2026-04-21 19:25:13 -04:00
qa-update-cycle.md fix(release): drop the generic linux-x86_64 key from latest.json 2026-10-11 19:30:34 -04:00