@wix/himalaya-cli 0.1216.0 → 0.1217.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 +18 -12
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -6818,6 +6818,7 @@ function walk(node, registry, path2, out2) {
|
|
|
6818
6818
|
var SYSTEM_FONT_FAMILY, TONAL_ELEVATION_ALPHA, COLOR_TOKEN_PROPS, TYPOGRAPHY_TOKEN_PROPS;
|
|
6819
6819
|
var init_tokens = __esm({
|
|
6820
6820
|
"../../core/ts/src/tokens.ts"() {
|
|
6821
|
+
"use strict";
|
|
6821
6822
|
SYSTEM_FONT_FAMILY = "$system";
|
|
6822
6823
|
TONAL_ELEVATION_ALPHA = [0, 0.05, 0.08, 0.11, 0.12, 0.14];
|
|
6823
6824
|
COLOR_TOKEN_PROPS = {
|
package/guides/qa-builds.md
CHANGED
|
@@ -44,8 +44,9 @@ The Mac archive, provisioning request, and release notification use the same der
|
|
|
44
44
|
Android keeps its normal, account-neutral application ID.
|
|
45
45
|
|
|
46
46
|
This pipeline produces QA builds **on demand**, **without any GitHub secrets** —
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
the commit-triggered path folds into Falcon's Argus Job Service job: Mac for iOS,
|
|
48
|
+
Linux for Android. Brokered `himi dist` jobs use Mac workers for iOS and Android.
|
|
49
|
+
CI credentials come from the Falcon databag; iOS signing certs are already on the Mac
|
|
49
50
|
machines. It's modeled on `wix-private/ai-scheduling-assistant` `native-apps/scripts/ci-ios.sh`
|
|
50
51
|
+ the `wix-private/mre` S3/distributer infra.
|
|
51
52
|
|
|
@@ -55,14 +56,16 @@ NATIVE delta: a new SDUI component, a newly declared capability or entitlement,
|
|
|
55
56
|
bundle id, or a `minBinaryVersion` floor bump. If you are unsure which you need, you
|
|
56
57
|
almost certainly want `himi push`.
|
|
57
58
|
|
|
58
|
-
###
|
|
59
|
+
### Legacy standalone Mac dispatch retries
|
|
59
60
|
|
|
60
61
|
The pool bootstraps before it runs anything of ours (sandbox volume, home dir, then
|
|
61
62
|
`npm i` of its own helpers from the internal registry). When that registry is degraded the
|
|
62
|
-
job dies in 44s–150s, long before any compile.
|
|
63
|
-
fast as infrastructure and **re-dispatches,
|
|
63
|
+
job dies in 44s–150s, long before any compile. For legacy standalone Apple commands,
|
|
64
|
+
`run-native-mac.mjs` treats a failure that fast as infrastructure and **re-dispatches,
|
|
65
|
+
up to 3 attempts**, logging the details each
|
|
64
66
|
time. A failure slow enough to have reached real work is never retried — that one is
|
|
65
|
-
yours, and it fails immediately at full speed.
|
|
67
|
+
yours, and it fails immediately at full speed. Apple batch and Android dispatches run
|
|
68
|
+
once, so this retry policy does not replay their work.
|
|
66
69
|
|
|
67
70
|
## Two ways to trigger one
|
|
68
71
|
|
|
@@ -76,9 +79,10 @@ There are two paths to the same artifact. Pick by whether you have the repo.
|
|
|
76
79
|
| Result arrives | job id → poll → install link | PR comment / Slack DM / build log |
|
|
77
80
|
| Good for | an off-repo developer or coding agent | a change you are already pushing |
|
|
78
81
|
|
|
79
|
-
Both
|
|
80
|
-
|
|
81
|
-
for
|
|
82
|
+
Both run `tools/mobile-dist/run-dist.ts`. Brokered requests use the Wix Job Service
|
|
83
|
+
Mac pool for either platform; tagged commits use the validation job's pool (Mac for iOS,
|
|
84
|
+
Linux for Android). The brokered path replaces "push a commit and wait for Falcon"
|
|
85
|
+
with "ask the serve plane".
|
|
82
86
|
|
|
83
87
|
## Path A — `himi dist` (no repo needed)
|
|
84
88
|
|
|
@@ -466,14 +470,15 @@ git commit --allow-empty -m "[dist] QA build"
|
|
|
466
470
|
git push
|
|
467
471
|
```
|
|
468
472
|
|
|
469
|
-
Falcon rebuilds, the Argus
|
|
473
|
+
Falcon rebuilds, the platform's Argus job sees the tag, and folds the QA build in
|
|
470
474
|
(next section). The install link lands in the build log and, when a PR token is
|
|
471
475
|
available, as a **PR comment**. The **`/dist-himalaya-app`** skill automates the
|
|
472
476
|
whole loop (empty commit → PR → watch Falcon → hand back the link).
|
|
473
477
|
|
|
474
478
|
## How it runs: folded into the warm Argus job (build once)
|
|
475
479
|
|
|
476
|
-
The QA build runs **inside the same
|
|
480
|
+
The QA build runs **inside the same Job Service job as the Argus run** (Mac for iOS,
|
|
481
|
+
Linux for Android; `native-ci`
|
|
477
482
|
`run-argus.mjs` → `tools/mobile-dist/run-dist.ts`), so it reuses that already-warm
|
|
478
483
|
machine — no second dispatch, no cold checkout/SPM-resolve:
|
|
479
484
|
|
|
@@ -1230,5 +1235,6 @@ operator smoke: `himi dist --app <app> --platform android --release <id> --wait`
|
|
|
1230
1235
|
manifest/link). Unit-tested in `dist-lib.test.ts`.
|
|
1231
1236
|
- `tools/mobile-dist/run-dist.ts` — the orchestrator (creds → build/sign → S3 →
|
|
1232
1237
|
presign → OTA link → PR comment). Non-fatal by contract.
|
|
1233
|
-
- `native-ci/scripts/run-argus.mjs` — folds `run-dist` into the Argus Mac
|
|
1238
|
+
- `native-ci/scripts/run-argus.mjs` — folds `run-dist` into the Argus job (Mac for iOS,
|
|
1239
|
+
Linux for Android).
|
|
1234
1240
|
- `apps/<app>/ios/fastlane/Fastfile` — the env-driven `dist` lane (enterprise export).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1217.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": [
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"artifactId": "himalaya-cli"
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
|
-
"falconPackageHash": "
|
|
70
|
+
"falconPackageHash": "792d624fe9e25410a3d851724ce7ec7a347ca4b00f93c526e46095ef"
|
|
71
71
|
}
|