Skip to content

An open-source, faster Devin alternative

TypeScript

build: pin prompt Flue builder snapshot

Igor Zalutski08eb201c9650
diff --git a/deploy/flue-builder/README.md b/deploy/flue-builder/README.md
index 4e68975c..a5a7d694 100644
--- a/deploy/flue-builder/README.md
+++ b/deploy/flue-builder/README.md
@@ -13,7 +13,7 @@ changes to lower sandbox-platform layers.
`coordinate.json` is the reviewed logical coordinate. It pins:
-- snapshot name `flue-build-node22-19-0-oc-c39b315-r3` (never reuse it for a
+- snapshot name `flue-build-node22-19-0-oc-505b49b-r4` (never reuse it for a
different recipe or checkpoint);
- Ubuntu 22.04 / x86-64 platform assertion;
- Node 22.19.0 and its upstream archive digest;
@@ -80,8 +80,8 @@ export FLUE_BUILD_SNAPSHOT_ALLOW_CREATE=1
export FLUE_BUILD_SNAPSHOT_ALLOW_PRODUCTION=1
python3 deploy/flue-builder/snapshot.py create \
- --confirm-name flue-build-node22-19-0-oc-c39b315-r3 \
- --receipt /secure/operator-state/flue-build-node22-19-0-oc-c39b315-r3.json
+ --confirm-name flue-build-node22-19-0-oc-505b49b-r4 \
+ --receipt /secure/operator-state/flue-build-node22-19-0-oc-505b49b-r4.json
```
The command is idempotent only when an existing snapshot has the exact pinned
@@ -93,12 +93,12 @@ Store the receipt in non-secret release metadata. Do not commit environment
files or API keys. Configure the build worker from the coordinate and receipt:
```text
-FLUE_BUILD_SANDBOX_SNAPSHOT=flue-build-node22-19-0-oc-c39b315-r3
+FLUE_BUILD_SANDBOX_SNAPSHOT=flue-build-node22-19-0-oc-505b49b-r4
FLUE_BUILD_SANDBOX_CHECKPOINT_ID=<receipt checkpointId>
FLUE_BUILD_NODE_VERSION=22.19.0
FLUE_BUILD_NPM_VERSION=10.9.3
-FLUE_BUILD_OC_VERSION=oc@c39b31560cb78e0d5708a9eda4cfb30ec372eed9
-FLUE_BUILD_OC_BINARY_SHA256=7f7286095aefe78c3027efb79465442070370c6dcf3cda67c9b1315949a42bc1
+FLUE_BUILD_OC_VERSION=oc@505b49b384a24de023726884512686a1448d4ead
+FLUE_BUILD_OC_BINARY_SHA256=aa7fc47efc90ba8048cdca694e51a38de55d78c32c9da8a7e5e54ab4fa46c4f9
```
Worker readiness must compare the live snapshot manifest and checkpoint ID to
@@ -126,12 +126,12 @@ and prints only the sandbox ID for operator cleanup.
```bash
export OPENCOMPUTER_API_URL='https://app.opencomputer.dev'
export OPENCOMPUTER_API_KEY='...'
-export FLUE_BUILD_SANDBOX_SNAPSHOT='flue-build-node22-19-0-oc-c39b315-r3'
+export FLUE_BUILD_SANDBOX_SNAPSHOT='flue-build-node22-19-0-oc-505b49b-r4'
export FLUE_BUILD_SANDBOX_CHECKPOINT_ID='<receipt checkpointId>'
export FLUE_BUILD_NODE_VERSION='22.19.0'
export FLUE_BUILD_NPM_VERSION='10.9.3'
-export FLUE_BUILD_OC_VERSION='oc@c39b31560cb78e0d5708a9eda4cfb30ec372eed9'
-export FLUE_BUILD_OC_BINARY_SHA256='7f7286095aefe78c3027efb79465442070370c6dcf3cda67c9b1315949a42bc1'
+export FLUE_BUILD_OC_VERSION='oc@505b49b384a24de023726884512686a1448d4ead'
+export FLUE_BUILD_OC_BINARY_SHA256='aa7fc47efc90ba8048cdca694e51a38de55d78c32c9da8a7e5e54ab4fa46c4f9'
export FLUE_BUILD_PROBE_ALLOW_PRODUCTION=1
python3 ci/flue-builder-substrate-probe.py --run
diff --git a/deploy/flue-builder/coordinate.json b/deploy/flue-builder/coordinate.json
index dbf3032f..48fa01aa 100644
--- a/deploy/flue-builder/coordinate.json
+++ b/deploy/flue-builder/coordinate.json
@@ -1,20 +1,20 @@
{
"schemaVersion": 1,
"snapshot": {
- "name": "flue-build-node22-19-0-oc-c39b315-r3",
+ "name": "flue-build-node22-19-0-oc-505b49b-r4",
"builderMemoryMB": 4096,
"runtimeMemoryMB": 1024
},
"recipe": {
"installer": "install-snapshot.sh",
- "installerSha256": "9295fa5c9ac50f090c37652eceebe47f966e46c11993a3c97311329e39537e45",
+ "installerSha256": "6cd532408c79e4d13cf8bea6090106a3fe9ce651d9f1908122fe9544d5c7c911",
"imageTemplate": "image.json",
"imageTemplateSha256": "d1fc4f3cd27fd1248327f52d9d768a99c9a922d4f0fabf8bf0d6913e2d1e7cd2",
- "materializedManifestSha256": "364643db99925025513d26674a1ee75e12f621686ff2d15d56aa5dc34020b773"
+ "materializedManifestSha256": "b6b430e26b9f8e240d99b3e17f053392eec2978c2b9b4ad5d504a2388ab0dda5"
},
"attestation": {
"schemaVersion": 1,
- "snapshotName": "flue-build-node22-19-0-oc-c39b315-r3",
+ "snapshotName": "flue-build-node22-19-0-oc-505b49b-r4",
"baseImage": "base",
"platform": {
"osId": "ubuntu",
@@ -29,10 +29,10 @@
"version": "10.9.3"
},
"oc": {
- "version": "oc@c39b31560cb78e0d5708a9eda4cfb30ec372eed9",
- "sourceCommit": "c39b31560cb78e0d5708a9eda4cfb30ec372eed9",
- "sourceArchiveSha256": "5aaa929e33c54474bfca774c78d6f422168cb0bf24f4ea445b3b0c1bd2a2840e",
- "binarySha256": "7f7286095aefe78c3027efb79465442070370c6dcf3cda67c9b1315949a42bc1"
+ "version": "oc@505b49b384a24de023726884512686a1448d4ead",
+ "sourceCommit": "505b49b384a24de023726884512686a1448d4ead",
+ "sourceArchiveSha256": "525b70f931ab2a71138350431bfcf23a820831be94f14efbd3e5a186942f6356",
+ "binarySha256": "aa7fc47efc90ba8048cdca694e51a38de55d78c32c9da8a7e5e54ab4fa46c4f9"
},
"buildToolchain": {
"goVersion": "1.25.0",
diff --git a/deploy/flue-builder/install-snapshot.sh b/deploy/flue-builder/install-snapshot.sh
index 699becb3..fe9034ab 100755
--- a/deploy/flue-builder/install-snapshot.sh
+++ b/deploy/flue-builder/install-snapshot.sh
@@ -5,7 +5,7 @@ set -euo pipefail
# downloaded input immutable and verified: the resulting checkpoint is trusted
# to execute arbitrary repository lifecycle code without receiving credentials.
-SNAPSHOT_NAME="flue-build-node22-19-0-oc-c39b315-r3"
+SNAPSHOT_NAME="flue-build-node22-19-0-oc-505b49b-r4"
BASE_IMAGE="base"
OS_ID="ubuntu"
OS_VERSION_ID="22.04"
@@ -20,10 +20,10 @@ GO_VERSION="1.25.0"
GO_ARCHIVE_SHA256="2852af0cb20a13139b3448992e69b868e50ed0f8a1e5940ee1de9e19a123b613"
GO_URL="https://go.dev/dl/go${GO_VERSION}.linux-amd64.tar.gz"
-OC_SOURCE_COMMIT="c39b31560cb78e0d5708a9eda4cfb30ec372eed9"
-OC_SOURCE_ARCHIVE_SHA256="5aaa929e33c54474bfca774c78d6f422168cb0bf24f4ea445b3b0c1bd2a2840e"
+OC_SOURCE_COMMIT="505b49b384a24de023726884512686a1448d4ead"
+OC_SOURCE_ARCHIVE_SHA256="525b70f931ab2a71138350431bfcf23a820831be94f14efbd3e5a186942f6356"
OC_SOURCE_URL="https://github.com/diggerhq/opencomputer/archive/${OC_SOURCE_COMMIT}.tar.gz"
-OC_BINARY_SHA256="7f7286095aefe78c3027efb79465442070370c6dcf3cda67c9b1315949a42bc1"
+OC_BINARY_SHA256="aa7fc47efc90ba8048cdca694e51a38de55d78c32c9da8a7e5e54ab4fa46c4f9"
OC_VERSION="oc@${OC_SOURCE_COMMIT}"
NODE_ROOT="/opt/opencomputer/node-v${NODE_VERSION}"