gowalk-cicd 1.0.119 → 1.0.120
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/action/.daemux-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.120
|
|
@@ -66,8 +66,19 @@ async function phase(action, platform) {
|
|
|
66
66
|
if (!id) return; // Existing consumers without release-intent wiring keep their original behavior.
|
|
67
67
|
const record = await api.request('GET', `/deployments/${id}`);
|
|
68
68
|
const expected = owner(platform, record.payload?.fingerprint);
|
|
69
|
+
// An EARLIER attempt of this same run owns the record legitimately. `admit`
|
|
70
|
+
// only re-runs when it failed, so "re-run failed jobs" — the ordinary way to
|
|
71
|
+
// recover a release that died in transport — leaves the record stamped with
|
|
72
|
+
// attempt 1 while the platform job runs as attempt 2. Demanding an exact
|
|
73
|
+
// match made that recovery impossible: obd-scanner's Android leg built for
|
|
74
|
+
// twenty-six minutes, then refused at the upload intent (2026-09-09).
|
|
75
|
+
// Upload-once does not rest on this number. It rests on the status check
|
|
76
|
+
// below, which admits `begin-upload` only from `building`; a record whose
|
|
77
|
+
// upload already began or finished is refused there, on any attempt.
|
|
78
|
+
const attempt = record.payload?.run_attempt;
|
|
69
79
|
if (record.payload?.schema !== SCHEMA || record.payload.run_id !== expected.run_id ||
|
|
70
|
-
|
|
80
|
+
!Number.isSafeInteger(attempt) || attempt > expected.run_attempt ||
|
|
81
|
+
record.sha !== expected.source_sha ||
|
|
71
82
|
record.payload.platform !== platform) throw Error('mobile_release_phase_owner_mismatch');
|
|
72
83
|
const statuses = await api.request('GET', `/deployments/${id}/statuses?per_page=1`);
|
|
73
84
|
const required = action === 'begin-upload' ? 'building' : 'uploading';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.120
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.120
|