@wix/himalaya-cli 0.1216.0 → 0.1218.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 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 = {
@@ -25392,7 +25393,6 @@ function shouldRevealError(args) {
25392
25393
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE;
25393
25394
  var init_validation = __esm({
25394
25395
  "../../core/ts/src/validation.ts"() {
25395
- "use strict";
25396
25396
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
25397
25397
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
25398
25398
  INTEGER_RE = /^[+-]?[0-9]+$/;
@@ -26052,7 +26052,6 @@ function validateWorkerSubtree(raw, slotId, policy, actionCatalog) {
26052
26052
  var WORKER_SUBTREE_CEILINGS, ID_PART, ACTION_ID;
26053
26053
  var init_worker_subtree = __esm({
26054
26054
  "../../core/ts/src/worker-subtree.ts"() {
26055
- "use strict";
26056
26055
  init_worker_subtree_safe_types_generated();
26057
26056
  WORKER_SUBTREE_CEILINGS = Object.freeze({
26058
26057
  maxEncodedBytes: 65536,
@@ -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
- everything runs through the same Falcon → Job Service Mac-pool wiring the Argus run
48
- uses, with credentials from the Falcon databag and signing certs already on the pool
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
- ### If a Mac leg fails in under ~4 minutes, it is probably not your change
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. `run-native-mac.mjs` treats a failure that
63
- fast as infrastructure and **re-dispatches, up to 3 attempts**, logging the details each
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 end up on the same Wix Job Service Mac pool running the same
80
- `tools/mobile-dist/run-dist.ts`. The brokered path just replaces "push a commit and wait
81
- for Falcon" with "ask the serve plane".
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 Mac-pool job sees the tag, and folds the QA build in
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 Mac-pool job as the Argus run** (`native-ci`
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-pool job.
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.1216.0",
3
+ "version": "0.1218.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": "b59f6f13e876d3566fc27ba839e7d391bb70c2b677bd77062010d173"
70
+ "falconPackageHash": "59611edfceadec0023b2a3e230e8d8ac95461967628ed2a0ba97cc5a"
71
71
  }