bulletin-deploy 0.14.1 → 0.14.2
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/assets/environments.json +3 -0
- package/bin/bulletin-bootstrap +7 -0
- package/dist/auth-config.js +4 -4
- package/dist/bug-report.js +4 -4
- package/dist/chain-health.d.ts +139 -0
- package/dist/chain-health.js +14 -0
- package/dist/{chunk-DAFCH55Q.js → chunk-37AN2MHU.js} +2 -2
- package/dist/{chunk-42BNXFWF.js → chunk-6LD3Z2HM.js} +39 -36
- package/dist/{chunk-YDV7M3V2.js → chunk-7V4B775S.js} +3 -3
- package/dist/{chunk-ALTGYSBJ.js → chunk-CRZSDUWV.js} +1 -1
- package/dist/{chunk-AB62NERW.js → chunk-FMQLBYOR.js} +15 -8
- package/dist/{chunk-L7DCLCCK.js → chunk-GEHOB4PE.js} +1 -1
- package/dist/{chunk-4AEFFDHP.js → chunk-IJUKTHEP.js} +8 -2
- package/dist/{chunk-5ZR5L37D.js → chunk-REB37WWY.js} +4 -4
- package/dist/{chunk-PQK6XT6Z.js → chunk-RIQWW2BT.js} +8 -8
- package/dist/{chunk-5NQHQFMH.js → chunk-T2S5M6OH.js} +1 -1
- package/dist/chunk-UDJAYGYU.js +226 -0
- package/dist/{chunk-NLRGFZMQ.js → chunk-VH2HNQG2.js} +17 -1
- package/dist/{chunk-E6J46GNK.js → chunk-XQHRKK7M.js} +5 -1
- package/dist/{chunk-O5TJWVGZ.js → chunk-ZPWTXUA6.js} +7 -6
- package/dist/chunk-probe.js +3 -3
- package/dist/commands/login.js +13 -12
- package/dist/commands/logout.js +5 -5
- package/dist/commands/transfer.js +6 -5
- package/dist/commands/whoami.js +4 -4
- package/dist/deploy-actors.js +8 -7
- package/dist/deploy.js +13 -12
- package/dist/dotns.d.ts +2 -0
- package/dist/dotns.js +6 -5
- package/dist/environments.d.ts +2 -0
- package/dist/environments.js +1 -1
- package/dist/index.js +23 -22
- package/dist/manifest/publish.js +14 -13
- package/dist/memory-report.js +2 -2
- package/dist/merkle.js +13 -12
- package/dist/personhood/bootstrap.js +6 -5
- package/dist/personhood/people-client.js +6 -5
- package/dist/pool.d.ts +2 -0
- package/dist/pool.js +1 -1
- package/dist/run-state.js +1 -1
- package/dist/sss-allowance-cache.js +5 -5
- package/dist/storage-signer.js +13 -12
- package/dist/telemetry.d.ts +23 -1
- package/dist/telemetry.js +4 -2
- package/dist/version-check.js +3 -3
- package/package.json +7 -6
- package/tools/release-retry-wrapper.mjs +7 -0
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-U2SZ3ZRI.js";
|
|
6
6
|
import {
|
|
7
7
|
publishManifest
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-RIQWW2BT.js";
|
|
9
9
|
import {
|
|
10
10
|
DEFAULT_TEXT_RECORD_BUDGET_BYTES,
|
|
11
11
|
PLACEHOLDER_CID,
|
|
@@ -25,8 +25,8 @@ import {
|
|
|
25
25
|
deploy,
|
|
26
26
|
merkleizeJS,
|
|
27
27
|
merkleizeWithStableOrder
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
28
|
+
} from "./chunk-6LD3Z2HM.js";
|
|
29
|
+
import "./chunk-T2S5M6OH.js";
|
|
30
30
|
import "./chunk-GRPLHUYC.js";
|
|
31
31
|
import "./chunk-HOTQDYHD.js";
|
|
32
32
|
import {
|
|
@@ -50,24 +50,24 @@ import {
|
|
|
50
50
|
isVolatilePath,
|
|
51
51
|
parseManifest
|
|
52
52
|
} from "./chunk-S7EM5VMW.js";
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-7V4B775S.js";
|
|
54
|
+
import "./chunk-GEHOB4PE.js";
|
|
55
55
|
import {
|
|
56
56
|
probeChunks
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-CRZSDUWV.js";
|
|
58
58
|
import "./chunk-C2TS5MER.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-37AN2MHU.js";
|
|
60
60
|
import "./chunk-JQKKMUCT.js";
|
|
61
61
|
import "./chunk-5FLTDWWP.js";
|
|
62
62
|
import "./chunk-RIRDBSBG.js";
|
|
63
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-REB37WWY.js";
|
|
64
64
|
import "./chunk-TSPERKUS.js";
|
|
65
65
|
import {
|
|
66
66
|
DEFAULT_MNEMONIC,
|
|
67
67
|
DotNS,
|
|
68
68
|
parseDomainName,
|
|
69
69
|
sanitizeDomainLabel
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-FMQLBYOR.js";
|
|
71
71
|
import "./chunk-SI2ZUOYD.js";
|
|
72
72
|
import {
|
|
73
73
|
BULLETIN_BLOCKS_PER_DAY,
|
|
@@ -82,18 +82,7 @@ import {
|
|
|
82
82
|
isAutoReauthorizeAllowed,
|
|
83
83
|
poolAccountDerivationPath,
|
|
84
84
|
selectAccount
|
|
85
|
-
} from "./chunk-
|
|
86
|
-
import "./chunk-NLRGFZMQ.js";
|
|
87
|
-
import {
|
|
88
|
-
VERSION,
|
|
89
|
-
loadRunState,
|
|
90
|
-
probablyOomRssMb,
|
|
91
|
-
resolveStateDir,
|
|
92
|
-
shouldShowOomHint,
|
|
93
|
-
shouldSkipStaleWarning,
|
|
94
|
-
stateFilePath,
|
|
95
|
-
writeRunState
|
|
96
|
-
} from "./chunk-O5TJWVGZ.js";
|
|
85
|
+
} from "./chunk-IJUKTHEP.js";
|
|
97
86
|
import {
|
|
98
87
|
DEFAULT_ENV_ID,
|
|
99
88
|
deepMergeEnvironments,
|
|
@@ -104,10 +93,22 @@ import {
|
|
|
104
93
|
loadEnvironments,
|
|
105
94
|
resolveEndpoints,
|
|
106
95
|
validateContractAddresses
|
|
107
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-XQHRKK7M.js";
|
|
108
97
|
import {
|
|
109
98
|
NonRetryableError
|
|
110
99
|
} from "./chunk-ZOC4GITL.js";
|
|
100
|
+
import "./chunk-UDJAYGYU.js";
|
|
101
|
+
import "./chunk-VH2HNQG2.js";
|
|
102
|
+
import {
|
|
103
|
+
VERSION,
|
|
104
|
+
loadRunState,
|
|
105
|
+
probablyOomRssMb,
|
|
106
|
+
resolveStateDir,
|
|
107
|
+
shouldShowOomHint,
|
|
108
|
+
shouldSkipStaleWarning,
|
|
109
|
+
stateFilePath,
|
|
110
|
+
writeRunState
|
|
111
|
+
} from "./chunk-ZPWTXUA6.js";
|
|
111
112
|
|
|
112
113
|
// src/manifest/product-preflight.ts
|
|
113
114
|
import * as fs from "fs/promises";
|
package/dist/manifest/publish.js
CHANGED
|
@@ -1,33 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
publishManifest,
|
|
3
3
|
registerOrEnsureResolver
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-RIQWW2BT.js";
|
|
5
5
|
import "../chunk-WIMRJK32.js";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-6LD3Z2HM.js";
|
|
7
|
+
import "../chunk-T2S5M6OH.js";
|
|
8
8
|
import "../chunk-GRPLHUYC.js";
|
|
9
9
|
import "../chunk-HOTQDYHD.js";
|
|
10
10
|
import "../chunk-IW3X2MJF.js";
|
|
11
11
|
import "../chunk-KOSF5FDO.js";
|
|
12
12
|
import "../chunk-J3NIXHZZ.js";
|
|
13
13
|
import "../chunk-S7EM5VMW.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-7V4B775S.js";
|
|
15
|
+
import "../chunk-GEHOB4PE.js";
|
|
16
|
+
import "../chunk-CRZSDUWV.js";
|
|
17
17
|
import "../chunk-C2TS5MER.js";
|
|
18
|
-
import "../chunk-
|
|
18
|
+
import "../chunk-37AN2MHU.js";
|
|
19
19
|
import "../chunk-JQKKMUCT.js";
|
|
20
20
|
import "../chunk-5FLTDWWP.js";
|
|
21
21
|
import "../chunk-RIRDBSBG.js";
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-REB37WWY.js";
|
|
23
23
|
import "../chunk-TSPERKUS.js";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-FMQLBYOR.js";
|
|
25
25
|
import "../chunk-SI2ZUOYD.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-O5TJWVGZ.js";
|
|
29
|
-
import "../chunk-E6J46GNK.js";
|
|
26
|
+
import "../chunk-IJUKTHEP.js";
|
|
27
|
+
import "../chunk-XQHRKK7M.js";
|
|
30
28
|
import "../chunk-ZOC4GITL.js";
|
|
29
|
+
import "../chunk-UDJAYGYU.js";
|
|
30
|
+
import "../chunk-VH2HNQG2.js";
|
|
31
|
+
import "../chunk-ZPWTXUA6.js";
|
|
31
32
|
export {
|
|
32
33
|
publishManifest,
|
|
33
34
|
registerOrEnsureResolver
|
package/dist/memory-report.js
CHANGED
package/dist/merkle.js
CHANGED
|
@@ -6,31 +6,32 @@ import {
|
|
|
6
6
|
merkleizeKuboBackend,
|
|
7
7
|
merkleizeWithStableOrder,
|
|
8
8
|
rebuildOrderedCarFromBytes
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-6LD3Z2HM.js";
|
|
10
|
+
import "./chunk-T2S5M6OH.js";
|
|
11
11
|
import "./chunk-GRPLHUYC.js";
|
|
12
12
|
import "./chunk-HOTQDYHD.js";
|
|
13
13
|
import "./chunk-IW3X2MJF.js";
|
|
14
14
|
import "./chunk-KOSF5FDO.js";
|
|
15
15
|
import "./chunk-J3NIXHZZ.js";
|
|
16
16
|
import "./chunk-S7EM5VMW.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-7V4B775S.js";
|
|
18
|
+
import "./chunk-GEHOB4PE.js";
|
|
19
|
+
import "./chunk-CRZSDUWV.js";
|
|
20
20
|
import "./chunk-C2TS5MER.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-37AN2MHU.js";
|
|
22
22
|
import "./chunk-JQKKMUCT.js";
|
|
23
23
|
import "./chunk-5FLTDWWP.js";
|
|
24
24
|
import "./chunk-RIRDBSBG.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-REB37WWY.js";
|
|
26
26
|
import "./chunk-TSPERKUS.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-FMQLBYOR.js";
|
|
28
28
|
import "./chunk-SI2ZUOYD.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-O5TJWVGZ.js";
|
|
32
|
-
import "./chunk-E6J46GNK.js";
|
|
29
|
+
import "./chunk-IJUKTHEP.js";
|
|
30
|
+
import "./chunk-XQHRKK7M.js";
|
|
33
31
|
import "./chunk-ZOC4GITL.js";
|
|
32
|
+
import "./chunk-UDJAYGYU.js";
|
|
33
|
+
import "./chunk-VH2HNQG2.js";
|
|
34
|
+
import "./chunk-ZPWTXUA6.js";
|
|
34
35
|
export {
|
|
35
36
|
buildOrderedCar,
|
|
36
37
|
merkleizeBackend,
|
|
@@ -21,19 +21,20 @@ import {
|
|
|
21
21
|
} from "../chunk-ZYVGHDMU.js";
|
|
22
22
|
import {
|
|
23
23
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
24
|
-
} from "../chunk-
|
|
24
|
+
} from "../chunk-FMQLBYOR.js";
|
|
25
25
|
import {
|
|
26
26
|
DOTNS_CONTEXT_BYTES,
|
|
27
27
|
PEOPLE_MEMBER_IDENTIFIER_HEX,
|
|
28
28
|
PGAS_ASSET_ID
|
|
29
29
|
} from "../chunk-SI2ZUOYD.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-NLRGFZMQ.js";
|
|
32
|
-
import "../chunk-O5TJWVGZ.js";
|
|
30
|
+
import "../chunk-IJUKTHEP.js";
|
|
33
31
|
import {
|
|
34
32
|
loadEnvironments
|
|
35
|
-
} from "../chunk-
|
|
33
|
+
} from "../chunk-XQHRKK7M.js";
|
|
36
34
|
import "../chunk-ZOC4GITL.js";
|
|
35
|
+
import "../chunk-UDJAYGYU.js";
|
|
36
|
+
import "../chunk-VH2HNQG2.js";
|
|
37
|
+
import "../chunk-ZPWTXUA6.js";
|
|
37
38
|
|
|
38
39
|
// src/personhood/bootstrap.ts
|
|
39
40
|
import { createClient } from "polkadot-api";
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WS_HEARTBEAT_TIMEOUT_MS
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-FMQLBYOR.js";
|
|
4
4
|
import "../chunk-SI2ZUOYD.js";
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-NLRGFZMQ.js";
|
|
7
|
-
import "../chunk-O5TJWVGZ.js";
|
|
5
|
+
import "../chunk-IJUKTHEP.js";
|
|
8
6
|
import {
|
|
9
7
|
loadEnvironments
|
|
10
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-XQHRKK7M.js";
|
|
11
9
|
import "../chunk-ZOC4GITL.js";
|
|
10
|
+
import "../chunk-UDJAYGYU.js";
|
|
11
|
+
import "../chunk-VH2HNQG2.js";
|
|
12
|
+
import "../chunk-ZPWTXUA6.js";
|
|
12
13
|
|
|
13
14
|
// src/personhood/people-client.ts
|
|
14
15
|
import { createClient } from "polkadot-api";
|
package/dist/pool.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ declare function detectTestnet(api: any): Promise<boolean>;
|
|
|
38
38
|
declare function _resetTestnetCacheForTests(): void;
|
|
39
39
|
declare function ensureAuthorized(api: any, address: string, label?: string, opts?: {
|
|
40
40
|
autoAuthorize?: boolean;
|
|
41
|
+
authorizer?: string;
|
|
41
42
|
}): Promise<void>;
|
|
42
43
|
interface EnsurePoolFundedOptions {
|
|
43
44
|
envEntry: AutoReauthorizeEnv | null | undefined;
|
|
@@ -49,6 +50,7 @@ interface EnsurePoolFundedOptions {
|
|
|
49
50
|
declare function ensurePoolAccountsFundedOnAssetHub(assetHubRpc: string, poolSize: number, poolMnemonic: string | undefined, opts: EnsurePoolFundedOptions): Promise<void>;
|
|
50
51
|
interface BootstrapPoolOptions {
|
|
51
52
|
authorizerMnemonic?: string;
|
|
53
|
+
envAuthorizer?: string;
|
|
52
54
|
bulletinAuthorizeV2?: boolean;
|
|
53
55
|
reauthBufferBlocks?: number;
|
|
54
56
|
allowAutoReauthorize?: boolean;
|
package/dist/pool.js
CHANGED
package/dist/run-state.js
CHANGED
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
preflightSssAllowance,
|
|
5
5
|
sssPeriodEndSec,
|
|
6
6
|
writeSssAllowanceCache
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-T2S5M6OH.js";
|
|
8
8
|
import "./chunk-GRPLHUYC.js";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-REB37WWY.js";
|
|
10
10
|
import "./chunk-TSPERKUS.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-O5TJWVGZ.js";
|
|
13
|
-
import "./chunk-E6J46GNK.js";
|
|
11
|
+
import "./chunk-XQHRKK7M.js";
|
|
14
12
|
import "./chunk-ZOC4GITL.js";
|
|
13
|
+
import "./chunk-VH2HNQG2.js";
|
|
14
|
+
import "./chunk-ZPWTXUA6.js";
|
|
15
15
|
export {
|
|
16
16
|
clearSssAllowanceCache,
|
|
17
17
|
isSssAllowanceCacheValid,
|
package/dist/storage-signer.js
CHANGED
|
@@ -8,31 +8,32 @@ import {
|
|
|
8
8
|
waitForBulletinAuthorization,
|
|
9
9
|
withTransientRetry,
|
|
10
10
|
writeBulletinSlotKey
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-6LD3Z2HM.js";
|
|
12
|
+
import "./chunk-T2S5M6OH.js";
|
|
13
13
|
import "./chunk-GRPLHUYC.js";
|
|
14
14
|
import "./chunk-HOTQDYHD.js";
|
|
15
15
|
import "./chunk-IW3X2MJF.js";
|
|
16
16
|
import "./chunk-KOSF5FDO.js";
|
|
17
17
|
import "./chunk-J3NIXHZZ.js";
|
|
18
18
|
import "./chunk-S7EM5VMW.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-7V4B775S.js";
|
|
20
|
+
import "./chunk-GEHOB4PE.js";
|
|
21
|
+
import "./chunk-CRZSDUWV.js";
|
|
22
22
|
import "./chunk-C2TS5MER.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-37AN2MHU.js";
|
|
24
24
|
import "./chunk-JQKKMUCT.js";
|
|
25
25
|
import "./chunk-5FLTDWWP.js";
|
|
26
26
|
import "./chunk-RIRDBSBG.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-REB37WWY.js";
|
|
28
28
|
import "./chunk-TSPERKUS.js";
|
|
29
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-FMQLBYOR.js";
|
|
30
30
|
import "./chunk-SI2ZUOYD.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-O5TJWVGZ.js";
|
|
34
|
-
import "./chunk-E6J46GNK.js";
|
|
31
|
+
import "./chunk-IJUKTHEP.js";
|
|
32
|
+
import "./chunk-XQHRKK7M.js";
|
|
35
33
|
import "./chunk-ZOC4GITL.js";
|
|
34
|
+
import "./chunk-UDJAYGYU.js";
|
|
35
|
+
import "./chunk-VH2HNQG2.js";
|
|
36
|
+
import "./chunk-ZPWTXUA6.js";
|
|
36
37
|
export {
|
|
37
38
|
BulletinSlotAuthError,
|
|
38
39
|
extractBulletinSlotKey,
|
package/dist/telemetry.d.ts
CHANGED
|
@@ -118,7 +118,29 @@ declare function setDeploySentryTag(key: string, value: string): void;
|
|
|
118
118
|
* on deployRootSpan — see setDeployAttribute implementation above).
|
|
119
119
|
*/
|
|
120
120
|
declare function markCodePath(id: CodePath): void;
|
|
121
|
+
/**
|
|
122
|
+
* Emit a span for an interval that has ALREADY elapsed, with explicit start and
|
|
123
|
+
* end timestamps, parented to the current deploy root span.
|
|
124
|
+
*
|
|
125
|
+
* Why retroactive rather than an open span held across the interval: the
|
|
126
|
+
* emitter is a background block subscription, not the active call stack, so
|
|
127
|
+
* `Sentry.startSpan` would attach to whatever scope happens to be current —
|
|
128
|
+
* the same scope-stack unreliability documented on `deployRootSpan` above.
|
|
129
|
+
* Recording start/end ourselves and passing them to `startInactiveSpan` makes
|
|
130
|
+
* parentage explicit and means a dropped subscription can never leave a span
|
|
131
|
+
* open.
|
|
132
|
+
*
|
|
133
|
+
* The resulting `span.duration` IS the measurement. That matters: user-defined
|
|
134
|
+
* attributes from @sentry/node come back string-typed in EAP, so `avg()`/`p95()`
|
|
135
|
+
* only work on built-in numeric columns. Callers wanting an aggregatable metric
|
|
136
|
+
* must express it as an elapsed interval, not an attribute.
|
|
137
|
+
*
|
|
138
|
+
* No-ops when there is no active deploy root span (telemetry disabled, opted
|
|
139
|
+
* out, or called outside a deploy) — that single guard is what keeps
|
|
140
|
+
* background sampling off for users who opted out.
|
|
141
|
+
*/
|
|
142
|
+
declare function emitIntervalSpan(op: string, name: string, startMs: number, endMs: number, attributes: Record<string, string | number | boolean>): void;
|
|
121
143
|
declare function captureWarning(message: string, context?: Record<string, unknown>): void;
|
|
122
144
|
declare function flush(): Promise<void>;
|
|
123
145
|
|
|
124
|
-
export { type DeployErrorCategory, type DeployErrorKind, type InternalContextSignals, VERSION, __setDeployRootSpanForTest, __setSentryForTest, analyseErrorPattern, captureWarning, classifyDeployError, classifyErrorKind, classifySadReason, closeTelemetry, computeDeployOutcome, extractRepoSlug, flush, getCurrentSentryTraceId, getDeployAttributes, initTelemetry, isExpectedError, isInternalContext, isInternalContextFromSignals, isTelemetryDisabled, markCodePath, markRelaunchOomHintShown, resolveIssueRepoSlug, resolveRepo, resolveRunner, resolveRunnerType, sampleMemory, sanitizeBranch, sanitizeErrorMessage, sanitizeRepo, scrubPaths, setDeployAttribute, setDeployError, setDeployReportContext, setDeploySentryTag, setRunStateActive, truncateAddress, withDeploySpan, withManifestSpan, withSpan };
|
|
146
|
+
export { type DeployErrorCategory, type DeployErrorKind, type InternalContextSignals, VERSION, __setDeployRootSpanForTest, __setSentryForTest, analyseErrorPattern, captureWarning, classifyDeployError, classifyErrorKind, classifySadReason, closeTelemetry, computeDeployOutcome, emitIntervalSpan, extractRepoSlug, flush, getCurrentSentryTraceId, getDeployAttributes, initTelemetry, isExpectedError, isInternalContext, isInternalContextFromSignals, isTelemetryDisabled, markCodePath, markRelaunchOomHintShown, resolveIssueRepoSlug, resolveRepo, resolveRunner, resolveRunnerType, sampleMemory, sanitizeBranch, sanitizeErrorMessage, sanitizeRepo, scrubPaths, setDeployAttribute, setDeployError, setDeployReportContext, setDeploySentryTag, setRunStateActive, truncateAddress, withDeploySpan, withManifestSpan, withSpan };
|
package/dist/telemetry.js
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
classifySadReason,
|
|
10
10
|
closeTelemetry,
|
|
11
11
|
computeDeployOutcome,
|
|
12
|
+
emitIntervalSpan,
|
|
12
13
|
extractRepoSlug,
|
|
13
14
|
flush,
|
|
14
15
|
getCurrentSentryTraceId,
|
|
@@ -38,8 +39,8 @@ import {
|
|
|
38
39
|
withDeploySpan,
|
|
39
40
|
withManifestSpan,
|
|
40
41
|
withSpan
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
42
|
+
} from "./chunk-VH2HNQG2.js";
|
|
43
|
+
import "./chunk-ZPWTXUA6.js";
|
|
43
44
|
export {
|
|
44
45
|
VERSION,
|
|
45
46
|
__setDeployRootSpanForTest,
|
|
@@ -51,6 +52,7 @@ export {
|
|
|
51
52
|
classifySadReason,
|
|
52
53
|
closeTelemetry,
|
|
53
54
|
computeDeployOutcome,
|
|
55
|
+
emitIntervalSpan,
|
|
54
56
|
extractRepoSlug,
|
|
55
57
|
flush,
|
|
56
58
|
getCurrentSentryTraceId,
|
package/dist/version-check.js
CHANGED
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
isPreReleaseVersion,
|
|
12
12
|
preReleaseWarning,
|
|
13
13
|
promptYesNo
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-GEHOB4PE.js";
|
|
15
|
+
import "./chunk-VH2HNQG2.js";
|
|
16
|
+
import "./chunk-ZPWTXUA6.js";
|
|
17
17
|
export {
|
|
18
18
|
assessVersion,
|
|
19
19
|
checkNodeVersion,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bulletin-deploy",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -46,11 +46,11 @@
|
|
|
46
46
|
"tools/verify-baked-dsn.mjs"
|
|
47
47
|
],
|
|
48
48
|
"scripts": {
|
|
49
|
-
"build": "tsup src/suppress-localstorage-warning.ts src/index.ts src/deploy.ts src/dotns.ts src/pool.ts src/telemetry.ts src/memory-report.ts src/merkle.ts src/gh-pages-mirror.ts src/version-check.ts src/bug-report.ts src/run-state.ts src/environments.ts src/errors.ts src/manifest.ts src/chunk-probe.ts src/manifest-embed.ts src/manifest-fetch.ts src/manifest-roundtrip.ts src/incremental-stats.ts src/chunker.ts src/personhood/encoding.ts src/personhood/hashing.ts src/personhood/constants.ts src/personhood/member-key.ts src/personhood/people-client.ts src/personhood/proof-validity.ts src/personhood/reprove.ts src/personhood/bind-personal-id.ts src/personhood/claim-pgas.ts src/personhood/bind-paid-alias.ts src/personhood/bootstrap.ts src/personhood/chain-prereqs.ts src/manifest/types.ts src/manifest/schema.ts src/manifest/byte-budget.ts src/manifest/config-load.ts src/manifest/publish.ts src/auth/index.ts src/auth/vendor/index.ts src/auth/vendor/ui/index.ts src/auth-config.ts src/commands/login.ts src/commands/logout.ts src/commands/whoami.ts src/commands/transfer.ts src/storage-signer.ts src/spinner.ts src/sss-allowance.ts src/sss-allowance-cache.ts src/deploy-actors.ts --format esm --dts --clean --target node22",
|
|
49
|
+
"build": "tsup src/suppress-localstorage-warning.ts src/index.ts src/deploy.ts src/dotns.ts src/pool.ts src/telemetry.ts src/chain-health.ts src/memory-report.ts src/merkle.ts src/gh-pages-mirror.ts src/version-check.ts src/bug-report.ts src/run-state.ts src/environments.ts src/errors.ts src/manifest.ts src/chunk-probe.ts src/manifest-embed.ts src/manifest-fetch.ts src/manifest-roundtrip.ts src/incremental-stats.ts src/chunker.ts src/personhood/encoding.ts src/personhood/hashing.ts src/personhood/constants.ts src/personhood/member-key.ts src/personhood/people-client.ts src/personhood/proof-validity.ts src/personhood/reprove.ts src/personhood/bind-personal-id.ts src/personhood/claim-pgas.ts src/personhood/bind-paid-alias.ts src/personhood/bootstrap.ts src/personhood/chain-prereqs.ts src/manifest/types.ts src/manifest/schema.ts src/manifest/byte-budget.ts src/manifest/config-load.ts src/manifest/publish.ts src/auth/index.ts src/auth/vendor/index.ts src/auth/vendor/ui/index.ts src/auth-config.ts src/commands/login.ts src/commands/logout.ts src/commands/whoami.ts src/commands/transfer.ts src/storage-signer.ts src/spinner.ts src/sss-allowance.ts src/sss-allowance-cache.ts src/deploy-actors.ts --format esm --dts --clean --target node22",
|
|
50
50
|
"refresh-environments": "node scripts/refresh-environments.mjs",
|
|
51
51
|
"postinstall": "patch-package || true",
|
|
52
52
|
"prepare": "npm run build",
|
|
53
|
-
"test": "npm run build && node --test test/test.js test/cli-help.test.js test/helpers/e2e-helpers.test.js test/environments.test.js test/refresh-environments.test.js test/chunk-sharing-report.test.js test/product-manifest.test.js test/cache-savings-totals.test.js test/error-pattern-signature.test.js test/exit-codes.test.js test/probe-env-health.test.js test/e2e-chain-calls.test.js test/auth-config.test.js test/whoami.test.js test/login.test.js test/logout.test.js test/auth-resolve.test.js test/storage-signer.test.js test/spinner.test.js test/sss-allowance.test.js test/sss-allowance-cache.test.js test/dotns-transfer.test.js test/deploy-actors.test.js test/transfer-command.test.js test/dotns-register-fee.test.js test/deploy-label-ordering.test.js test/benign-teardown.test.js test/verify-baked-dsn.test.js && npm run test:vendor",
|
|
53
|
+
"test": "npm run build && node --test test/test.js test/cli-help.test.js test/helpers/e2e-helpers.test.js test/environments.test.js test/refresh-environments.test.js test/chunk-sharing-report.test.js test/product-manifest.test.js test/cache-savings-totals.test.js test/error-pattern-signature.test.js test/exit-codes.test.js test/probe-env-health.test.js test/e2e-chain-calls.test.js test/auth-config.test.js test/whoami.test.js test/login.test.js test/logout.test.js test/auth-resolve.test.js test/storage-signer.test.js test/spinner.test.js test/sss-allowance.test.js test/sss-allowance-cache.test.js test/dotns-transfer.test.js test/deploy-actors.test.js test/transfer-command.test.js test/dotns-register-fee.test.js test/deploy-label-ordering.test.js test/benign-teardown.test.js test/verify-baked-dsn.test.js test/test-release-retry-wrapper.js && npm run test:vendor",
|
|
54
54
|
"test:e2e": "npm run build && node --test test/e2e.test.js",
|
|
55
55
|
"test:e2e:smoke": "bash scripts/e2e-pass.sh smoke",
|
|
56
56
|
"test:e2e:pr": "bash scripts/e2e-pass.sh pr",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"@polkadot-labs/hdkd-helpers": "^0.0.30",
|
|
73
73
|
"@polkadot/keyring": "^14.0.3",
|
|
74
74
|
"@polkadot/util-crypto": "^14.0.3",
|
|
75
|
-
"@sentry/node": "^
|
|
75
|
+
"@sentry/node": "^10.69.0",
|
|
76
76
|
"ipfs-unixfs": "^11.2.0",
|
|
77
77
|
"ipfs-unixfs-importer": "^16.1.4",
|
|
78
78
|
"jiti": "^2.4.2",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"patch-package": "^8.0.1",
|
|
81
81
|
"polkadot-api": "^2.1.3",
|
|
82
82
|
"verifiablejs": "1.3.0-beta.4",
|
|
83
|
-
"viem": "^2.
|
|
84
|
-
"ws": "^8.
|
|
83
|
+
"viem": "^2.55.10",
|
|
84
|
+
"ws": "^8.21.0"
|
|
85
85
|
},
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@types/node": "^22.0.0",
|
|
@@ -97,5 +97,6 @@
|
|
|
97
97
|
"engines": {
|
|
98
98
|
"node": ">=22"
|
|
99
99
|
},
|
|
100
|
+
"packageManager": "npm@11.17.0",
|
|
100
101
|
"license": "GPL-3.0-or-later"
|
|
101
102
|
}
|
|
@@ -41,6 +41,13 @@ const FLAKE_PATTERNS = [
|
|
|
41
41
|
// (#1131). A fresh CI retry lands in a recovered window. Not retried before, so a
|
|
42
42
|
// single bad window failed the whole scenario (shifting failure sets across reruns).
|
|
43
43
|
"ReviveApi.address timed out",
|
|
44
|
+
// IPFS gateway readback timeout in S-INC-ROUNDTRIP. Emitted ONLY by
|
|
45
|
+
// fetchManifestRoundtrip when the gateway cannot return a valid manifest
|
|
46
|
+
// (network / HTTP failure) — the deploy itself has already finalised on-chain
|
|
47
|
+
// and is p2p-retrievable. A genuine manifest CONTENT mismatch is a separate
|
|
48
|
+
// assertion that never emits this string, so retrying cannot mask a real
|
|
49
|
+
// integrity regression.
|
|
50
|
+
"roundtrip budget exhausted",
|
|
44
51
|
];
|
|
45
52
|
|
|
46
53
|
// output: combined stdout+stderr text from the child. Any flake pattern
|