Commit Graph
27 Commits
Author SHA1 Message Date
ricoromaandClaude Opus 5.5 b104690dcd docs: record queue overload baseline4 label on d68a016
No swapouts and no host warnings, so this is the main label.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 07:06:26 +03:00
ricoromaandClaude Opus 5.5 d68a016f7f docs: record queue overload baseline3 label on 1373e7d
The host swapped out 26046 pages, all in one cell. A further label,
baseline4, follows by the user's decision; the main one is picked by the
number of affected cells, not by verdicts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 05:05:24 +03:00
ricoromaandClaude Opus 5.5 9639aa19b6 docs: record queue overload baseline2 label on 5ee3257
The host swapped out 309432 pages during the run and five cells are
flagged host_swap, so this label stays as a record and baseline3 is
captured as the main one.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 13:05:58 +03:00
ricoromaandClaude Opus 5.5 5ee32573eb fix: correct queue overload bench accounting after verify
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 10:55:45 +03:00
ricoromaandClaude Opus 5.5 a8ef6adcc8 docs: record track1-queue-overload evidence and report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 09:47:41 +03:00
ricoromaandClaude Opus 5.5 7999002e09 docs: record queue overload baseline label on d667fa3
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 09:36:52 +03:00
ricoromaandClaude Opus 5.5 d667fa3c57 feat: limit accepted attachment work and add queue overload bench
Reject uploads with 429 at [uploads] max_unfinished_jobs, counted by the existing partial indexes in the membership block. Add the bench_queue profile, hypotheses H1-H9 and the fifth failure-stand API.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 07:30:08 +03:00
ricoromaandClaude Opus 5.5 5b5f59aa3b docs: propose track1-queue-overload
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 05:28:05 +03:00
ricoromaandClaude Opus 5.5 5a97416679 docs: archive unit-of-work and sync its specs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:09:43 +03:00
ricoromaandClaude Opus 5.5 a93345fc95 docs: close unit-of-work re-verify suggestions
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 03:08:17 +03:00
ricoromaandClaude Opus 5.5 912e7be5f2 docs: record unit-of-work verify fix evidence on d8fe2e8
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 02:46:21 +03:00
ricoromaandClaude Opus 5.5 d8fe2e87f1 fix: address unit-of-work verify findings
Abort the transport when a bounded close ends, so a frozen server leaves
no sessions over the pool once the ping has no transaction. Under the
shared request deadline a block sets no timer of its own, so a single
cancel closes the connection and the log has one record. Add a test that
concurrent worker deliveries get separate units of work, and state the
cost of the pattern against both baselines in the report.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 01:58:51 +03:00
ricoromaandClaude Opus 5.5 952c16350e docs: record unit-of-work evidence and report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-01 00:34:03 +03:00
ricoromaandClaude Opus 5.5 6ba74b18f3 refactor: move services to a unit of work over repository ports
Services depend only on src/core/ports: async with self.uow is one
transaction, commit is explicit, leaving without it rolls back. A
connection is held per step, the JSON routers keep a shared request
deadline, and rollback runs under the block deadline. Adds
service-tests with fakes, a repo contract run on both the fake and SQL,
and make service_test / service_test_db. API, schema and settings are
unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 23:14:16 +03:00
ricoromaandClaude Opus 5.5 b2fb88f25a docs: propose unit-of-work
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 21:17:48 +03:00
ricoromaandClaude Opus 5.5 9efab799f2 docs: archive pipeline-reliability and sync its specs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:53:23 +03:00
ricoromaandClaude Opus 5.5 d6bd0a5fec docs: record pipeline-reliability verify evidence on 399da05
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 19:51:32 +03:00
ricoromaandClaude Opus 5.5 399da054f2 fix: address pipeline-reliability verify findings
Close the source image after converting to RGBA so PNGs at the pixel limit
fit the render memory limit. Strengthen the fencing test so that it fails
without the attempt check, and measure worker and relay stops under load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:55:38 +03:00
ricoromaandClaude Opus 5.5 6bd60532aa docs: record pipeline-reliability evidence and report
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 16:51:29 +03:00
ricoromaandClaude Opus 5.5 e2a6427c24 feat: add job outbox, relay, leases and image variants to the pipeline
Move publishing out of the upload path: a relay process publishes queued
jobs with confirms. Add lease and attempt fencing, backoff with jitter, a
per-job render process with CPU and memory limits, crop and optimized
variants, the failed registry with audited replay, and staging cleanup.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 15:36:15 +03:00
ricoromaandClaude Opus 5.5 99a222eee2 docs: propose pipeline-reliability
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 10:08:03 +03:00
ricoromaandClaude Opus 5.5 7f38948294 docs: archive async-attachments and sync its specs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 09:16:10 +03:00
ricoromaandClaude Opus 5.5 660466020c fix: address async-attachments verify findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 09:13:33 +03:00
ricoromaandClaude Opus 5.5 acc6584dd3 docs: record async-attachments evidence and report
Evidence taken on ff1a83b. The report covers level 3; levels 4 and 5 are
closed by the following changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 08:30:46 +03:00
ricoromaandClaude Opus 5.5 ff1a83b6ff feat: process attachments asynchronously with RabbitMQ and a worker
Upload answers 202 after staging, a queued job in PostgreSQL and a broker
confirm; a separate worker publishes the original and a thumbnail with
bounded retries. Adds the job and variant tables, the broker service, the
worker S3 user, cleanup and reconcile support for staging and variants,
the failure stand with broker and worker, bench and driver updates.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 06:48:20 +03:00
ricoromaandClaude Opus 5.5 40c709a78b docs: propose async-attachments
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 04:06:09 +03:00
ricoromaandClaude Opus 5.5 04f859282d chore: port lab 4 solution into the lab 5 skeleton
Source: mtusi2026lab4-safronov, solution/bvt2301-safronov, 2546deb.
Contracts, public tests and evidence of lab 4 are not carried over.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 03:09:12 +03:00