Skip to content

Isolate the macOS documentation helper cache per process - #41

Merged
mdevans merged 1 commit into
RSNA:masterfrom
jdotc1:fix/isolate-macos-doc-helper-cache
Oct 17, 2026
Merged

mdevans merged 1 commit into
RSNA:masterfrom
jdotc1:fix/isolate-macos-doc-helper-cache

Conversation

@jdotc1

@jdotc1 jdotc1 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

Allocate the compiled helper in a retained TemporaryDirectory, avoiding reuse of a fixed-name executable while preserving reuse within a process.

Validation: Reused package/baseline-receipt.json and package/patched-receipt.json. Baseline source-excerpt regression failed and the same minimal edit passed: Private 0700 staging; fixed-name sentinel not reused; one mocked compile for two helper requests. Full source context and committed diff reviewed. No unchanged tests rerun.

Limitations: Documentation helper only. Each process compiles once; abrupt termination may leave temporary files. No Swift modification, native build, signing or macOS runtime check. SECURITY.md discourages public reports of unfixed vulnerabilities; no exploit demonstrated.

@mdevans
mdevans self-requested a review October 17, 2026 15:30
@mdevans mdevans self-assigned this Oct 17, 2026

@mdevans mdevans left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank-you for finding this jdotc1 (and agent)

@mdevans
mdevans merged commit 04b8784 into RSNA:master Oct 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants