Skip to content

Keep pod2html cache file out of the working directory - #8

Merged
andrew merged 2 commits into
mainfrom
fix-pod2html-cache
Oct 19, 2026
Merged

andrew merged 2 commits into
mainfrom
fix-pod2html-cache

Conversation

@andrew

@andrew andrew commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

pod2html writes a pod2htmd.tmp cache file into the current directory on every render, so consumers end up with a stray file wherever the process runs, shared between concurrent renders.

Temp-file renders now get a per-render scratch directory holding the input file, removed afterwards. A new {dir} placeholder in Args exposes it, and the Pod renderer passes --cachedir={dir}. TestRenderPod now runs in an empty directory and checks nothing is created.

Copilot AI balanced review requested due to automatic review settings October 19, 2026 07:37

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@andrew
andrew merged commit 2700278 into main Oct 19, 2026
5 checks passed
@andrew
andrew deleted the fix-pod2html-cache branch October 19, 2026 07:44
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