Skip to content

Commit f78f76a

Browse files
committed
Infra: Commit dedicated ERROR_REPORT_META KV namespace ID
- Created a fresh KV namespace for error-report bookkeeping via `wrangler kv namespace create ERROR_REPORT_META`; ID `e8b67ae9fbd640adaf78aa42d59b80e9`. - Replaces the `REPLACE_WITH_KV_ID` placeholder in `wrangler.toml`. Matches the existing convention where `LICENSE_CODES` and `BLOG_LIKES` carry their real IDs in the committed file. - Previously the binding pointed at the same namespace as `LICENSE_CODES`, which worked (key prefixes didn't collide) but risked silent corruption on any future key added to either subsystem. - Drops the now-stale setup-script comment above the binding.
1 parent 118dc59 commit f78f76a

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

apps/api-server/wrangler.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,9 @@ binding = "ERROR_REPORTS_BUCKET"
4545
bucket_name = "cmdr-error-reports"
4646

4747
# KV namespace for error report bookkeeping (total_bytes counter, eviction lock)
48-
# Run ./scripts/setup-cf-infra.sh to create this namespace, then paste the printed
49-
# ID here in place of REPLACE_WITH_KV_ID.
5048
[[kv_namespaces]]
5149
binding = "ERROR_REPORT_META"
52-
id = "REPLACE_WITH_KV_ID"
50+
id = "e8b67ae9fbd640adaf78aa42d59b80e9"
5351

5452
[triggers]
5553
crons = ["0 */12 * * *"]

0 commit comments

Comments
 (0)