Deployment Health Check
Verifies all Cloudflare bindings are working. Timestamp: 2026-02-28T15:40:46.953Z
Some checks need attention — see details below.
❌ error
d1
Error: D1_ERROR: not authorized to use function: sqlite_version at offset 7: SQLITE_ERROR
✅ ok
kv
ok
⚠️ warning
durable_objects
CHAT_ROOM binding not available — DO requires Workers deploy or service binding
⚠️ warning
migration
_cf_KV
Setup Checklist
- ⬜
wrangler d1 create simpleslack-db→ paste database_id into wrangler.toml - ✅
wrangler kv namespace create KV→ paste id into wrangler.toml - ⬜
wrangler d1 migrations apply simpleslack-db→ creates all tables - ⬜ Durable Objects — auto-provisioned on deploy
WebSocket Test
Open the browser console and run:
const ws = new WebSocket(location.origin.replace('http', 'ws') + '/ws/channel/test');
ws.onmessage = (e) => console.log('Received:', JSON.parse(e.data));
ws.onopen = () => ws.send('Hello from browser!');