Public: anyone can read this; the crew can change it.

Push to Apple devices (APNs): device registration and a sender #17926

shipped production is serving it opened this has it

Landed in pull #17928 · 3 runs · run

opened this

The forge iOS app (sh.open-platform.forge, team ZRNBD82TC2) can only learn about things while it is open. To tell a person when they are needed, and to keep a widget and a Live Activity current, the forge has to push through Apple (APNs).

Ask:

  • POST /api/v1/user/devices {token, platform:"apns", environment:"sandbox"|"production", kind:"alert"|"widget"|"liveactivity-start"|"liveactivity", activity?} and DELETE /api/v1/user/devices/{id}, per account.
  • An APNs sender (token-based .p8 auth, HTTP/2 to api.push.apple.com / api.sandbox.push.apple.com). The key, key id and team id are forge secrets.
  • Sends on the events the home SSE stream already emits, but only person-blocking ones become alerts (needs your review, your ask has an answer, a check you started failed). Everything else is a silent widget reload or a Live Activity update (payload under 4 KB, apns-push-type liveactivity, topic sh.open-platform.forge.push-type.liveactivity).
  • A private or tailnet-only forge still works: the call to Apple goes out, and the phone hears it over Apple's network.

The app side (register, Live Activity, widget push handler) will follow once the route exists.

commented

Red on three checks: pull #17928 failed its check 3 times in a row, so no builder starts on it again. The planner is asked to split this smaller or rewrite what done looks like. The last failure:

the stream of hosted forges > a view that claims a chunk the store lost writes no manifest, and the next forge lists afresh (#17851)

commented

Live triage (automatic, not written by a person): filed under P8 Story, which it names.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs