Skip to content

Add test id to the tmp directory file path - #351

Merged
sergeychernyshev merged 1 commit into
cloudflare:mainfrom
icrutche:separate-data-dir-by-test-id
Aug 17, 2026
Merged

Add test id to the tmp directory file path#351
sergeychernyshev merged 1 commit into
cloudflare:mainfrom
icrutche:separate-data-dir-by-test-id

Conversation

@icrutche

Copy link
Copy Markdown
Contributor

Currently the tmp directory created to store browser context will always use ./tmp, meaning multiple runs of telescope will share it, causing test failures due to the browser not allowing shared directories. Adding the test id means each run will use a separate directory. The directory is deleted on completion of the test, so this won't increase disk usage.

@sergeychernyshev
sergeychernyshev self-requested a review August 17, 2026 17:21

@sergeychernyshev sergeychernyshev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Perfect! I had a nagging feeling that I missed this detail from the past browsing through code.

@sergeychernyshev
sergeychernyshev merged commit 91b2487 into cloudflare:main Aug 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants