From 7a10137d76075dae5e1bcbc08ff47a40c3068ad6 Mon Sep 17 00:00:00 2001 From: caelum0x Date: Wed, 30 Sep 2026 10:00:29 +0300 Subject: [PATCH] chore(console,insights-edge): SITES KV namespace id (RAILYARD_SITES) Created with wrangler kv namespace create RAILYARD_SITES on 2026-09-30; the console writes site entries and the edge collector reads them (P1 step 2.4). Co-Authored-By: Claude Opus 5.5 --- apps/console/wrangler.jsonc | 4 ++-- apps/insights-edge/wrangler.jsonc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/console/wrangler.jsonc b/apps/console/wrangler.jsonc index aeba9004..29a59e7e 100644 --- a/apps/console/wrangler.jsonc +++ b/apps/console/wrangler.jsonc @@ -16,8 +16,8 @@ // Until the Railyard domain and Dodo brand exist (owner items 11 and 18). "routes": [{ "pattern": "railyard.ereboslab.com", "custom_domain": true }], // The collector's site entries (RYP-E1, PY1.3): the same namespace the edge - // collector reads. The owner puts its id here (`wrangler kv namespace create SITES`). - "kv_namespaces": [{ "binding": "SITES", "id": "REPLACE_WITH_SITES_NAMESPACE_ID" }], + // collector reads: namespace RAILYARD_SITES, created 2026-09-30. + "kv_namespaces": [{ "binding": "SITES", "id": "323121abfdc64ff6ab90927620d3dbb2" }], "vars": { "RAILYARD_CONSOLE_URL": "https://railyard.ereboslab.com", // Insights tenant API (the box's tunnel route to the fork's /api/v1); token is a secret. diff --git a/apps/insights-edge/wrangler.jsonc b/apps/insights-edge/wrangler.jsonc index 417a4b20..3bc83c66 100644 --- a/apps/insights-edge/wrangler.jsonc +++ b/apps/insights-edge/wrangler.jsonc @@ -9,8 +9,8 @@ "routes": [{ "pattern": "insights.railyard.ereboslab.com", "custom_domain": true }], "durable_objects": { "bindings": [{ "name": "ORG_COLLECTOR", "class_name": "OrgCollector" }] }, "migrations": [{ "tag": "v1", "new_sqlite_classes": ["OrgCollector"] }], - // The owner creates the namespace (`wrangler kv namespace create SITES`) and puts its id here. - "kv_namespaces": [{ "binding": "SITES", "id": "REPLACE_WITH_SITES_NAMESPACE_ID" }], + // Namespace RAILYARD_SITES, created 2026-09-30 (`wrangler kv namespace create RAILYARD_SITES`). + "kv_namespaces": [{ "binding": "SITES", "id": "323121abfdc64ff6ab90927620d3dbb2" }], "vars": { // Empty until RYP-D2 is deployed at the Wave E gate: events are counted and capped but not forwarded. "INGEST_URL": "",