Repository navigation
feat(jobs): rich sync-failure diagnostic report behind banner toggle - #40
Merged
Merged
Conversation
Replace the opaque "File could not be read! Code=-1" sync banner with a self-sufficient bug report. The op-store now tracks the file in flight (name, size, type, source-kind), and runSync's catch funnels every failure through `collectSyncFailureReport()` which captures stage, original Error.name + message + stack, browser/OS, capability snapshot (WebCodecs, OPFS, WebGPU, …) and OPFS quota into a multi-line plaintext report. The banner shows the one-line summary inline; "Show details" toggles the full report and "Copy details" ships it to the clipboard, so a user-side screenshot or paste is enough to triage on its own. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Why
When the same MP4 imports fine on one machine but fails with the native `File could not be read! Code=-1` Chromium DOMException on another, the current banner gives us nothing actionable. A screenshot of the new banner with details expanded carries enough context (browser, capabilities, file metadata, original error name + stack) to triage without follow-up Q&A.
What changed
What this does NOT do
Test plan
🤖 Generated with Claude Code