staging 1.4.17:執行紀錄不再吃 KV 額度(Evan 事故止血)

來源 matrix/arcrun main(60688c3 KV 搬離 + 7ba7855 credential 走 API)。
打包後 grep 複驗(不假設):
  ANALYTICS_KV.put 殘留 = 0   ← 舊行為清乾淨
  execution_log       = 2 處   ← 新行為在 bundle 裡

版本處理:staging manifest 原本沒有 release 欄位,每次重打都從 1.4.0 起算
=> 版本會倒退、安裝器判成不用更新。先對齊 prod 的 1.4.16 再重打 => bump 成 1.4.17。
(這是 stage/prod 又一個漂移,已記入 wiki。)

僅 staging,不影響 prod。
This commit is contained in:
2026-08-07 18:46:14 +08:00
parent 46651b3348
commit ea9690692a
7 changed files with 24790 additions and 158 deletions
Binary file not shown.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+187 -158
View File
@@ -1,8 +1,148 @@
{
"schema": "arcrun-rag-bundles/v1",
"built": "2026-07-31",
"schema": 1,
"built": "2026-08-07",
"source": "Arcrun@0d49989",
"core": [
{
"name": "arcrun-cypher-executor",
"canonical": null,
"main_module": "worker.mjs",
"main_file": "arcrun-cypher-executor/worker.mjs",
"js_bytes": 547200,
"modules": [],
"compat_date": "2025-02-19",
"compat_flags": [
"nodejs_compat",
"global_fetch_strictly_public"
],
"requires": {
"kv": [
"EXEC_CONTEXT",
"WEBHOOKS",
"CREDENTIALS_KV",
"ANALYTICS_KV",
"RECIPES",
"USERS_KV",
"SESSIONS_KV"
],
"d1": [
{
"binding": "CREDENTIALS_DB",
"database_name": "arcrun-kbdb"
}
],
"vectorize": 0,
"ai": true,
"vars": {
"ENVIRONMENT": "production",
"CF_ACCOUNT_ID": "",
"WORKER_SUBDOMAIN": "uncle6-me",
"KBDB_BASE_URL": "https://arcrun-kbdb.uncle6-me.workers.dev",
"CONSOLE_TENANT": "leo",
"PORTAL_SESSION_TTL": "604800",
"PORTAL_SHOW_WORKFLOWS": "admin",
"GITEA_BASE_URL": "https://git.uncle6.me",
"GITEA_SPRINT_REPO": "Leo/InkStoneCo",
"GITEA_SPRINT_DIR": "system-dev/docs/3-specs/autonomy-dispatch"
}
},
"stripped": {
"services": 13
},
"warnings": [],
"sha256": "c0c98d24e5cc4edf750befe1e22bc21b89e94fafd301249c6061b34a6bd4d60c",
"bytes": 547200
},
{
"name": "arcrun-kbdb",
"canonical": null,
"main_module": "worker.mjs",
"main_file": "arcrun-kbdb/worker.mjs",
"js_bytes": 115858,
"modules": [],
"compat_date": "2025-02-19",
"compat_flags": [
"nodejs_compat"
],
"requires": {
"kv": [],
"d1": [
{
"binding": "DB",
"database_name": "arcrun-kbdb"
}
],
"vectorize": 0,
"ai": false,
"vars": {
"ENVIRONMENT": "production"
}
},
"warnings": [],
"sha256": "c0fb948c2b207898ca64b16d6c934ae2601c5a6f3104320558ca69d35e422cb1",
"bytes": 115858
},
{
"name": "arcrun-http-request",
"canonical": "http_request",
"main_module": "worker.mjs",
"main_file": "arcrun-http-request/worker.mjs",
"js_bytes": 80519,
"modules": [
{
"name": "component.wasm",
"type": "application/wasm",
"file": "arcrun-http-request/component.wasm",
"sha256": "cc15cc785703e7bbb8dbff2d38dc84a4ac24e2f44316182730abae0f170ef133"
}
],
"compat_date": "2025-02-19",
"compat_flags": [
"nodejs_compat",
"global_fetch_strictly_public"
],
"requires": {
"kv": [],
"d1": [],
"vectorize": 0,
"ai": false,
"vars": {
"COMPONENT_ID": "http_request"
}
},
"warnings": [],
"sha256": "8a175938bf1c98b8dce489ff3085a13f512a5bf18edd0d148233177ce8a20e21",
"bytes": 80519
},
{
"name": "arcrun-code",
"canonical": "code",
"main_module": "worker.mjs",
"main_file": "arcrun-code/worker.mjs",
"js_bytes": 154438,
"modules": [
{
"name": "quickjs.wasm",
"type": "application/wasm",
"file": "arcrun-code/quickjs.wasm",
"sha256": "105c3bed22d457e43e3d1c3c1c6959fda62a8fe06f0fc8a985303c3a2be72232"
}
],
"compat_date": "2025-02-19",
"compat_flags": [],
"requires": {
"kv": [],
"d1": [],
"vectorize": 0,
"ai": false,
"vars": {
"COMPONENT_ID": "code"
}
},
"warnings": [],
"sha256": "761acc054b6f01bc2c37dce3b5923cd40d4ac8ac986bc0452f36e16463299a74",
"bytes": 154438
},
{
"name": "arcrun-array-ops",
"tier": 1,
@@ -26,7 +166,8 @@
"vars": {
"COMPONENT_ID": "array_ops"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-auth-oauth2",
@@ -56,7 +197,8 @@
"vars": {
"COMPONENT_ID": "auth_oauth2"
}
}
},
"bytes": 106357
},
{
"name": "arcrun-auth-service-account",
@@ -86,7 +228,8 @@
"vars": {
"COMPONENT_ID": "auth_service_account"
}
}
},
"bytes": 108254
},
{
"name": "arcrun-auth-static-key",
@@ -116,7 +259,8 @@
"vars": {
"COMPONENT_ID": "auth_static_key"
}
}
},
"bytes": 107843
},
{
"name": "arcrun-cron",
@@ -143,7 +287,8 @@
"vars": {
"COMPONENT_ID": "cron"
}
}
},
"bytes": 105381
},
{
"name": "arcrun-date-ops",
@@ -168,7 +313,8 @@
"vars": {
"COMPONENT_ID": "date_ops"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-filter",
@@ -193,7 +339,8 @@
"vars": {
"COMPONENT_ID": "filter"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-foreach-control",
@@ -218,35 +365,8 @@
"vars": {
"COMPONENT_ID": "foreach_control"
}
}
},
{
"name": "arcrun-http-request",
"tier": 1,
"main_file": "tier1/http_request/index.js",
"main_module": "index.js",
"sha256": "60062aa63d14c866ef992ae43fe666df420f032362b5f7f9874ce63c7efa5f92",
"compat_date": "2025-02-19",
"compat_flags": [
"nodejs_compat",
"global_fetch_strictly_public"
],
"modules": [
{
"name": "dece047f15695e86a2f04ca9d75ec85829146a39-component.wasm",
"file": "tier1/http_request/dece047f15695e86a2f04ca9d75ec85829146a39-component.wasm",
"type": "application/wasm",
"sha256": "cc15cc785703e7bbb8dbff2d38dc84a4ac24e2f44316182730abae0f170ef133"
}
],
"requires": {
"kv": [],
"d1": [],
"ai": false,
"vars": {
"COMPONENT_ID": "http_request"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-if-control",
@@ -271,7 +391,8 @@
"vars": {
"COMPONENT_ID": "if_control"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-merge",
@@ -296,7 +417,8 @@
"vars": {
"COMPONENT_ID": "merge"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-number-ops",
@@ -321,7 +443,8 @@
"vars": {
"COMPONENT_ID": "number_ops"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-set",
@@ -346,7 +469,8 @@
"vars": {
"COMPONENT_ID": "set"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-string-ops",
@@ -371,7 +495,8 @@
"vars": {
"COMPONENT_ID": "string_ops"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-switch",
@@ -396,7 +521,8 @@
"vars": {
"COMPONENT_ID": "switch"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-try-catch",
@@ -421,7 +547,8 @@
"vars": {
"COMPONENT_ID": "try_catch"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-validate-json",
@@ -446,7 +573,8 @@
"vars": {
"COMPONENT_ID": "validate_json"
}
}
},
"bytes": 71642
},
{
"name": "arcrun-wait",
@@ -471,114 +599,8 @@
"vars": {
"COMPONENT_ID": "wait"
}
}
},
{
"name": "arcrun-code",
"tier": 1,
"main_file": "tier1/code/index.js",
"main_module": "index.js",
"sha256": "9b7323eb25fb7279f97f139d044a1abd36b66a2f693383c675e8d07b4f8cb91f",
"compat_date": "2025-02-19",
"compat_flags": [],
"modules": [
{
"name": "02028007bab4b877246b6f1a77434d1ce18122e5-quickjs.wasm",
"file": "tier1/code/02028007bab4b877246b6f1a77434d1ce18122e5-quickjs.wasm",
"type": "application/wasm",
"sha256": "105c3bed22d457e43e3d1c3c1c6959fda62a8fe06f0fc8a985303c3a2be72232"
}
],
"requires": {
"kv": [],
"d1": [],
"ai": false,
"vars": {
"COMPONENT_ID": "code"
}
}
},
{
"name": "arcrun-cypher-executor",
"tier": 2,
"main_file": "tier2/cypher/index.js",
"main_module": "index.js",
"sha256": "6e330271867978f85557bcb3863fb92e6719babe4a6c4c59bb6245dab6020efb",
"compat_date": "2025-02-19",
"compat_flags": [
"nodejs_compat",
"global_fetch_strictly_public"
],
"modules": [],
"requires": {
"kv": [
"EXEC_CONTEXT",
"WEBHOOKS",
"CREDENTIALS_KV",
"ANALYTICS_KV",
"RECIPES",
"USERS_KV",
"SESSIONS_KV"
],
"d1": [
{
"binding": "CREDENTIALS_DB"
}
],
"ai": true,
"vars": {
"ENVIRONMENT": "production",
"CF_ACCOUNT_ID": "",
"WORKER_SUBDOMAIN": "uncle6-me",
"KBDB_BASE_URL": "https://arcrun-kbdb.uncle6-me.workers.dev",
"CONSOLE_TENANT": "leo",
"PORTAL_SESSION_TTL": "604800",
"PORTAL_SHOW_WORKFLOWS": "admin",
"GITEA_BASE_URL": "https://git.uncle6.me",
"GITEA_SPRINT_REPO": "Leo/InkStoneCo",
"GITEA_SPRINT_DIR": "system-dev/docs/3-specs/autonomy-dispatch"
}
},
"stripped_services": [
"SVC_IF_CONTROL",
"SVC_SWITCH",
"SVC_FOREACH_CONTROL",
"SVC_FILTER",
"SVC_MERGE",
"SVC_TRY_CATCH",
"SVC_WAIT",
"SVC_SET",
"SVC_ARRAY_OPS",
"SVC_STRING_OPS",
"SVC_NUMBER_OPS",
"SVC_DATE_OPS",
"SVC_VALIDATE_JSON"
]
},
{
"name": "arcrun-kbdb",
"tier": 2,
"main_file": "tier2/kbdb/index.js",
"main_module": "index.js",
"sha256": "9e591e684232fbbf86a4949fa9276a79278e1f01b73ae3fbf264832426543107",
"compat_date": "2025-02-19",
"compat_flags": [
"nodejs_compat"
],
"modules": [],
"requires": {
"kv": [],
"d1": [
{
"binding": "DB"
}
],
"ai": false,
"vars": {
"ENVIRONMENT": "production"
}
},
"stripped_services": []
"bytes": 71642
},
{
"name": "arcrun-registry",
@@ -602,7 +624,8 @@
"ENVIRONMENT": "production"
}
},
"stripped_services": []
"stripped_services": [],
"bytes": 250971
},
{
"name": "arcrun-mcp",
@@ -627,7 +650,8 @@
"COMPONENT_REGISTRY",
"CYPHER_EXECUTOR",
"KBDB"
]
],
"bytes": 1304459
},
{
"name": "arcrun-rag-ui",
@@ -643,7 +667,8 @@
"d1": [],
"ai": false,
"vars": {}
}
},
"bytes": 250141
}
],
"daemon": {
@@ -658,5 +683,9 @@
"file": "daemon/ArcrunRAG-win-unsigned.zip",
"sha256": "1191af74b3c841536f08625d2449fa4add3e829c93d5cebc391da59e6f7e05a6"
}
}
}
},
"release": "1.4.17",
"built_for": "oauth-installer-lazy-load",
"notes": [],
"fingerprint": "a607001ccafa9363fc7aba400820b7bd9976d16ea25053d91be9909760b90a44"
}