Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't clear unrelated pending snapshots #651

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

max-sixty
Copy link
Collaborator

@max-sixty max-sixty commented Oct 9, 2024

For discussion, re #492.

There are tests which confirm that a passing test removes any associated pending snapshot. And a test that checks --unreferenced=delete picks up pending snapshots; so running all tests with --unreferenced=delete is a catch-all way of removing any pending snapshots.

My only reservation is whether I'm missing something? Otherwise the proposed behavior seems better.

For discussion, re mitsuhiko#492.

There are tests which confirm that a passing test removes any associated pending snapshot. Also need a test that checks `--unreferenced=delete` also picks up pending snapshots; then we know that running all tests with `--unreferenced=delete` is a catch-all way of removing any pending snapshots.

One test fails, re binary snapshots, because it's on the existing behavior.

My only reservation is whether I'm missing something, otherwise the proposed behavior seems better.
Needed for a different branch, committing this change to `main`
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.

1 participant