gowalk-cicd 1.0.214 → 1.0.216

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/README.md CHANGED
@@ -174,8 +174,8 @@ queueing, retries and provider work. Count conditional dependency priming as aux
174
174
 
175
175
  Promoted candidates now seed missing default-branch SDK/pub/Flutter Pods/Gradle caches through
176
176
  verified key/path/compression identities and dependency-only work. They never promote PR cache
177
- bytes or duplicate a compile. Default-branch macOS fallbacks transfer the IPA and leave Apple
178
- processing to a required Linux verification job. Apple must positively confirm the exact upload,
177
+ bytes or duplicate a compile. Every default-branch delivery, including reused IPA uploads on Linux,
178
+ transfers the IPA and leaves Apple processing to a required Linux verification job. Apple must confirm the exact upload,
179
179
  file, eligible build and app before delivery completes; its processing time remains external.
180
180
  The final complete upload receipt and verification proof are in `apple-verified-<run>-<attempt>`.
181
181
  See [candidate artifacts](docs/CANDIDATE_ARTIFACTS.md) and [cache behavior](docs/GRADLE_CACHE.md).
@@ -1273,6 +1273,24 @@ different bytes under the same number. Build numbers come from `/builds`,
1273
1273
  `/preReleaseVersions` **and** `/apps/{id}/buildUploads`, so an unfinished or refused
1274
1274
  reservation is never reused; delete such a reservation only after reading it back.
1275
1275
 
1276
+ Before 1.0.216, Linux candidate promotion waited inline and did not produce a verification handoff.
1277
+ If that original upload timed out with `processing_pending`, use the existing receipt recovery helper
1278
+ in an authorized same-repository Actions job on the default branch. Authenticate the original
1279
+ `apple-upload-<run>-<attempt>` artifact and its archive digest, retain its unchanged
1280
+ `apple-build-upload.json`, and invoke:
1281
+
1282
+ ```bash
1283
+ node .github/actions/swift-app/scripts/reconcile_apple_upload.cjs \
1284
+ DEPLOYMENT_ID ORIGINAL_RUN_ID ORIGINAL_ATTEMPT /path/to/apple-build-upload.json
1285
+ ```
1286
+
1287
+ Use the same permissions, credentials and serialized Mobile Deploy concurrency described below.
1288
+ This helper requires the original failed owner and fresh Apple upload/file/checksum/build/app proof;
1289
+ it never rebuilds or uploads. Retain its result and read back `uploaded` before rerunning the whole
1290
+ original deployment. Do not fabricate a handoff or substitute this command for missing provider proof.
1291
+ From 1.0.216, Linux promotion retains the same authenticated handoff as macOS delivery, so future
1292
+ processing failures use the managed recovery workflow below.
1293
+
1276
1294
  When an iOS deployment failed or was cancelled **after** both `Build and transfer iOS binary`
1277
1295
  and `Retain Apple verification handoff` succeeded, version 1.0.185 provides the managed
1278
1296
  `apple-upload-recovery.yml` workflow. Dispatch it on the repository's default branch with the
@@ -5,7 +5,9 @@ const {createHash} = require('node:crypto');
5
5
  const fs = require('node:fs');
6
6
  const INTENT = '.factory/releases/mobile.json';
7
7
  const SCHEMA = 'gowalk-cicd/mobile-release.v2';
8
- const git = (...args) => execFileSync('git', args, {encoding: 'utf8', stdio: ['ignore', 'pipe', 'ignore']});
8
+ // A large committed tree can exceed Node's default child-process output limit.
9
+ const git = (...args) => execFileSync('git', args, {encoding: 'utf8', maxBuffer: 64 * 1024 * 1024,
10
+ stdio: ['ignore', 'pipe', 'ignore']});
9
11
  const digest = value => createHash('sha256').update(value).digest('hex');
10
12
 
