You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Remove the server-side live share refresh stack once shares run on dfo-apis #78
With shares served by dfo-apis (#77), the website's own server-side refresh stack is unreachable. src/lib/studio/liveShare.ts, src/lib/studio/liveShareResults.ts, the refresh, render and principal parts of src/lib/studio/liveBackend.ts, their tests and fixtures, the share_card_result table, LIVE_SHARE_WINDOW_S, and the live_unavailable and unavailable withdrawal paths in shareDialog.ts (emitted only by liveShare.ts) stay in the tree until production has served shares from dfo-apis without a fallback. cardDownload.ts also keeps DOWNLOAD_PENDING, liveRefusal, and the live_unavailable, unauthorized and refresh_not_configured cases, and liveCards.ts keeps retry_after_s and retryAt, none of which the new path reads.
Any removal must keep the share pages and embeds rendering from dfo-apis' share record and slot routes, and drop share_card_result through a migration rather than leaving an orphan table.
Done when
None of the files and symbols above remain, and pnpm typecheck, pnpm test and pnpm build pass.
A migration drops share_card_result, and the share migration round trip (scripts/share-migration-round-trip.ts) still passes on a local stack.
#119 removed liveShare.ts, liveShareResults.ts and the refresh parts of liveBackend.ts. Still to do: a migration that drops share_card_result (db/schema.ts keeps the table), and the live_unavailable state in shareDialog.ts.
Activity
jm-rivera commentedon Nov 5, 2026
#119 removed
liveShare.ts,liveShareResults.tsand the refresh parts ofliveBackend.ts. Still to do: a migration that dropsshare_card_result(db/schema.tskeeps the table), and thelive_unavailablestate inshareDialog.ts.fix(share): drop the share_card_result table and the dead live_unavai…