alxjrvs / alxjrvs/orrey

Smoke test: a button click round-trips to D1 and rewrites its message

Open
#14 0 comments 0 reactions 0 assignees View on GitHub
phase:0
Dominant language
HTML
Stars
0
Forks
0
Avg merge
2h 48m
Merged PRs (30d)
4

Description

The phase-0 exit criterion, exercised in the real guild after cutover.

- [ ] Post a message with one button from the Worker.
- [ ] Click it: the interaction is verified, a row is written to D1, and the response is `UPDATE_MESSAGE` (type 7) rewriting *that* message.
- [ ] Click it again after 15 minutes to confirm the interaction-token lifetime is moot under send-only.
- [ ] Confirm an unknown `custom_id` degrades to the retired-post response, never to "interaction failed".
- [ ] Confirm a click routes through the per-session `SessionLock` Durable Object.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.