fix(publish): make latest.json updates resilient to concurrent platform jobs #57
No reviewers
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
state: Done
state: New
state: To Do
type: Bug
type: Feature
type: Task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Christoph/Gitty!57
Loading…
Reference in a new issue
No description provided.
Delete branch "nw-win-build"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Upload artifacts first, then perform a read-modify-write of latest.json with
retries and verification to avoid one platform job overwriting another's entry.
Add _merge_latest_json that writes the merged payload, waits with jitter,
re-reads to confirm our platform entry remains, and retries up to
LATEST_JSON_ATTEMPTS (configurable; verify delay controlled by
LATEST_JSON_VERIFY_DELAY env var). If retries fail the function raises
ConfigurationError. Logging added to show uploads, merges and concurrent-write
retries.