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 <noreply@anthropic.com>
This commit is contained in:
caelum0x 2026-09-30 10:00:29 +03:00
parent 219666b525
commit 7a10137d76
2 changed files with 4 additions and 4 deletions

View File

@ -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.

View File

@ -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": "",