Skip to content

Fix CPU background removal, polish site metadata and expand TestSprite to 92 tests - #7

Merged
raevor merged 3 commits into
mainfrom
final-polish
Oct 26, 2026
Merged

raevor merged 3 commits into
mainfrom
final-polish

Conversation

@raevor

@raevor raevor commented Oct 26, 2026 •

Copy link
Copy Markdown
Owner

What changes

CPU background removal could stop with std::bad_alloc because BiRefNet lite exceeded WebAssembly's memory limit. The CPU path now uses a pinned, 8-bit ormbg model (about 45 MB); the GPU path keeps BiRefNet lite. Each model's input and matte format are handled separately. The image stays in the tab.

  • Site metadata: adds ICO and SVG browser icons, shortens the default tab title to “CUT/WEAVE — Keep the cut.” and uses “Page title — CUT/WEAVE” for individual pages.
  • Documentation: updates model downloads and credits, aligns the README with the 92-test cloud plan, and corrects older face-sampling and clip-ZIP descriptions.

Testing

  • Manual testing: all five tools and the site's features have been tested repeatedly across different computers and browsers. The current workflows completed successfully, with no application errors observed during those manual checks.
  • Local checks: 134 unit tests in 17 tracked test files, typecheck, lint and a production build pass. Existing third-party runtime and bundling warnings remain.
  • Background Remover: the test image completes on CPU in 8.5 seconds on the development machine. All three PNG exports were downloaded and checked for dimensions, transparency and matte format. Background selection and cancellation also work.
  • TestSprite plan: 92 tests in 14 groups, including video loading and one face reference, deeper music-marker checks and complete CPU background removal. TestSprite passed all 92 tests on this PR.
  • Three-reference face scan: the complete workflow has been tested manually multiple times and completed successfully, with no application errors observed in those checks. The cloud agents repeatedly became stuck while trying to seek to the reference timestamps and never reached the scan itself. The automated scenario was therefore removed from cloud scope because the runner could not complete the preparation steps; it did not demonstrate a failure of the face scan. The PRD now explicitly limits the cloud flow to loading the video and adding one reference.

Project evidence

PR #4 contains the earlier TestSprite integration inside the October 16–22 window. PR #5 added Auto Subtitles; PR #6 added Background Remover and MP3 markers, with a final TestSprite result of 85/85.

@vercel

vercel Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
cutweave-lab Ready Ready Preview Oct 26, 2026 5:48pm UTC

@testsprite

testsprite Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Tip

Passed All checks passed — 92 of 92 tests green

The frontend suite is in excellent shape: every executed test passed, with strong coverage across home, tool library, roadmap, privacy, navigation, 404 handling, and all five shipped tools. The run suggests a stable UI, consistent routing, and good state handling for empty states, theme persistence, and local media flows. There were no failed or blocked tests, so the score is computed on the fully executable subset only. Overall, the app appears reliable and polished from a user-journey perspective, with the tested privacy messaging and tool launch flows behaving as intended.

Results: Passed 92 passed • 92 total  ·  View Full Report ↗


