Skip to content

Clean up Tauri temp files created by plot_definition #106

Closed

Description

@CameronBrooks11

What

Clean up the temporary .wind/.gcode files created by the Tauri plot_definition command.

Why

plot_definition writes timestamp-named temp files into the system temp dir to generate an in-memory preview, with no cleanup. Over a long GUI session these accumulate and slowly leak disk space. Already noted as a known gap in the GUI architecture docs.

Where

fiberpath_gui/src-tauri/src/main.rs — plot_definition / temp_path helper

Acceptance criteria

  • Temp files created for preview are removed after the preview is produced (RAII guard / scope-exit cleanup, or explicit delete on both success and error paths)
  • No orphaned fiberpath-prefixed temp files remain after repeated preview generation

Activity

  1. added
    rust
    tauri
    on Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    rusttauri

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions