Skip to content

Add SVG snapshot for acute line joins - #230

Merged
seveibar merged 2 commits into
mainfrom
agent/add-line-join-repro
Aug 12, 2026
Merged

Add SVG snapshot for acute line joins#230
seveibar merged 2 commits into
mainfrom
agent/add-line-join-repro

Conversation

@seveibar

Copy link
Copy Markdown
Contributor

Summary

  • add a focused toMatchSvgSnapshot regression case for a thick, acute polyline
  • capture the current mitered SVG rendering as the baseline

Why

The existing line snapshots use straight two-point segments, so they cannot reveal a line-join regression. This fixture creates an intentionally sharp corner with a thick stroke, making the current pointed miter easy to see and giving the round-line-join fix in the stacked PR a meaningful SVG snapshot diff.

This PR contains only the reproduction and baseline snapshot. PR #229 will be retargeted on top of this branch with the renderer change and updated rounded snapshot.

Validation

  • bun test (69 passing)
  • bun run format:check
  • git diff --check

@vercel

vercel Bot commented Aug 12, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
graphics-debug Ready Ready Preview Aug 12, 2026 6:33pm

Request Review

@seveibar
seveibar marked this pull request as ready for review August 12, 2026 18:45
@seveibar
seveibar merged commit eaf4979 into main Aug 12, 2026
2 checks passed
@seveibar
seveibar deleted the agent/add-line-join-repro branch August 12, 2026 18:45
@tscircuitbot

Copy link
Copy Markdown

Thank you for your contribution! 🎉

PR Rating:
Impact: Tiny

Track your contributions and see the leaderboard at: tscircuit Contribution Tracker


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.

2 participants