Skip to content

Conversation

@jenshnielsen
Copy link

@jenshnielsen jenshnielsen commented Feb 11, 2026

While debugging a test session that ran out of diskspace in CI tried different retention policies. From reading the docs I would have expected that both failed and none would remove tmp files during teardown of the test but reading the code and testing locally I can see that when none is used the fixtures are not removed until the end of the session.

This PR tweaks the docs slightly to make that clearer by documenting that failed removes the files of passing tests in the teardown step but none only removes the files of tests at the end of the test session.

Document that `failed`` removes the files of passing tests in the teardown
step but `none` only removes the files of tests at the end
of the test session.
@jenshnielsen jenshnielsen force-pushed the clarify_retention_policy branch from cfcadf3 to c57f5bb Compare February 11, 2026 08:55
@psf-chronographer psf-chronographer bot added the bot:chronographer:provided (automation) changelog entry is part of PR label Feb 11, 2026
@webknjaz webknjaz added type: docs documentation improvement, missing or needing clarification plugin: tmpdir related to the tmpdir builtin plugin backport 9.0.x apply to PRs at any point; backports the changes to the 9.0.x branch labels Feb 11, 2026
@jenshnielsen jenshnielsen force-pushed the clarify_retention_policy branch from 05df092 to a5cdffa Compare February 11, 2026 09:12
@RonnyPfannschmidt
Copy link
Member

Wait dir retention of none should be dropping them

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 9.0.x apply to PRs at any point; backports the changes to the 9.0.x branch bot:chronographer:provided (automation) changelog entry is part of PR plugin: tmpdir related to the tmpdir builtin plugin type: docs documentation improvement, missing or needing clarification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants