Skip to content

fix: return stable layout solver name - #222

Merged
seveibar merged 2 commits into
mainfrom
fix/stable-solver-name
Aug 18, 2026
Merged

fix: return stable layout solver name#222
seveibar merged 2 commits into
mainfrom
fix/stable-solver-name

Conversation

@seveibar

@seveibar seveibar commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • override getSolverName() on LayoutPipelineSolver
  • return a literal name that survives class-name minification
  • cover the public solver export with a focused regression test

Why

solver-utils already uses the instance getSolverName() method throughout GenericSolverDebugger. Returning the readable name from the source solver avoids static metadata and constructor wrappers in core.

Verification

  • bun test tests/solver-name.test.ts
  • bunx tsc --noEmit
  • bun run build
  • bun run format:check

@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
matchpack Ready Ready Preview Aug 18, 2026 10:29pm

Request Review

@seveibar seveibar changed the title fix: add stable layout solver name fix: return stable layout solver name Aug 18, 2026
@seveibar
seveibar merged commit a8ac4cd into main Aug 18, 2026
5 checks passed
@tscircuitbot

Copy link
Copy Markdown

Thank you for your contribution! 🎉

PR Rating: ⭐⭐
Impact: Minor

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