@wix/himalaya-cli 0.2034.0 → 0.2035.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
@@ -3964,7 +3964,6 @@ var init_himi_package = __esm({
3964
3964
  var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
3965
3965
  var init_icon_catalog_generated = __esm({
3966
3966
  "../../core/ts/src/icon-catalog.generated.ts"() {
3967
- "use strict";
3968
3967
  init_define_HHP_CATALOG();
3969
3968
  ICON_VIEW_BOX = 24;
3970
3969
  ICON_STROKE_WIDTH = 2;
@@ -48379,7 +48378,6 @@ function shouldRevealError(args) {
48379
48378
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
48380
48379
  var init_validation = __esm({
48381
48380
  "../../core/ts/src/validation.ts"() {
48382
- "use strict";
48383
48381
  init_define_HHP_CATALOG();
48384
48382
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
48385
48383
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
@@ -527,6 +527,25 @@ It **fails open** throughout: an outage, a rate limit, a missing or revoked toke
527
527
  simply not being able to tell — all dispatch as before. Without `HIMI_DIST_GITHUB_TOKEN` the check
528
528
  is off entirely.
529
529
 
530
+ ### Why a failed dist job stays green
531
+
532
+ A pool job that **delivered** its FAILURE to the job record exits **0**, so its Buildkite job
533
+ reads "passed". That is deliberate: Job Service retries a job that exits non-zero, so exit 1 would
534
+ rebuild a deterministic failure (a compile error builds the same way every time) and would hold a
535
+ trusted store build's `storeBuildResult` until the retries ran out (see the settlement rule under
536
+ trusted store builds below). The serve record is the source of truth: `himi dist status <jobId>` /
537
+ `himi dist list --app <app>` show the FAILURE and its `diagnostics`.
538
+
539
+ So the job does not look fine, every failed dist leaves an **error-style Buildkite annotation**
540
+ (context `qa-dist-failure-<platform>`). It names the app, the shell, the artifact asked for, the
541
+ failure reason, the pinned release and the job nonce. A brokered job that produced nothing (for example,
542
+ no S3 credentials on the runner) is annotated the same way. Three Himi Player QA IPAs failed with
543
+ nothing visible before this (mac-node-command-runner 1103185, 1103265, 1103367).
544
+
545
+ Exit 1 is kept where the job itself must record the failure: the result could not be delivered,
546
+ the gate screen was refused, or the artifact is over its size budget. `run-argus` treats any
547
+ non-zero dist exit as non-blocking, so none of these reds the argus gate.
548
+
530
549
  ### Telling a signing failure from a build failure — `failureCode`
531
550
 
532
551
  `error` is free text for a human; never parse it. A surface that shows a different message per kind
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.2034.0",
3
+ "version": "0.2035.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": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "0f02c89a2ce699ae4b9cd053ccbca4ef39bac5dc1c964ce1227a693c"
85
+ "falconPackageHash": "98673c946d8793c51f175cb01eb8236085db6b499306f26583ebe20a"
86
86
  }