@wix/himalaya-cli 0.1626.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.
- package/dist/cli.mjs +1 -0
- package/guides/qa-builds.md +21 -9
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -29474,6 +29474,7 @@ function resolveIdiom(tokens2, ctx = {}) {
|
|
|
29474
29474
|
var IDIOM_CONTEXTS, UNSAFE_KEYS;
|
|
29475
29475
|
var init_idiom = __esm({
|
|
29476
29476
|
"../../core/ts/src/idiom.ts"() {
|
|
29477
|
+
"use strict";
|
|
29477
29478
|
init_define_HHP_CATALOG();
|
|
29478
29479
|
IDIOM_CONTEXTS = {
|
|
29479
29480
|
ios: { native: ["ios"] },
|
package/guides/qa-builds.md
CHANGED
|
@@ -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
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
the
|
|
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
|
|
@@ -1260,10 +1268,14 @@ himi dist --app <app> --platform android --aab --wait --target bo
|
|
|
1260
1268
|
can make one (`appStoreBuild` in the signing marker), `CheckIfBuildIsAllowed` finds a
|
|
1261
1269
|
saved bundle id and an eligible plan (so an ineligible site never reaches Apple), then
|
|
1262
1270
|
`PrepareAppleCertificates` registers the bundle id in the owner's Apple account and answers the
|
|
1263
|
-
certificate, profile and key, and only then `
|
|
1264
|
-
Apple refuses can still change), and only while it is still the prepared one
|
|
1265
|
-
a bundle id saved in between is refused and stays changeable).
|
|
1266
|
-
|
|
1271
|
+
certificate, profile and key, and only then `CreateBuildRecordIfAllowed` locks the bundle id (so a
|
|
1272
|
+
bundle id Apple refuses can still change), and only while it is still the prepared one
|
|
1273
|
+
(`expected_store_id`: a bundle id saved in between is refused and stays changeable). That call also
|
|
1274
|
+
opens Wix's record of the build, as for a bundle: the job id is reported at dispatch, and the build's
|
|
1275
|
+
end once its upload settles (`UPLOADED` is the success, reported with the IPA; an upload `FAILED`
|
|
1276
|
+
for good is the failure, with its `error`; a build that fails or is canceled on the pool is
|
|
1277
|
+
reported so). A built IPA waiting for its upload reports nothing yet. The owner must already have
|
|
1278
|
+
the app in App Store Connect under that bundle id. The files
|
|
1267
1279
|
and the key are never stored: the pool and the upload each fetch them again, the job keeps only
|
|
1268
1280
|
their hashes. The upload starts on its own once the pool reports the validated IPA: the pool's
|
|
1269
1281
|
callback starts it in the background, and so does every list read of the app's builds (the owner
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "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": "
|
|
75
|
+
"falconPackageHash": "186c60ced3f6652ebc1c45bc98791fe0b8c55718eaed2223bf2bf300"
|
|
76
76
|
}
|