@wix/himalaya-cli 0.1627.0 → 0.1628.0

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.
@@ -204,11 +204,19 @@ each job records what it places before placing it: its signing folder (which hol
204
204
  until it is imported), the identity it imports into the agent keychain, and every copy of the App
205
205
  Store Connect key (`~/.private_keys/AuthKey_<id>.p8`, also when it replaces a file already there,
206
206
  and the temporary copy `altool` reads). The records live in `~/.himalaya/customer-secret-claims` in the account home.
207
- At the start of the next customer build on that Mac, before the pre-existing check, Himi removes
208
- what a job whose process has ended recorded, and leaves alone what a running job recorded, since a
209
- Mac may run more than one job at once. A matching identity that a running job owns, or that no
210
- record names, is still refused. SIGTERM and process exit remove the key copies directly, as they do
211
- the signing directory.
207
+ Every dist job on a Mac, customer or not, starts by removing what a job whose process has ended
208
+ recorded, and leaves alone what a running job recorded, since a Mac may run more than one job at
209
+ once. An identity is removed only by a job that has the agent's `KEYCHAIN_PASSWORD` (a Job Service
210
+ job), which unlocks the keychain first; a job without it leaves that record as it is. A customer
211
+ build sweeps again after unlocking, before the pre-existing check. A matching identity that a
212
+ running job owns, or that no record names, is still refused. SIGTERM and process exit remove the
213
+ key copies directly, as they do the signing directory.
214
+
215
+ App Store validation (the purpose-string and required-reason scans, the APNs check and `altool`)
216
+ runs in a child process the job waits on without blocking, so a SIGTERM that lands while `altool`
217
+ runs is handled at once: the job removes the key copies and the identity, and kills the child's
218
+ process group. `altool` stops after 10 minutes, and the whole validation after 15
219
+ (`customer_app_store_validation_timeout`).
212
220
 
213
221
  Outside that runner mode, Himi creates a temporary keychain and deletes it during cleanup. That
214
222
  keychain is recorded the same way before it is created, and the next customer build deletes one an
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1627.0",
3
+ "version": "0.1628.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -72,5 +72,5 @@
72
72
  "artifactId": "himalaya-cli"
73
73
  }
74
74
  },
75
- "falconPackageHash": "3437d7237a03ba353247802e752b58234b9842f8b8d1758e436e262a"
75
+ "falconPackageHash": "186c60ced3f6652ebc1c45bc98791fe0b8c55718eaed2223bf2bf300"
76
76
  }