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
Retrying a partial video update reverses completed changes #3679
In the dashboard’s Add Videos dialog for a team folder or space, retrying a partially failed update can undo the changes that succeeded. The dialog treats selected videos as toggles against the current collection membership. It refreshes that membership after the update, but keeps completed changes selected when the other action returns a failure.
This changes which videos are shared in the collection; it does not delete recording files.
Reproduction
Start with existing-video in the folder or space and new-video outside it.
Open Add Videos and select both videos, intending to add the new one and remove the existing one.
Click Update videos. Let one action succeed while the other returns { success: false }.
After the error, click Update videos again without changing the selection.
Expected final membership: [new-video].
First update
Before fix, after retry
With the correction
Addition succeeds; removal fails
[]
[new-video]
Addition fails; removal succeeds
[new-video, existing-video]
[new-video]
The regression in the linked PR executes these steps through the actual client component, React Query, dialog, grid and cards. Server-action callbacks provide deterministic success/failure results:
bun run --cwd apps/web test __tests__/unit/add-videos-dialog-retry.test.ts
Both cases fail against the baseline component and pass after clearing successful submitted changes from the selection. Failed changes remain selected for retry.
Activity
linear commentedon Nov 3, 2026
CAP-975