Commit Graph
10 Commits
Author SHA1 Message Date
Vladislav Kunetskiy 8c0a455aa5 lab5: закрытие второго ревью
Validate the PNG raster itself: exact Adam7/non-interlaced row layout, scanline filter bytes, palette/PLTE rules, bounded streaming without keeping the raster. Settle an attachment as failed when a newer pipeline fails before any version was published, while keeping a ready serving version intact. Reject unsupported pipeline versions in jobctl before changing state.
2026-10-31 01:06:43 +03:00
Vladislav Kunetskiy b965350cc9 lab5: исправления второго ревью
Reprocess of a queued/processing/failed upload now sources from verified staging instead of the not-yet-written final original, which used to supersede v1 and strand the attachment in queued. PNG uploads now inflate the concatenated IDAT stream (bounded by IHDR dimensions) before acceptance, so a structurally valid PNG whose IDAT is not a zlib stream is rejected with 415 instead of 202.
2026-10-31 00:41:38 +03:00
Vladislav Kunetskiy ecdd91a15b lab5: удаление неиспользуемых sqlc-запросов
Only the message_attachments queries remain after the legacy attachment repository was removed.
2026-10-30 23:20:02 +03:00
Vladislav Kunetskiy 94a3ad2e7b lab5: чистка evidence после ревью
Remove a duplicated raw LB log; keep detailed lab5 LB evidence under evidence/lab5 and restore the inherited lab3 evidence file.
2026-10-30 23:19:00 +03:00
Vladislav Kunetskiy e40a5cf215 lab5: ограничение одновременных upload-spool и evidence после ревью
Process-level semaphore bounds temporary disk use on the upload path; refresh raw evidence after the review fixes.
2026-10-30 23:16:12 +03:00
Vladislav Kunetskiy 9d7a0acb5a lab5: исправления по ревью
Concurrent complete no longer deletes the shared verified source; admission is atomic and covers pending presign rows; relay reconciles queued jobs lost to dead-lettering; failed staging is protected until failed_retention; timestamps normalized to UTC; reprocess prefers the durable original and keeps job->attachment lock order; heartbeat errors no longer burn attempts; confirm timeout enforced; pinned images and sanitized health responses.
2026-10-30 23:13:44 +03:00
Vladislav Kunetskiy 4bdcac3dfa lab5: асинхронная очередь, worker и идемпотентный pipeline
API принимает 202 после durable staging и TX intent (job+outbox); отдельные relay и worker публикуют/обрабатывают задания с publisher confirm, lease, retry/backoff, DLQ и replay. Добавлены версии pipeline, варианты thumbnail/crop/optimized, presign в verified staging, status-aware sweeper и admission control.
2026-10-30 22:36:52 +03:00
Vladislav Kunetskiy 6c5ba026f1 База lab5: контракт 1.5.0 и реализация lab1–lab4 2026-10-29 23:36:12 +03:00
Vladislav Kunetskiy 6344754111 lab4 2026-10-29 23:36:12 +03:00
Mikhail Verkovykh 276dbdad8a Подготовить skeleton лабораторной 5 по мессенджеру 2026-09-10 18:01:35 +03:00