alxjrvs / alxjrvs/orrey

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

Cerrado
#14 0 comentarios 0 reacciones 0 asignados Ver en GitHub
phase:0
Lenguaje dominante
HTML
Estrellas
0
Forks
0
Merge medio
1 h 34 min
PR fusionados (30 d)
23

Descripción

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.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start at the Worker entry point that posts the button and follow the click through interaction verification, the D1 write, the UPDATE_MESSAGE response, the unknown custom_id fallback, and the per-session SessionLock Durable Object. Run the phase-0 smoke test in the real guild, including the second click after 15 minutes; done means every checklist item passes.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
html, sqlite
Área
backend, cloud, databases, distributed-systems, testing
Tipo de issue
Nueva funcionalidad
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Activo
Claridad
Bastante claro
Aptitud para principiantes
48/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.