Repository navigation
Block 3D export while a rebuild starts, so it can't mix two builds - #212
Merged
Merged
Conversation
Clicking Build published the new settings right away, but the previous mesh stayed exported until ThreeDView started the new build, so an export in that window paired the old mesh with the new settings. Clear the exported mesh when the settings are published, disable the download menu while a build starts or runs, and make the preview actions behind the build overlay inert. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ting flag Exports that start later, such as Open in Slicer after a slow slicer check, skip the disabled menu, so the export callbacks refuse while a build starts or runs. An older build's start no longer clears the starting flag of a newer request that is still preparing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
vycdev
added a commit
that referenced
this pull request
Nov 20, 2026
Merge the four Open in Slicer bullets into one entry for the shipped flow, fold Multi-head filament requirements into Multi-head printing, and move the decode-once image work into its own Changed entry. Move touch-up history fixes that predate v4.3 into Fixed, add the missing diagnostics folder fix, and reduce the cats benchmark entry to one Fixed line. Fold in the notes from PRs merged since (#203, #205, #206, #208, #209, #210, #212, #213) and trim test-only and maintenance details that do not help users. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 20, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Downloading a 3MF (or STL, or using Open in Slicer) in the half second after clicking Build exported the previous build's mesh with the new build's settings. Rebuilding a routed multi-head model as single-head and exporting in that window gave the 36 old routed objects with their head 1/2 extruders, but a single-head
nozzle_diameterand no M600 swap pause: a silently wrong print. Mouse users can't hit it because the build overlay covers the Download button, but keyboard and screen-reader users could, since the overlay didn't make the buttons behind it inert.The cause:
applyThreeDStatepublishes the new build settings immediately, whilewindow.__KROMACUT_LAST_MESHkept the old mesh until ThreeDView started the new build (120 ms debounce, a bounding-box scan, then an idle callback).Now:
inert.Proof: the new
@smokespectests/e2e/export-during-rebuild.spec.tsholds a multi-head → single-head rebuild open by queueing idle callbacks. It fails ondevelop(old mesh still exported) and passes with the fix. Removing onlyinertmakes its Tab-sweep check fail. With the UI gating and the early mesh clear temporarily removed, a keyboard Download 3MF during the held rebuild still showed "3D model not ready yet" and downloaded nothing, from the export guard alone.tsc -b, lint,npm testandnpm run test:e2e:all(all 8 suites) pass on this head. A local merge with currentdevelop(including #205) typechecks and passesnpm test.Council review
Rounds: 3
Fixed from review: export callbacks refuse while a build is busy; a stale build acknowledgement can't end a newer request's preparation state; the Tab sweep checks every preview action, not just the disabled download trigger. Declined: closing the portaled preview-mode picker during builds (it only changes render mode), a separate preparation-phase test (old mesh and old settings still match then), stronger after-build assertions, and test-only nits.
🤖 Generated with Claude Code (Claude Opus 5.5 in T3 Code; reviews by Claude Opus 5.5 and GPT-6.2 Sol)