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.
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user