11
13
  function input(name, platform) {
@@ -5,7 +5,8 @@ const {execFileSync} = require('node:child_process');
5
5
  const {createHash} = require('node:crypto');
6
6
  const {join} = require('node:path');
7
7
  const hash = value => createHash('sha256').update(value).digest('hex');
8
- const git = (...args) => execFileSync('git', args, {encoding: 'utf8', timeout: 10000,
8
+ // A large committed tree can exceed Node's default child-process output limit.
9
+ const git = (...args) => execFileSync('git', args, {encoding: 'utf8', timeout: 10000, maxBuffer: 64 * 1024 * 1024,
9
10
  stdio: ['ignore', 'pipe', 'ignore']});
10
11
  const HELPERS = ['native_validation.cjs', 'native_validation_inputs.cjs', 'native_validation_github.cjs',
11
12
  'mobile_release_api.cjs'];
@@ -67,7 +67,9 @@ Pods/gems caches keep their existing lockfile, Ruby, Xcode and architecture iden
67
67
 
68
68
  Verified candidate promotion already ran on Linux before 1.0.174. In 1.0.175, default-branch
69
69
  macOS fallback/retry releases also release the Mac after transfer and retain the exact IPA and
70
- hashed verification handoff. A required Linux job verifies Apple's exact upload, file membership,
70
+ hashed verification handoff. From 1.0.216, Linux candidate promotion uses that same handoff instead
71
+ of an inline wait that could time out without a managed recovery artifact.
72
+ A required Linux job verifies Apple's exact upload, file membership,
71
73
  VALID/APP_STORE_ELIGIBLE build and app identity before the owner is marked uploaded or release
72
74
  notes run. A prior producer attempt survives failed-only verifier retries without a second upload.
73
75
  A later required symbol-retention failure can still reconcile that exact successful transfer and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gowalk-cicd",
3
- "version": "1.0.214",
3
+ "version": "1.0.216",
4
4
  "description": "Zero-config GitHub Actions delivery for iOS TestFlight and Android Google Play.",
5
5
  "type": "module",
6
6
  "bin": {
package/remedies.json CHANGED
@@ -2,8 +2,8 @@
2
2
  {
3
3
  "schema": "gowalk-cicd/apple-build-upload-failed.v2",
4
4
  "code": "processing_pending",
5
- "fixed_in": "1.0.184",
6
- "remedy": "Keep the original IPA and apple-build-upload receipt. From 1.0.184 recovery stages unchanged bytes as app.ipa so punctuation in the export filename cannot block retention. A PROCESSING upload summary can complete only after fresh proof of its completed matching asset/checksum and unique valid eligible iOS build, exact app/bundle and marketing version. Future receipts carry local MD5 as well as SHA-256. Run reconcile_apple_upload.cjs only in an authorized Actions recovery job with the original deployment, run, attempt and retained receipt; it never uploads. Read its owner completion back, then rerun the whole original deploy workflow. Missing original bytes or checksum proof remain unverified; never invent the digest, re-upload another binary under the same number or hand-edit the owner."
5
+ "fixed_in": "1.0.216",
6
+ "remedy": "Keep the original IPA and apple-build-upload receipt. From 1.0.216 default-branch Linux candidate promotion retains the same authenticated verification handoff as macOS delivery; adopt the action and generated workflow together. Earlier inline Linux processing_pending failures have no handoff: do not fabricate one or use the handoff-only recovery workflow. In an authorized same-repository default-branch Actions job, authenticate the original apple-upload-<run>-<attempt> artifact and archive digest, then run reconcile_apple_upload.cjs DEPLOYMENT_ID ORIGINAL_RUN_ID ORIGINAL_ATTEMPT /path/to/apple-build-upload.json with that unchanged receipt. Serialize with Mobile Deploy and preserve its original owner. The released helper requires fresh completed upload/file/checksum and unique VALID eligible iOS build/app proof; it never rebuilds or uploads. Retain its result, read back uploaded, then rerun the whole original deploy. Missing original bytes or checksum proof remain unverified; never invent digests, upload another binary under the same number or hand-edit ownership."
7
7
  },
8
8
  {
9
9
  "schema": "gowalk-cicd/mobile-release-refused.v1",
@@ -251,7 +251,7 @@ jobs:
251
251
  candidate-binary: ${{ steps.reuse.outputs.directory }}
252
252
  upload: ${{ inputs.candidate-build && 'false' || 'true' }}
253
253
  defer-provider-verification: >-
254
- ${{ !inputs.candidate-build && runner.os == 'macOS'
254
+ ${{ !inputs.candidate-build
255
255
  && github.ref_name == github.event.repository.default_branch && 'true' || 'false' }}
256
256
  auto-update: 'false' # the frozen source includes its reviewed action version
257
257
  run-tests: 'false' # tests belong to the CI gate, not the deploy path
Binary file