Skip to content

fix(scan): scope parser temp containment to a per-run temp dir - #206

Merged
liamg merged 1 commit into
mainfrom
fix/548-per-run-temp-dir
Aug 7, 2026
Merged

fix(scan): scope parser temp containment to a per-run temp dir#206
liamg merged 1 commit into
mainfrom
fix/548-per-run-temp-dir

Conversation

@liamg

@liamg liamg commented Aug 7, 2026

Copy link
Copy Markdown
Member

Passing bare os.TempDir() as the parser's TemporaryDirectory made the whole shared temp dir an allowed containment root, so a repo-committed config could point var_files at files staged there by other processes. Mainly affects self-hosted/reused runners.

  • Use a per-process infracost-run-* temp dir instead
  • CLI-side companion to the parser fix in infracost/parser#215

@liamg liamg self-assigned this Aug 7, 2026
@liamg
liamg marked this pull request as ready for review August 7, 2026 08:57
@liamg
liamg force-pushed the fix/548-per-run-temp-dir branch from 9c9e4ec to cb0ab20 Compare August 7, 2026 09:03
@liamg
liamg merged commit 73b9f86 into main Aug 7, 2026
5 checks passed
@liamg
liamg deleted the fix/548-per-run-temp-dir branch August 7, 2026 09:06
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