Skip to content

Conversation

@ericstj
Copy link
Member

@ericstj ericstj commented Oct 3, 2025

Refactor unique directory creation logic to use random file names.

Fixes #7485

Refactor unique directory creation logic to use random file names.
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR refactors the unique directory creation logic for temporary files to use random file names instead of incrementing directory numbers. The change replaces a counter-based approach with a random filename approach to generate unique temporary directory names.

  • Replaces incremental directory numbering with random filename generation
  • Simplifies the directory creation loop logic
  • Updates the directory naming pattern from ml_dotnet{number} to ml_dotnet_{randomfilename}

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@ericstj ericstj enabled auto-merge (squash) October 3, 2025 18:02
@ericstj ericstj disabled auto-merge October 21, 2025 21:26
@ericstj ericstj merged commit bc7afc7 into main Oct 21, 2025
22 of 25 checks passed
@ericstj
Copy link
Member Author

ericstj commented Oct 22, 2025

/backport to release/4.0

@github-actions
Copy link
Contributor

This was referenced Nov 19, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Nov 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Slow model loading performance after version 3.0.1

3 participants