Skip to content

fix: return stable schematic solver name - #824

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

fix: return stable schematic solver name#824
seveibar merged 2 commits into
mainfrom
fix/stable-solver-name

Conversation

@seveibar

@seveibar seveibar commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • implement getSolverName() on SchematicTracePipelineSolver
  • 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)
schematic-trace-solver Ready Ready Preview Aug 18, 2026 10:29pm

Request Review

@seveibar seveibar changed the title fix: add stable schematic solver name fix: return stable schematic solver name Aug 18, 2026
@seveibar
seveibar merged commit a6ec46b into main Aug 18, 2026
5 checks passed
@seveibar
seveibar deleted the fix/stable-solver-name branch August 18, 2026 22:32
@tscircuitbot

Copy link
Copy Markdown
Contributor

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