lab5: очереди и асинхронная обработка изображений

Durable staging handoff, transactional outbox, at-least-once worker with lease fencing, idempotent versioned pipeline, three variants, operator tooling, contract tests and evidence. Includes the review fixes: reprocess source selection and failure settlement, replay guards, stale-job retirement, PNG structural/raster validation, migration rollback safety and audit events.
This commit is contained in:
Vladislav Kunetskiy
2026-10-31 14:34:24 +03:00
parent 6c5ba026f1
commit 01b885e846
99 changed files with 10164 additions and 1452 deletions
+3 -3
View File
@@ -1,6 +1,6 @@
// Command specgen produces the OpenAPI document used for code generation.
//
// The mandatory contract (contracts/openapi.json, version 1.4.0) describes the
// The mandatory contract (contracts/openapi.json, version 1.5.0) describes the
// cross-field rule "text is non-empty OR attachment_ids is non-empty" with an
// anyOf. ogen v1.24 cannot generate Go types for two unnamed anyOf branches
// with the same name; ignoring the limitation silently drops entire operations.
@@ -89,8 +89,8 @@ func derive() ([]byte, error) {
}
number, _ := lab["number"].(float64)
if number != 4 {
return nil, fmt.Errorf("%s: expected lab number 4, got %v", labPath, lab["number"])
if number != 5 {
return nil, fmt.Errorf("%s: expected lab number 5, got %v", labPath, lab["number"])
}
for _, path := range rewriteTargets {