Skip to content

TL-19 | Run the Photon bridge live against Maincloud with D's board (inbound, ETA, outreach) #37

Closed

Description

@SJAryan

B • P0 • After the #34 reset (fresh bridge invite). Demo steps 3 to 5, and the Photon track claim.

The bridge's pieces are merged (#16, #22), but the demo needs them running against the shared Maincloud database at the same time as D's screens:

  • Live round trip on Maincloud: claim a bridge invite and run npm run live with SPACETIMEDB_* pointed at time-left-hackutd26. The teammate's handset texts the H17 reply. Confirm the receipt in bridgeCheckins, then confirm H17 changes lane on D's live board with no refresh.
  • ETA after dispatch: after the coordinator reserves R4 on D's board, the handset receives the committed ETA from bridge_outbox exactly once. Repeat it after a confirmed detour to show a stale ETA is not sent.
  • Outreach poll (demo step 3): the bridge only replies inside a thread the resident started ("no cold messages"). Decide with D and C whether the demo opens with the resident texting first, or whether Photon can send the "Backup left?" poll on the test line. Write down which one we show.
  • Comment cleanup: outbox.ts says "the view does not yet filter stale intents", but TL-05: bridge_outbox returns only intents for current assigned jobs #25 now filters it. Update the comment, and decide whether failed sends can now be retried safely.

Done when one real text changes D's live board, the intended resident gets the committed ETA once, a replay has no new effect, and B records the run (time, commit, live or replay) in #12.

Activity

  1. AnkithaThomas commented on Nov 8, 2026

    @AnkithaThomas
    Collaborator

    Live run recorded in #12: #12 (comment)

    • Live round trip on Maincloud: done (a real text changed H17 on D's board, no refresh).
    • ETA after dispatch: sent once and arrived once; a restart (replay) had no new effect. The detour case wasn't run live (known gap in check:tl12).
    • Comment cleanup: TL-19: outbox comment reflects #25 view filter; document no-retry decision #56.
    • Outreach poll, decision: Photon sends "Backup left?" This needs a contract change from A (spacetimedb/, shared schema), which is the request below:
      • openCheckinRound for a household queues a bridge_outbox intent, e.g. key round:<roundKey>:household:<id>:checkin, purpose checkin, body Backup left?, which drops out of the view once the round is answered or silent.
      • B then sends checkin intents the same way as ETAs: once per send key, and only into the resident's existing thread. There are no cold messages, so the handset sends one opt-in text before the demo, followed by a demo:reset.
      • Until then the fallback is the resident texting first, which works today.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions