@kungfu-tech/buildchain 2.12.5-alpha.2 → 2.12.5-alpha.3
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/site/buildchain-contract.json +4 -4
- package/dist/site/buildchain-site.json +4 -4
- package/dist/site/kfd-upstream-aggregate.json +1 -1
- package/dist/site/publication-registry.json +4 -4
- package/dist/site/site-manifest.json +4 -4
- package/package.json +1 -1
- package/scripts/generate-channel-build-workflow.mjs +22 -13
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"product": {
|
|
5
5
|
"name": "Buildchain",
|
|
6
6
|
"package": "@kungfu-tech/buildchain",
|
|
7
|
-
"version": "2.12.5-alpha.
|
|
7
|
+
"version": "2.12.5-alpha.3",
|
|
8
8
|
"repository": "https://github.com/kungfu-systems/buildchain"
|
|
9
9
|
},
|
|
10
10
|
"majorLine": "v2",
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
"alpha and stable channel selections use separate consumer contract locks by default"
|
|
90
90
|
],
|
|
91
91
|
"breakingDigest": "sha256:c4597dfa89e1a58f1023905092b849644f5c080abf150aeba9c7e1cd5ed43962",
|
|
92
|
-
"auditDigest": "sha256:
|
|
92
|
+
"auditDigest": "sha256:13d6d3cfaadf68c32c38b4014956f6deab8c8c07e6d9a63ff5acf0d3d9cb04aa"
|
|
93
93
|
},
|
|
94
94
|
{
|
|
95
95
|
"contractVersion": 1,
|
|
@@ -1374,7 +1374,7 @@
|
|
|
1374
1374
|
"missing receipts are non-qualifying and must not be represented as a successful controller run"
|
|
1375
1375
|
],
|
|
1376
1376
|
"breakingDigest": "sha256:d40dd05d7e07473d4b2dc1b62fbb0ed6f06449b4d3a7c44a2e8014313e3c0273",
|
|
1377
|
-
"auditDigest": "sha256:
|
|
1377
|
+
"auditDigest": "sha256:13d6d3cfaadf68c32c38b4014956f6deab8c8c07e6d9a63ff5acf0d3d9cb04aa"
|
|
1378
1378
|
},
|
|
1379
1379
|
{
|
|
1380
1380
|
"contractVersion": 1,
|
|
@@ -2549,5 +2549,5 @@
|
|
|
2549
2549
|
}
|
|
2550
2550
|
],
|
|
2551
2551
|
"compatibilityDigest": "sha256:2520207c5d6d6a737dd32251a42be9c5299644d9aebf690a8402ead1724ed495",
|
|
2552
|
-
"contractDigest": "sha256:
|
|
2552
|
+
"contractDigest": "sha256:2c9a5c8a22c208b3d58a99079831f0177d1f7c2fdecf9036257212fc91c6a7fa"
|
|
2553
2553
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-site-bundle",
|
|
4
|
-
"generatedAt": "2026-07-14T02:
|
|
5
|
-
"publishedAt": "2026-07-14T02:
|
|
4
|
+
"generatedAt": "2026-07-14T02:25:54.973Z",
|
|
5
|
+
"publishedAt": "2026-07-14T02:25:54.973Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "fe6b044ccd9e27ee6d0c6c72fc8e25920303171b",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"package": {
|
|
39
39
|
"name": "@kungfu-tech/buildchain",
|
|
40
|
-
"version": "2.12.5-alpha.
|
|
40
|
+
"version": "2.12.5-alpha.3",
|
|
41
41
|
"versionSource": "package.json#version"
|
|
42
42
|
},
|
|
43
43
|
"source": {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-publication-release-registry",
|
|
4
|
-
"generatedAt": "2026-07-14T02:
|
|
5
|
-
"publishedAt": "2026-07-14T02:
|
|
4
|
+
"generatedAt": "2026-07-14T02:25:54.973Z",
|
|
5
|
+
"publishedAt": "2026-07-14T02:25:54.973Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "fe6b044ccd9e27ee6d0c6c72fc8e25920303171b",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
},
|
|
33
33
|
"package": {
|
|
34
34
|
"name": "@kungfu-tech/buildchain",
|
|
35
|
-
"version": "2.12.5-alpha.
|
|
35
|
+
"version": "2.12.5-alpha.3",
|
|
36
36
|
"versionSource": "package.json#version"
|
|
37
37
|
},
|
|
38
38
|
"sourceKind": "package-site-bundle",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"contract": "kungfu-buildchain-site-manifest",
|
|
4
|
-
"generatedAt": "2026-07-14T02:
|
|
5
|
-
"publishedAt": "2026-07-14T02:
|
|
4
|
+
"generatedAt": "2026-07-14T02:25:54.973Z",
|
|
5
|
+
"publishedAt": "2026-07-14T02:25:54.973Z",
|
|
6
6
|
"reproducible": true,
|
|
7
7
|
"timestampPolicy": "ci-injected",
|
|
8
8
|
"deterministicInputs": [
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"declared Buildchain surface manifest contract"
|
|
20
20
|
],
|
|
21
21
|
"sourceDateEpoch": "0",
|
|
22
|
-
"sourceRevision": "
|
|
22
|
+
"sourceRevision": "fe6b044ccd9e27ee6d0c6c72fc8e25920303171b",
|
|
23
23
|
"timestampPolicyDetails": {
|
|
24
24
|
"contract": "kungfu-buildchain-surface-timestamp-policy",
|
|
25
25
|
"timestampFields": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"package": {
|
|
39
39
|
"name": "@kungfu-tech/buildchain",
|
|
40
|
-
"version": "2.12.5-alpha.
|
|
40
|
+
"version": "2.12.5-alpha.3",
|
|
41
41
|
"versionSource": "package.json#version"
|
|
42
42
|
},
|
|
43
43
|
"entrypoint": "buildchain-site.json",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kungfu-tech/buildchain",
|
|
3
|
-
"version": "2.12.5-alpha.
|
|
3
|
+
"version": "2.12.5-alpha.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Buildchain Release Passport, release governance, CLI toolkit, and site facts.",
|
|
6
6
|
"repository": "https://github.com/kungfu-systems/buildchain",
|
|
@@ -92,20 +92,20 @@ function routerControllerPlanJob() {
|
|
|
92
92
|
controller-plan-digest: \${{ steps.plan.outputs.controller-plan-digest }}
|
|
93
93
|
runtime-sha: \${{ steps.identities.outputs.runtime-sha }}
|
|
94
94
|
steps:
|
|
95
|
-
- name: Checkout
|
|
95
|
+
- name: Checkout Buildchain controller workflow shell
|
|
96
96
|
uses: actions/checkout@v7.0.0
|
|
97
97
|
with:
|
|
98
|
-
repository: \${{
|
|
99
|
-
ref: \${{ needs.resolve-channel.outputs.
|
|
100
|
-
path: .buildchain/runtime
|
|
98
|
+
repository: \${{ needs.resolve-channel.outputs.router-repository }}
|
|
99
|
+
ref: \${{ needs.resolve-channel.outputs.router-ref }}
|
|
100
|
+
path: .buildchain/controller-runtime
|
|
101
101
|
persist-credentials: false
|
|
102
102
|
|
|
103
|
-
- name: Resolve
|
|
103
|
+
- name: Resolve controller workflow shell identity
|
|
104
104
|
id: identities
|
|
105
105
|
shell: bash
|
|
106
106
|
run: |
|
|
107
|
-
runtime_sha="$(git -C .buildchain/runtime rev-parse HEAD)"
|
|
108
|
-
contract_digest="$(node -e 'const fs=require("fs"); const value=JSON.parse(fs.readFileSync(".buildchain/runtime/dist/site/buildchain-contract.json","utf8")); process.stdout.write(value.contractDigest)')"
|
|
107
|
+
runtime_sha="$(git -C .buildchain/controller-runtime rev-parse HEAD)"
|
|
108
|
+
contract_digest="$(node -e 'const fs=require("fs"); const value=JSON.parse(fs.readFileSync(".buildchain/controller-runtime/dist/site/buildchain-contract.json","utf8")); process.stdout.write(value.contractDigest)')"
|
|
109
109
|
{
|
|
110
110
|
echo "runtime-sha=\${runtime_sha}"
|
|
111
111
|
echo "contract-digest=\${contract_digest}"
|
|
@@ -113,12 +113,12 @@ function routerControllerPlanJob() {
|
|
|
113
113
|
|
|
114
114
|
- name: Create channel router controller plan
|
|
115
115
|
id: plan
|
|
116
|
-
run: node .buildchain/runtime/scripts/controller-evidence.mjs --mode plan
|
|
116
|
+
run: node .buildchain/controller-runtime/scripts/controller-evidence.mjs --mode plan
|
|
117
117
|
env:
|
|
118
118
|
BUILDCHAIN_CONTROLLER_ID: build-channel-router
|
|
119
119
|
BUILDCHAIN_CONTROLLER_SOURCE_REPOSITORY: \${{ github.repository }}
|
|
120
120
|
BUILDCHAIN_CONTROLLER_SOURCE_SHA: \${{ github.sha }}
|
|
121
|
-
BUILDCHAIN_CONTROLLER_RUNTIME_REF: \${{ needs.resolve-channel.outputs.
|
|
121
|
+
BUILDCHAIN_CONTROLLER_RUNTIME_REF: \${{ needs.resolve-channel.outputs.router-ref }}
|
|
122
122
|
BUILDCHAIN_CONTROLLER_RUNTIME_SHA: \${{ steps.identities.outputs.runtime-sha }}
|
|
123
123
|
BUILDCHAIN_CONTROLLER_CONTRACT_DIGEST: \${{ steps.identities.outputs.contract-digest }}
|
|
124
124
|
BUILDCHAIN_CONTROLLER_INPUTS_JSON: \${{ toJSON(inputs) }}
|
|
@@ -153,12 +153,12 @@ function routerControllerReceiptJob() {
|
|
|
153
153
|
controller-receipt-digest: \${{ steps.receipt.outputs.controller-receipt-digest }}
|
|
154
154
|
controller-receipt-status: \${{ steps.receipt.outputs.controller-receipt-status }}
|
|
155
155
|
steps:
|
|
156
|
-
- name: Checkout
|
|
156
|
+
- name: Checkout Buildchain controller workflow shell
|
|
157
157
|
uses: actions/checkout@v7.0.0
|
|
158
158
|
with:
|
|
159
|
-
repository: \${{
|
|
159
|
+
repository: \${{ needs.resolve-channel.outputs.router-repository }}
|
|
160
160
|
ref: \${{ needs.controller-plan.outputs.runtime-sha }}
|
|
161
|
-
path: .buildchain/runtime
|
|
161
|
+
path: .buildchain/controller-runtime
|
|
162
162
|
persist-credentials: false
|
|
163
163
|
|
|
164
164
|
- name: Download channel router controller plan
|
|
@@ -169,7 +169,7 @@ function routerControllerReceiptJob() {
|
|
|
169
169
|
|
|
170
170
|
- name: Create channel router controller receipt
|
|
171
171
|
id: receipt
|
|
172
|
-
run: node .buildchain/runtime/scripts/controller-evidence.mjs --mode receipt
|
|
172
|
+
run: node .buildchain/controller-runtime/scripts/controller-evidence.mjs --mode receipt
|
|
173
173
|
env:
|
|
174
174
|
BUILDCHAIN_CONTROLLER_PLAN_PATH: .buildchain/controller/plan.json
|
|
175
175
|
BUILDCHAIN_CONTROLLER_STAGES_JSON: >-
|
|
@@ -214,6 +214,15 @@ function generateChannelBuildWorkflowBase(source) {
|
|
|
214
214
|
|
|
215
215
|
export function generateChannelBuildWorkflow(source) {
|
|
216
216
|
const generated = generateChannelBuildWorkflowBase(source)
|
|
217
|
+
.replace(
|
|
218
|
+
" contract-lock-path: ${{ steps.lock.outputs.path }}\n",
|
|
219
|
+
[
|
|
220
|
+
" contract-lock-path: ${{ steps.lock.outputs.path }}",
|
|
221
|
+
" router-repository: ${{ steps.router.outputs.repository }}",
|
|
222
|
+
" router-ref: ${{ steps.router.outputs.ref }}",
|
|
223
|
+
"",
|
|
224
|
+
].join("\n"),
|
|
225
|
+
)
|
|
217
226
|
.replace("\n build:\n", `\n${routerControllerPlanJob()}\n\n build:\n`)
|
|
218
227
|
.replace(
|
|
219
228
|
" needs: resolve-channel\n uses: ./.github/workflows/.build.yml",
|