@wix/himalaya-cli 0.1879.0 → 0.1881.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.
|
@@ -1925,9 +1925,9 @@ var OVERLAPPING_PANEL_COVER_RATIO = 1.6;
|
|
|
1925
1925
|
var OVERLAPPING_PANEL_OVERLAP = 20;
|
|
1926
1926
|
var DEFAULT_COVER_TRANSITION_MS = 3e3;
|
|
1927
1927
|
var RADIUS = 24;
|
|
1928
|
-
var LOGO =
|
|
1928
|
+
var LOGO = 64;
|
|
1929
1929
|
var LOGO_RING = 2;
|
|
1930
|
-
var
|
|
1930
|
+
var LOGO_HANG = (LOGO + LOGO_RING * 2) / 2 - OVERLAPPING_PANEL_OVERLAP;
|
|
1931
1931
|
var LOGO_GAP = 12;
|
|
1932
1932
|
var TEXT_GAP = 4;
|
|
1933
1933
|
var GUTTER = 20;
|
|
@@ -1958,8 +1958,22 @@ function overlappingPanelHeader(options) {
|
|
|
1958
1958
|
const urls = (options.coverUrls ?? []).map((url) => clean2(url)).filter(Boolean);
|
|
1959
1959
|
const hasLogo = logoUrl !== "";
|
|
1960
1960
|
const hasPanel = hasLogo || title !== "" || subtitle !== "";
|
|
1961
|
-
const
|
|
1962
|
-
const
|
|
1961
|
+
const coverNode = cover(id2, urls, options.coverTransitionMs, clean2(options.coverLabel) || "Cover images");
|
|
1962
|
+
const ratioBox = (boxId, content, extra = {}) => node3(
|
|
1963
|
+
boxId,
|
|
1964
|
+
"VStack",
|
|
1965
|
+
{ spacing: 0, alignment: "leading", children: [node3(`${boxId}.fill`, "Spacer", {}, { weight: 1 }), content] },
|
|
1966
|
+
{ fillMaxWidth: true, aspectRatio: OVERLAPPING_PANEL_COVER_RATIO, hitTestable: false, ...extra }
|
|
1967
|
+
);
|
|
1968
|
+
const hang = hasLogo ? LOGO_HANG : 0;
|
|
1969
|
+
const layer = (layerId, child, tail, extra = {}) => node3(layerId, "VStack", { spacing: 0, alignment: "leading", children: [child, tail] }, { fillMaxWidth: true, ...extra });
|
|
1970
|
+
const spacerTail = (layerId) => node3(`${layerId}.tail`, "VStack", { spacing: 0, alignment: "leading", children: [] }, { height: hang });
|
|
1971
|
+
const stage = [hasLogo ? layer(`${id2}.cover.layer`, coverNode, node3(
|
|
1972
|
+
`${id2}.cover.tail`,
|
|
1973
|
+
"Shape",
|
|
1974
|
+
{ kind: "rectangle", fill: { token: "surfacePrimary" } },
|
|
1975
|
+
{ fillMaxWidth: true, height: hang, accessibilityHidden: true }
|
|
1976
|
+
)) : coverNode];
|
|
1963
1977
|
if (hasPanel) {
|
|
1964
1978
|
const cap = node3(
|
|
1965
1979
|
`${id2}.cap`,
|
|
@@ -1967,42 +1981,42 @@ function overlappingPanelHeader(options) {
|
|
|
1967
1981
|
{ kind: "roundedRectangle", cornerRadii: { topLeading: RADIUS, topTrailing: RADIUS }, fill: { token: "surfacePrimary" } },
|
|
1968
1982
|
{ fillMaxWidth: true, height: CAP, accessibilityHidden: true }
|
|
1969
1983
|
);
|
|
1970
|
-
const
|
|
1971
|
-
|
|
1972
|
-
if (hasLogo) {
|
|
1973
|
-
const ring = LOGO - LOGO_RING * 2;
|
|
1974
|
-
const logo = node3(`${id2}.logo.ring`, "VStack", { spacing: 0, alignment: "center", children: [
|
|
1975
|
-
node3(`${id2}.logo`, "Image", { url: logoUrl, width: ring, height: ring, contentMode: "fill", contentDescription: clean2(options.logoLabel) || title || "Logo" }, { cornerRadius: 13 })
|
|
1976
|
-
] }, { background: { token: "surfacePrimary" }, cornerRadius: 15, padding: { leading: LOGO_RING, trailing: LOGO_RING, top: LOGO_RING, bottom: LOGO_RING } });
|
|
1977
|
-
const above = LOGO - LOGO_BELOW_SEAM;
|
|
1978
|
-
seam = node3(`${id2}.seam`, "ZStack", { alignment: "leading", children: [
|
|
1979
|
-
node3(`${id2}.cap.box`, "VStack", { spacing: 0, alignment: "leading", children: [cap] }, { fillMaxWidth: true, padding: { top: above } }),
|
|
1980
|
-
node3(`${id2}.logo.row`, "HStack", { spacing: 0, alignment: "center", children: [logo] }, { padding: { leading: GUTTER, bottom: above + CAP - LOGO } })
|
|
1981
|
-
] }, moved);
|
|
1982
|
-
}
|
|
1983
|
-
stage.push(node3(
|
|
1984
|
-
`${id2}.overlay`,
|
|
1984
|
+
const capBox = ratioBox(`${id2}.overlay`, node3(
|
|
1985
|
+
`${id2}.seam`,
|
|
1985
1986
|
"VStack",
|
|
1986
|
-
{ spacing: 0, alignment: "leading", children: [
|
|
1987
|
-
{ fillMaxWidth: true,
|
|
1988
|
-
));
|
|
1987
|
+
{ spacing: 0, alignment: "leading", children: [cap] },
|
|
1988
|
+
{ fillMaxWidth: true, offsetY: CAP - OVERLAPPING_PANEL_OVERLAP }
|
|
1989
|
+
), { clipShape: "rectangle" });
|
|
1990
|
+
stage.push(hasLogo ? layer(`${id2}.overlay.layer`, capBox, spacerTail(`${id2}.overlay.layer`), { hitTestable: false }) : capBox);
|
|
1991
|
+
}
|
|
1992
|
+
if (hasLogo) {
|
|
1993
|
+
const logo = node3(`${id2}.logo.ring`, "VStack", { spacing: 0, alignment: "center", children: [
|
|
1994
|
+
node3(`${id2}.logo`, "Image", {
|
|
1995
|
+
url: logoUrl,
|
|
1996
|
+
width: LOGO,
|
|
1997
|
+
height: LOGO,
|
|
1998
|
+
contentMode: "fill",
|
|
1999
|
+
contentDescription: clean2(options.logoLabel) || title || "Logo"
|
|
2000
|
+
}, { cornerRadius: 13 })
|
|
2001
|
+
] }, { background: { token: "surfacePrimary" }, cornerRadius: 15, padding: { leading: LOGO_RING, trailing: LOGO_RING, top: LOGO_RING, bottom: LOGO_RING } });
|
|
2002
|
+
const logoBox = ratioBox(
|
|
2003
|
+
`${id2}.logo.box`,
|
|
2004
|
+
node3(`${id2}.logo.row`, "HStack", { spacing: 0, alignment: "center", children: [logo] }, { padding: { leading: GUTTER } }),
|
|
2005
|
+
{ offsetY: hang }
|
|
2006
|
+
);
|
|
2007
|
+
stage.push(layer(`${id2}.logo.layer`, logoBox, spacerTail(`${id2}.logo.layer`), { hitTestable: false, zIndex: 1 }));
|
|
1989
2008
|
}
|
|
1990
2009
|
const children = [node3(`${id2}.stage`, "ZStack", { alignment: "leading", children: stage }, { fillMaxWidth: true })];
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
1994
|
-
|
|
2010
|
+
const texts = [];
|
|
2011
|
+
if (title) texts.push(node3(`${id2}.title`, "Text", { text: title, style: "title1", color: "textPrimary", textAlign: "leading" }, { headingLevel: 1 }));
|
|
2012
|
+
if (subtitle) texts.push(node3(`${id2}.subtitle`, "Text", { text: subtitle, style: "body", color: "textSecondary", textAlign: "leading" }));
|
|
2013
|
+
if (texts.length) {
|
|
1995
2014
|
const surface = node3(`${id2}.panel.surface`, "VStack", { spacing: TEXT_GAP, alignment: "leading", children: texts }, {
|
|
1996
2015
|
fillMaxWidth: true,
|
|
1997
2016
|
background: { token: "surfacePrimary" },
|
|
1998
|
-
|
|
2017
|
+
padding: { leading: GUTTER, trailing: GUTTER, top: hasLogo ? LOGO_GAP : 0, bottom: BOTTOM }
|
|
1999
2018
|
});
|
|
2000
|
-
children.push(node3(
|
|
2001
|
-
`${id2}.panel`,
|
|
2002
|
-
"VStack",
|
|
2003
|
-
{ spacing: 0, alignment: "leading", children: [surface] },
|
|
2004
|
-
{ fillMaxWidth: true, zIndex: 1, ...hang ? { padding: { top: hang } } : {} }
|
|
2005
|
-
));
|
|
2019
|
+
children.push(node3(`${id2}.panel`, "VStack", { spacing: 0, alignment: "leading", children: [surface] }, { fillMaxWidth: true }));
|
|
2006
2020
|
}
|
|
2007
2021
|
return node3(id2, "VStack", { spacing: 0, alignment: "leading", children }, { fillMaxWidth: true, imagePreview: "off" });
|
|
2008
2022
|
}
|
package/dist/cli.mjs
CHANGED
|
@@ -3562,7 +3562,7 @@ function encodeDistParams(env) {
|
|
|
3562
3562
|
return Buffer.from(JSON.stringify(env), "utf8").toString("base64url");
|
|
3563
3563
|
}
|
|
3564
3564
|
function distJobSpec(req) {
|
|
3565
|
-
const
|
|
3565
|
+
const params = {
|
|
3566
3566
|
APP_DIR: req.appDir,
|
|
3567
3567
|
// WHICH APP this binary is FOR, as distinct from which shell builds it. Without it the pool
|
|
3568
3568
|
// can only infer an app from APP_DIR — i.e. the shell — so it baked the SHELL's content and
|
|
@@ -3623,7 +3623,7 @@ function distJobSpec(req) {
|
|
|
3623
3623
|
// not get to answer a per-shell question.
|
|
3624
3624
|
...req.provisioningEnv ? { HIMI_DIST_PROVISIONING_ENV: req.provisioningEnv } : {}
|
|
3625
3625
|
};
|
|
3626
|
-
const command = `${req.runner === "linux" ? "linux:" : ""}dist:${req.platform} ${DIST_PARAMS_FLAG} ${encodeDistParams(
|
|
3626
|
+
const command = `${req.runner === "linux" ? "linux:" : ""}dist:${req.platform} ${DIST_PARAMS_FLAG} ${encodeDistParams(params)}`;
|
|
3627
3627
|
if (command.length > MAX_COMMAND_CHARS) {
|
|
3628
3628
|
throw new Error(
|
|
3629
3629
|
`dist command is ${command.length} chars (cap ${MAX_COMMAND_CHARS}); shrink the job env \u2014 pass large values as a URL the Mac job fetches, as the brand contract does`
|
|
@@ -3637,10 +3637,14 @@ function distJobSpec(req) {
|
|
|
3637
3637
|
// Job Service renders this metadata in Buildkite's job label. User labels are sanitized,
|
|
3638
3638
|
// and the runner also carries buildOrigin so it does not treat them as GitHub PR refs.
|
|
3639
3639
|
branchName: req.buildLabel ?? req.branchName ?? "master",
|
|
3640
|
-
envVars,
|
|
3640
|
+
envVars: withoutCallbackToken(params),
|
|
3641
3641
|
...req.xcodeVersion ? { xcodeVersion: req.xcodeVersion } : {}
|
|
3642
3642
|
};
|
|
3643
3643
|
}
|
|
3644
|
+
function withoutCallbackToken(params) {
|
|
3645
|
+
const { HIMI_DIST_CALLBACK_TOKEN: _printedByThePool, ...printable2 } = params;
|
|
3646
|
+
return printable2;
|
|
3647
|
+
}
|
|
3644
3648
|
var DIST_ERROR_CODES, APPLE_ERROR_CODES_MAX, IN_FLIGHT, JOB_SERVICE_ENDED, SCOPE_CREATE, SCOPE_READ, SCOPE_CANCEL, DEFAULT_BASE_URL, DEFAULT_OAUTH_URL, TOKEN_TTL_MS, JobServiceError, JobServiceBroker, CUSTOMER_UPLOAD_LEASE_MS, CUSTOMER_UPLOAD_RETRY_DELAYS_MS, CUSTOMER_UPLOAD_MAX_ATTEMPTS, CUSTOMER_UPLOAD_ABANDONED, MAX_MEASURABLE_IDENTITY_WINDOW, SITE_SHELL_SERVED_CAPABILITIES, DIST_SHELLS, DEFAULT_DIST_SHELL, DEFAULT_BORROWABLE_IOS_IDS, BUNDLE_ID_RE, DEFAULT_DIST_SIGNING, WIX_MANAGED_SIGNING_ALIASES, DEFAULT_ANDROID_SIGNING, ANDROID_SIGNING_POLICIES, ANDROID_SIGNING_ALIASES, DEFAULT_ANDROID_FORMAT, ANDROID_FORMATS, ANDROID_FORMAT_NOT_BUILT, ANDROID_FORMAT_WRONG_SIGNER, ANDROID_FORMAT_NOT_REQUESTED, DEFAULT_ANDROID_BUILD_TYPE, ANDROID_BUILD_TYPES, ANDROID_BUILD_TYPE_NOT_BUILT, DEFAULT_GIT_URL, DIST_PACKAGE_NAME, DIST_PARAMS_FLAG, MAX_COMMAND_CHARS;
|
|
3645
3649
|
var init_dist_jobs = __esm({
|
|
3646
3650
|
"../../core/serve-control/src/dist-jobs.ts"() {
|
|
@@ -252985,8 +252989,22 @@ function overlappingPanelHeader(options2) {
|
|
|
252985
252989
|
const urls2 = (options2.coverUrls ?? []).map((url) => clean(url)).filter(Boolean);
|
|
252986
252990
|
const hasLogo = logoUrl !== "";
|
|
252987
252991
|
const hasPanel = hasLogo || title !== "" || subtitle !== "";
|
|
252988
|
-
const
|
|
252989
|
-
const
|
|
252992
|
+
const coverNode = cover(id, urls2, options2.coverTransitionMs, clean(options2.coverLabel) || "Cover images");
|
|
252993
|
+
const ratioBox = (boxId, content, extra = {}) => node2(
|
|
252994
|
+
boxId,
|
|
252995
|
+
"VStack",
|
|
252996
|
+
{ spacing: 0, alignment: "leading", children: [node2(`${boxId}.fill`, "Spacer", {}, { weight: 1 }), content] },
|
|
252997
|
+
{ fillMaxWidth: true, aspectRatio: OVERLAPPING_PANEL_COVER_RATIO, hitTestable: false, ...extra }
|
|
252998
|
+
);
|
|
252999
|
+
const hang = hasLogo ? LOGO_HANG : 0;
|
|
253000
|
+
const layer = (layerId, child3, tail, extra = {}) => node2(layerId, "VStack", { spacing: 0, alignment: "leading", children: [child3, tail] }, { fillMaxWidth: true, ...extra });
|
|
253001
|
+
const spacerTail = (layerId) => node2(`${layerId}.tail`, "VStack", { spacing: 0, alignment: "leading", children: [] }, { height: hang });
|
|
253002
|
+
const stage = [hasLogo ? layer(`${id}.cover.layer`, coverNode, node2(
|
|
253003
|
+
`${id}.cover.tail`,
|
|
253004
|
+
"Shape",
|
|
253005
|
+
{ kind: "rectangle", fill: { token: "surfacePrimary" } },
|
|
253006
|
+
{ fillMaxWidth: true, height: hang, accessibilityHidden: true }
|
|
253007
|
+
)) : coverNode];
|
|
252990
253008
|
if (hasPanel) {
|
|
252991
253009
|
const cap2 = node2(
|
|
252992
253010
|
`${id}.cap`,
|
|
@@ -252994,46 +253012,46 @@ function overlappingPanelHeader(options2) {
|
|
|
252994
253012
|
{ kind: "roundedRectangle", cornerRadii: { topLeading: RADIUS, topTrailing: RADIUS }, fill: { token: "surfacePrimary" } },
|
|
252995
253013
|
{ fillMaxWidth: true, height: CAP2, accessibilityHidden: true }
|
|
252996
253014
|
);
|
|
252997
|
-
const
|
|
252998
|
-
|
|
252999
|
-
if (hasLogo) {
|
|
253000
|
-
const ring = LOGO - LOGO_RING * 2;
|
|
253001
|
-
const logo = node2(`${id}.logo.ring`, "VStack", { spacing: 0, alignment: "center", children: [
|
|
253002
|
-
node2(`${id}.logo`, "Image", { url: logoUrl, width: ring, height: ring, contentMode: "fill", contentDescription: clean(options2.logoLabel) || title || "Logo" }, { cornerRadius: 13 })
|
|
253003
|
-
] }, { background: { token: "surfacePrimary" }, cornerRadius: 15, padding: { leading: LOGO_RING, trailing: LOGO_RING, top: LOGO_RING, bottom: LOGO_RING } });
|
|
253004
|
-
const above2 = LOGO - LOGO_BELOW_SEAM;
|
|
253005
|
-
seam = node2(`${id}.seam`, "ZStack", { alignment: "leading", children: [
|
|
253006
|
-
node2(`${id}.cap.box`, "VStack", { spacing: 0, alignment: "leading", children: [cap2] }, { fillMaxWidth: true, padding: { top: above2 } }),
|
|
253007
|
-
node2(`${id}.logo.row`, "HStack", { spacing: 0, alignment: "center", children: [logo] }, { padding: { leading: GUTTER2, bottom: above2 + CAP2 - LOGO } })
|
|
253008
|
-
] }, moved);
|
|
253009
|
-
}
|
|
253010
|
-
stage.push(node2(
|
|
253011
|
-
`${id}.overlay`,
|
|
253015
|
+
const capBox = ratioBox(`${id}.overlay`, node2(
|
|
253016
|
+
`${id}.seam`,
|
|
253012
253017
|
"VStack",
|
|
253013
|
-
{ spacing: 0, alignment: "leading", children: [
|
|
253014
|
-
{ fillMaxWidth: true,
|
|
253015
|
-
));
|
|
253018
|
+
{ spacing: 0, alignment: "leading", children: [cap2] },
|
|
253019
|
+
{ fillMaxWidth: true, offsetY: CAP2 - OVERLAPPING_PANEL_OVERLAP }
|
|
253020
|
+
), { clipShape: "rectangle" });
|
|
253021
|
+
stage.push(hasLogo ? layer(`${id}.overlay.layer`, capBox, spacerTail(`${id}.overlay.layer`), { hitTestable: false }) : capBox);
|
|
253022
|
+
}
|
|
253023
|
+
if (hasLogo) {
|
|
253024
|
+
const logo = node2(`${id}.logo.ring`, "VStack", { spacing: 0, alignment: "center", children: [
|
|
253025
|
+
node2(`${id}.logo`, "Image", {
|
|
253026
|
+
url: logoUrl,
|
|
253027
|
+
width: LOGO,
|
|
253028
|
+
height: LOGO,
|
|
253029
|
+
contentMode: "fill",
|
|
253030
|
+
contentDescription: clean(options2.logoLabel) || title || "Logo"
|
|
253031
|
+
}, { cornerRadius: 13 })
|
|
253032
|
+
] }, { background: { token: "surfacePrimary" }, cornerRadius: 15, padding: { leading: LOGO_RING, trailing: LOGO_RING, top: LOGO_RING, bottom: LOGO_RING } });
|
|
253033
|
+
const logoBox = ratioBox(
|
|
253034
|
+
`${id}.logo.box`,
|
|
253035
|
+
node2(`${id}.logo.row`, "HStack", { spacing: 0, alignment: "center", children: [logo] }, { padding: { leading: GUTTER2 } }),
|
|
253036
|
+
{ offsetY: hang }
|
|
253037
|
+
);
|
|
253038
|
+
stage.push(layer(`${id}.logo.layer`, logoBox, spacerTail(`${id}.logo.layer`), { hitTestable: false, zIndex: 1 }));
|
|
253016
253039
|
}
|
|
253017
253040
|
const children2 = [node2(`${id}.stage`, "ZStack", { alignment: "leading", children: stage }, { fillMaxWidth: true })];
|
|
253018
|
-
|
|
253019
|
-
|
|
253020
|
-
|
|
253021
|
-
|
|
253041
|
+
const texts = [];
|
|
253042
|
+
if (title) texts.push(node2(`${id}.title`, "Text", { text: title, style: "title1", color: "textPrimary", textAlign: "leading" }, { headingLevel: 1 }));
|
|
253043
|
+
if (subtitle) texts.push(node2(`${id}.subtitle`, "Text", { text: subtitle, style: "body", color: "textSecondary", textAlign: "leading" }));
|
|
253044
|
+
if (texts.length) {
|
|
253022
253045
|
const surface = node2(`${id}.panel.surface`, "VStack", { spacing: TEXT_GAP, alignment: "leading", children: texts }, {
|
|
253023
253046
|
fillMaxWidth: true,
|
|
253024
253047
|
background: { token: "surfacePrimary" },
|
|
253025
|
-
|
|
253048
|
+
padding: { leading: GUTTER2, trailing: GUTTER2, top: hasLogo ? LOGO_GAP : 0, bottom: BOTTOM }
|
|
253026
253049
|
});
|
|
253027
|
-
children2.push(node2(
|
|
253028
|
-
`${id}.panel`,
|
|
253029
|
-
"VStack",
|
|
253030
|
-
{ spacing: 0, alignment: "leading", children: [surface] },
|
|
253031
|
-
{ fillMaxWidth: true, zIndex: 1, ...hang ? { padding: { top: hang } } : {} }
|
|
253032
|
-
));
|
|
253050
|
+
children2.push(node2(`${id}.panel`, "VStack", { spacing: 0, alignment: "leading", children: [surface] }, { fillMaxWidth: true }));
|
|
253033
253051
|
}
|
|
253034
253052
|
return node2(id, "VStack", { spacing: 0, alignment: "leading", children: children2 }, { fillMaxWidth: true, imagePreview: "off" });
|
|
253035
253053
|
}
|
|
253036
|
-
var node2, OVERLAPPING_PANEL_COVER_RATIO, OVERLAPPING_PANEL_OVERLAP, DEFAULT_COVER_TRANSITION_MS, RADIUS, LOGO, LOGO_RING,
|
|
253054
|
+
var node2, OVERLAPPING_PANEL_COVER_RATIO, OVERLAPPING_PANEL_OVERLAP, DEFAULT_COVER_TRANSITION_MS, RADIUS, LOGO, LOGO_RING, LOGO_HANG, LOGO_GAP, TEXT_GAP, GUTTER2, BOTTOM, CAP2, overlappingPanelCoverId, clean;
|
|
253037
253055
|
var init_overlapping_panel_header = __esm({
|
|
253038
253056
|
"../../stdlib/flows/screens/src/overlapping-panel-header.ts"() {
|
|
253039
253057
|
init_define_HHP_CATALOG();
|
|
@@ -253042,9 +253060,9 @@ var init_overlapping_panel_header = __esm({
|
|
|
253042
253060
|
OVERLAPPING_PANEL_OVERLAP = 20;
|
|
253043
253061
|
DEFAULT_COVER_TRANSITION_MS = 3e3;
|
|
253044
253062
|
RADIUS = 24;
|
|
253045
|
-
LOGO =
|
|
253063
|
+
LOGO = 64;
|
|
253046
253064
|
LOGO_RING = 2;
|
|
253047
|
-
|
|
253065
|
+
LOGO_HANG = (LOGO + LOGO_RING * 2) / 2 - OVERLAPPING_PANEL_OVERLAP;
|
|
253048
253066
|
LOGO_GAP = 12;
|
|
253049
253067
|
TEXT_GAP = 4;
|
|
253050
253068
|
GUTTER2 = 20;
|
package/guides/qa-builds.md
CHANGED
|
@@ -407,9 +407,16 @@ token, creates the Mac-pool job, and polls it. The compute never moves.
|
|
|
407
407
|
The install link comes back through a **result callback**: the pool POSTs
|
|
408
408
|
`/v1/dist/result` with a per-job token, and `himi dist status` reads the record that
|
|
409
409
|
writes. Two things bound a leaked token: the artifact URL must be HTTPS on an allowed
|
|
410
|
-
host, and the
|
|
411
|
-
|
|
412
|
-
|
|
410
|
+
host, and the token expires 24h after the job was created — on the result **and** on the
|
|
411
|
+
contract, seed, signing and Firebase config routes (the captcha route instead refuses a job
|
|
412
|
+
once it has finished). It is deliberately **not**
|
|
413
|
+
single-use — Job Service retries a failed job with the same env, so the same token
|
|
414
|
+
legitimately reports twice.
|
|
415
|
+
|
|
416
|
+
The token can leak because the pool's runner prints the job's parameters into its Buildkite
|
|
417
|
+
log before it clones the repo. The plain-text `envVars` it prints never carry the token; the
|
|
418
|
+
`--himi-dist` argument does, base64url-encoded, which anyone with the log can decode — so the
|
|
419
|
+
24h expiry is what bounds it.
|
|
413
420
|
|
|
414
421
|
An early return in the build now reports a **FAILURE with the reason** rather than
|
|
415
422
|
exiting 0: a job that produced no artifact must never read `SUCCESS` with no link.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/himalaya-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.1881.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": "
|
|
85
|
+
"falconPackageHash": "4c99e9aa9c3bc31c5cc92b09c8d1410a40000a2e8b23d3bd023703aa"
|
|
86
86
|
}
|