Parent
Review findings on #96.
What to build
When a user submits an answer to a question the agent has since revised, they should see that the question was updated and get the fresh revision, rather than an opaque "request failed with HTTP 400". Android now sends expectedRevision, but the server answers stale_revision with 400 and the client only special-cases 409, so while the state stream is reconnecting the user can keep resubmitting the stale revision.
Return 409 for stale_revision on the server, and have Android (and web, if it doesn't already) respond by refreshing the question and showing a "question was updated" message.
Acceptance criteria
Blocked by
- None — can start immediately
Parent
Review findings on #96.
What to build
When a user submits an answer to a question the agent has since revised, they should see that the question was updated and get the fresh revision, rather than an opaque "request failed with HTTP 400". Android now sends expectedRevision, but the server answers stale_revision with 400 and the client only special-cases 409, so while the state stream is reconnecting the user can keep resubmitting the stale revision.
Return 409 for stale_revision on the server, and have Android (and web, if it doesn't already) respond by refreshing the question and showing a "question was updated" message.
Acceptance criteria
Blocked by