Skip to content

fix(example): BENCH_FIXTURE_DIR is a plain path, not a file:// URI - #111

Open
LeslieOA wants to merge 1 commit into
developfrom
fix/bench-fixture-path
Open

LeslieOA wants to merge 1 commit into
developfrom
fix/bench-fixture-path

Conversation

@LeslieOA

@LeslieOA LeslieOA commented Nov 8, 2026

Copy link
Copy Markdown
Member

BENCH_FIXTURE_DIR is passed to the canvas as its basePath, and resolveFileUri puts file:// in front of it. A folder given as a file:// URI, as the comment said, became file://file:///…, so big-10000.canvas drew broken-image placeholders in place of its portraits and SVG.

The comment now asks for a plain path.

🤖 Generated with Claude Code

resolveFileUri adds file:// to the basePath it is given, so a file://
folder became file://file:///… and every fixture image failed to load.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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