Conversation
…tedyet panels, legacy SetupData path)
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
lm-sousa
force-pushed
the
clava-simplification
branch
from
September 25, 2026 16:09
410eaa4 to
5fafd1a
Compare
Member
Author
|
Superseded: this work moves to a dedicated |
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.
Adds two helpers to SpecsIo so callers stop hand-rolling temporary directory names (UUID concat, nanoTime+threadId, fixed cwd-relative names) and stop hardcoding OS cache conventions:
SpecsIo.createTempDirectory(prefix): unique directory allocated by the OS under the user temp folder (/tmp/tmp_<user>on Linux), registered for deletion on exit as a backstop; owners are expected to delete it when their lifecycle endsSpecsIo.getOsCacheFolder(): user-level cache folder following OS conventions ($XDG_CACHE_HOMEor~/.cache,~/Library/Caches,%LOCALAPPDATA%), created if missingSpecsSystem.isMac()Consumed by specs-feup/clava (stacked work): the parser/weaver/tester now use OS-allocated folders with per-instance ownership (clava #251, #264, #248, #249) and the clang-dumper cache root is unified on
getOsCacheFolder()(clava #250).Note: the branch also carries the earlier jOptions GuiHelper-coupling removal commit (
5fafd1ae).Tests: new cases in
SpecsIoTest(uniqueness, OS temp parent, cache folder stability).