Passed 92 passed tests
Test Case Status Screenshot
Home facts strip is visible Passed Passed Home facts strip is visible
Bass Markers step bar and zero upload Passed Passed Bass Markers step bar and zero upload
Verify the privacy page separates app downloads from user media Passed Passed Verify the privacy page separates app downloads from user media
Auto Subtitles explains language and output Passed Passed Auto Subtitles explains language and output
Privacy page lists model credits Passed Passed Privacy page lists model credits
Open the privacy page from the header Passed Passed Open the privacy page from the header
Verify the privacy page states local processing and zero media transfer Passed Passed Verify the privacy page states local processing and zero media transfer
View the Bass Markers empty state Passed Passed View the Bass Markers empty state
Verify the privacy page states face recognition does not identify people Passed Passed Verify the privacy page states face recognition does not identify people
Roadmap lists the five shipped tools Passed Passed Roadmap lists the five shipped tools
Switch theme and persist after reload Passed Passed Switch theme and persist after reload
Verify home page brand and hero Passed Passed Verify home page brand and hero
Face recognition five-step bar Passed Passed —
Auto Subtitles opens with an empty source state Passed Passed —
Explore all tools from the hero Passed Passed —
Face recognition has no scan action before a source is chosen Passed Passed —
Theme toggle names the theme it switches to Passed Passed —
Face recognition shows 0 B sent to server Passed Passed —
Background Remover explains input and output Passed Passed —
Face recognition workspace loads with privacy copy Passed Passed —
Start Face Recognition from the hero Passed Passed —
Load a local video into Face Recognition Passed Passed —
Unknown route shows custom 404 page Passed Passed —
Background Remover cannot run without an image Passed Passed —
Face recognition empty slot shows no results Passed Passed —
Background Remover opens with an empty source state Passed Passed —
Roadmap opens the current tools library Passed Passed —
View exactly five tools in the library Passed Passed —
All tools link returns to the tool library Passed Passed —
Dismiss the anime analysis notice Passed Passed —
Close the tools menu by clicking outside Passed Passed —
Open local tools from the privacy page Passed Passed —
Open Anime Face Recognition from the library Passed Passed —
Open tools menu and launch Face Recognition Passed Passed —
Bass Markers lists accepted formats and links to privacy Passed Passed —
Home facts strip shows all four facts Passed Passed —
Load a local image into Background Remover Passed Passed —
Verify the anime workspace empty source state Passed Passed —
Open Background Remover from the library Passed Passed —
Open Auto Subtitles from the library Passed Passed —
Auto Subtitles step bar and zero upload Passed Passed —
Anime tool navigation and privacy indicator Passed Passed —
Auto Subtitles cannot transcribe without a source Passed Passed —
404 page returns to the home page Passed Passed —
Open Face Recognition from the library Passed Passed —
Home featured tools section shows five tools Passed Passed —
Background Remover step bar and zero upload Passed Passed —
Remove the loaded image Passed Passed —
Home footer navigation links Passed Passed —
Home workflow lists the four steps in order Passed Passed —
Unknown top-level route shows custom 404 page Passed Passed —
Privacy page shows no identity lookups and no account Passed Passed —
Close the tools menu with Escape Passed Passed —
Open the tool desk from the tools menu Passed Passed —
Launch Background Remover from the tools menu Passed Passed —
Find markers on the full track Passed Passed —
Home hero shows the three promise lines Passed Passed —
Launch Anime Face Recognition from the tools menu Passed Passed —
Start Face Recognition from the privacy page Passed Passed —
Jump to a section from the page timeline Passed Passed —
Cancel or finish an analysis without an error page Passed Passed —
404 eyebrow text Passed Passed —
Open Music & Bass Markers from the library Passed Passed —
Confirm Bass Markers cannot run without a source Passed Passed —
Library cards describe input and output Passed Passed —
Scroll to the workflow section from the home page Passed Passed —
Start and cancel a background removal Passed Passed —
Remove the background on the CPU engine Passed Passed —
Launch Auto Subtitles from the tools menu Passed Passed —
Open the roadmap from the header Passed Passed —
Launch Music & Bass Markers from the tools menu Passed Passed —
Load a local audio file Passed Passed —
Inspect the privacy boundary from the home page Passed Passed —
Add a marker at the playhead Passed Passed —
Library tool desk and privacy link Passed Passed —
Roadmap shows Video Enhancer as coming soon Passed Passed —
Library heading and launcher label Passed Passed —
Continue to the export options Passed Passed —
Background Remover links back to the tools and privacy Passed Passed —
Face recognition privacy link Passed Passed —
Choose the CPU engine Passed Passed —
Auto Subtitles links back to the tools and privacy Passed Passed —
Home tool illustrations are labelled as illustrations Passed Passed —
Reopen the anime analysis notice from the header Passed Passed —
Markers land on every kick of the 120 BPM track Passed Passed —
Keep the anime notice hidden after reload Passed Passed —
Pick a background colour for the cut-out Passed Passed —
Remove a suggested marker Passed Passed —
Choose the composition frame rate before export Passed Passed —
Add a face reference from the video Passed Passed —
Return from export to marker review Passed Passed —
Every home tool card is available and opens its tool Passed Passed —
Evaluation Evaluation details

What could be better What could be better: There are no concrete failures to fix in this run, which is a strong signal. The main opportunity is to keep regression coverage aligned with product growth: the suite is already validating a lot of navigation and tool-entry behavior, so future changes should preserve those contracts. If new tools or copy changes are introduced, they should be added to the same style of end-to-end checks to avoid breaking the currently solid home, library, and privacy flows. No specific endpoints, selectors, or status codes need remediation based on this execution.

Next steps Recommended next steps: Treat this as a green baseline and protect it with continuous re-runs after any UI or routing change. Because the suite passed across all major user paths, the best next step is preventative: keep the same high-value scenarios in CI, and add new tests only when new tools, copy, or navigation entries ship. If a future run introduces a regression, use the existing test titles as anchors to isolate the broken flow quickly. For now, there is no fix work required; the app is behaving well across the exercised journeys.


Automated end-to-end testing powered by TestSprite

@raevor
raevor merged commit 104796e into main Oct 26, 2026
3 checks passed
@raevor
raevor deleted the final-polish branch October 26, 2026 18:00

This branch was successfully deployed

1 active deployment
Preview — 23e4db82 Deployed Oct 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant