Repository navigation
refactor(gui): reduce Tauri shell to a native shell (#194) - #212
Merged
CameronBrooks11 merged 1 commit intoJun 26, 2026
Merged
Conversation
Compute now runs through the bundled FastAPI sidecar (#192/#193), so the Tauri shell no longer needs its own compute commands. Remove the dead `plan_wind`, `simulate_program`, `plot_preview`, `plot_definition`, and `validate_wind_definition` commands along with the `PlotPreview` struct and the temp-file machinery (`temp_path`, `TEMP_COUNTER`, `TempFile`) they used, plus the now-unused `base64`, atomic-counter, and system-time imports and the `base64` crate dependency. The CLI subprocess path (`exec_fiberpath`, `stream_program`) and file I/O commands stay: they still drive the Marlin serial path until its REST surface lands (#190/#199). Drop two dead unit-test modules that only covered the removed temp-file helpers. Ignore the frozen `bundled-cli`/`bundled-api` binaries so local builds can't accidentally commit them. Refs #194
CameronBrooks11
deleted the
refactor/tauri-drop-dead-compute-commands-194
branch
June 26, 2026 16:42
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.
Closes #194.
After #192/#193 the desktop app runs compute through the bundled FastAPI sidecar via the generated typed client. The Tauri shell's own compute commands — which shelled out to the
fiberpathCLI and round-tripped through temp files — are now dead. This removes them so the shell is a thin native host (window, file I/O, sidecar supervision, Marlin serial path).Removed
plan_wind,simulate_program,plot_preview,plot_definition,validate_wind_definitionPlotPreviewstruct and the temp-file machinery (temp_path,TEMP_COUNTER,TempFile) they usedbase64,AtomicU64/Ordering,SystemTime/UNIX_EPOCH) and thebase64crate dependencymain.rs, the tautologicalcfg!assert incli_path.rs)Net: ~290 lines removed across 4 source files.
Kept (still in use)
exec_fiberpath+stream_program— drive the Marlin serial path until its REST surface lands (feat(api): Marlin REST surface — ports, connection, synchronous commands (part A) #190/feat(api): Marlin /jobs polled resource + background job runner #199)save_wind_file/load_wind_file,check_cli_health,get_cli_diagnostics, allmarlin::*,api_sidecar::api_base_urlAlso
.gitignorenow excludes the frozenbundled-cli/bundled-apibinaries (tracking only the.gitkeepplaceholders) so local builds can't accidentally commit them.Verification (local)
cargo fmt --check,cargo clippy --all-targets -- -D warningsclean,cargo testgreentscclean,vitestgreentauri buildsucceeds — shell links and bundles (AppImage + deb)invoke()references any removed command, thegenerate_handler!list matches the defined commands, and no removed import is still referenced.Refs #195.