Skip to content

Preserve final-only pipeline visualizations - #29

Open
ugin-man wants to merge 1 commit into
tscircuit:mainfrom
ugin-man:codex/fix-final-only-visualization
Open

Preserve final-only pipeline visualizations#29
ugin-man wants to merge 1 commit into
tscircuit:mainfrom
ugin-man:codex/fix-final-only-visualization

Conversation

@ugin-man

@ugin-man ugin-man commented Sep 7, 2026

Copy link
Copy Markdown

A solved pipeline with no stages and no initial visualization discards the graphics returned by finalVisualize(): visualize() returns its empty fallback before appending the final result.

Append the final visualization before checking for an empty result. Add regression coverage for the final-only case, an unsolved pipeline, and a solved pipeline without visualization hooks.

Validation: the new final-only regression fails before the fix; all 25 tests (95 assertions) pass after it. tsc --noEmit and bun run build pass.

Prepared with Codex (Astra) assistance and verified locally.

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

@ugin-man is attempting to deploy a commit to the tscircuit Team on Vercel.

A member of the Team first needs to authorize it.

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