Skip to content

docs: refresh architecture/ deep-dives for the 0.10.0 surfaces#98

Merged
lesnik512 merged 1 commit into
mainfrom
docs/architecture-refresh-0.10.0
Jun 14, 2026
Merged

docs: refresh architecture/ deep-dives for the 0.10.0 surfaces#98
lesnik512 merged 1 commit into
mainfrom
docs/architecture-refresh-0.10.0

Conversation

@lesnik512

Copy link
Copy Markdown
Member

What

Documentation-only. Promotes the pass-3 / 0.10.0 conclusions into the architecture/*.md deep-dives so they match the shipped code — the audit updated CLAUDE.md (and relay.md/metrics.md) inline, but the other deep-dives lagged.

  • dlq.mdlast_exception_renderer redaction hook (F3-01); validate_schema's extra pg_catalog probes beyond the alembic diff (partial-index predicate, timer_id_uq indisunique, <table>_lease_ck CHECK).
  • drain.md — a timed-out drain emits a WARNING + drain_timeout metric (F1-04); OutboxBroker.stop sets running=False before the gather (F1-03); added the new regression test to the list.
  • timers.mdactivate_at on single publish is a client literal (not make_interval), so its NOTIFY future-dating is worker-clock-relative (F2-04/F6-13); timer_id dedup is "one live row", not once-ever (F2-06).
  • test-broker.md — the fake's session leniency diverges from production's TypeError (F4-09) and OutboxResponse validation still fires; the shared _claim_fake_row claim mechanics between fetch and _sync_dispatch (F1-08).

relay.md (F5-01) and metrics.md (drain_timeout) were already refreshed during the audit.

Verification

  • just lint clean (eof + ruff + ty). Docs-only — no code/tests touched.

This is the optional architecture sweep flagged after the release; with it merged, the deep-dives, CLAUDE.md, and the shipped 0.10.0 code are all in agreement.

🤖 Generated with Claude Code

Promote the pass-3 / 0.10.0 conclusions into the architecture/*.md deep-dives so they
match the shipped code (the audit updated CLAUDE.md inline; these lagged):

- dlq.md: last_exception_renderer redaction hook (F3-01); validate_schema's extra
  pg_catalog probes (partial-index predicate, timer_id_uq indisunique, lease CHECK).
- drain.md: timed-out drain emits WARNING + drain_timeout metric (F1-04); broker.stop
  sets running=False before the gather (F1-03); new drain_timeout regression test.
- timers.md: activate_at on single publish is a client literal (not make_interval),
  worker-clock NOTIFY (F2-04/F6-13); timer_id dedup is one-live-row, not once-ever (F2-06).
- test-broker.md: fake session leniency diverges from production (F4-09), OutboxResponse
  validation still fires; shared _claim_fake_row claim mechanics (F1-08).

relay.md (F5-01) and metrics.md (drain_timeout) were already current. Docs-only; just lint clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@lesnik512 lesnik512 merged commit 827dd35 into main Jun 14, 2026
3 checks passed
@lesnik512 lesnik512 deleted the docs/architecture-refresh-0.10.0 branch June 14, 2026 14:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant