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

Report missing file when accepting snapshot #516

Merged
merged 5 commits into from
Jul 7, 2024

Conversation

max-sixty
Copy link
Collaborator

This previously failed with a cryptic error: No such file or directory (os error 2).

It now fails with the slightly less cryptic error: File error for '/Users/maximilian/workspace/prql/prqlc/prqlc/tests/integration/snapshots/integration__queries__debug_lineage__genre_counts.snap.new': No such file or directory (os error 2)

This happens when accepting a snapshot, which causes a watching process to re-run, which then clears pending snapshots. That process is being too aggressive about clearing pending snapshots, but that's another issue

This previously failed with a cryptic `error: No such file or directory (os error 2)`.

It now fails with the slightly less cryptic `error: File error for '/Users/maximilian/workspace/prql/prqlc/prqlc/tests/integration/snapshots/integration__queries__debug_lineage__genre_counts.snap.new': No such file or directory (os error 2)`

This happens when accepting a snapshot, which causes a watching process to re-run, which then clears pending snapshots. That process is being too aggressive about clearing pending snapshots, but that's another issue
@max-sixty max-sixty merged commit 116704d into mitsuhiko:master Jul 7, 2024
12 checks passed
@max-sixty max-sixty deleted the report-file-error branch July 7, 2024 19:15
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