Skip to content

Surface STEP conversion errors#930

Open
gamechangsu wants to merge 1 commit into
tscircuit:mainfrom
gamechangsu:codex/step-model-conversion-error-93
Open

Surface STEP conversion errors#930
gamechangsu wants to merge 1 commit into
tscircuit:mainfrom
gamechangsu:codex/step-model-conversion-error-93

Conversation

@gamechangsu
Copy link
Copy Markdown

/claim #93

Summary

  • Track STEP-to-GLB conversion failures in StepModel instead of only logging them.
  • Throw the stored conversion error during render so the existing ThreeErrorBoundary/CAD fallback flow can surface Error3d instead of leaving a silent empty STEP model.
  • Add focused React coverage for a failed STEP fetch reaching an error boundary.

Testing

  • bun test C:\Users\gamec\AppData\Local\Temp\codex-bounty-scout\3d-viewer\tests\step-model-error.test.tsx (run from C:\Users\gamec\AppData\Local\Temp to avoid this Windows checkout's broken sharp preload after install scripts failed)
  • bun x biome check src/three-components/StepModel.tsx tests/step-model-error.test.tsx
  • bun x tsc --noEmit
  • bun run build
  • git diff --check

AI-assisted with Codex; I reviewed the diff and kept the patch scoped.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 26, 2026

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

Project Deployment Actions Updated (UTC)
3d-viewer Ready Ready Preview, Comment May 26, 2026 5:31pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant