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

Fix snapshot auto-generation bug #619

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

TylerJang27
Copy link
Collaborator

Fixes another bug in snapshot generation that led to the creation of #618. Depending on the order of the test parsing, mismatched versions were being treated as a "pass", which was an overloaded state and led to snapshot auto-generation. I added the Skipped failure enum type, which makes these states more explicit and fixes the underlying issue.

I also tested manually that this still has the fix from #612.

Copy link

trunk-io bot commented Jan 8, 2024

⏱️ 18m total CI duration on this PR
Job Cumulative Duration Recent Runs
Linter Tests macOS 7m 🟩
Linter Tests Linux 4m 🟩
Tool Tests (Linux) 2m 🟩
Tool Tests (macOS) 2m 🟩
CodeQL-Build 1m 🟩
Trunk Check runner [linux] 56s 🟩
Repo Tests / Plugin Tests 41s 🟩
Action Tests 24s 🟩
Detect changed files 5s 🟩
Aggregate Test Results 3s 🟩

settingsfeedbackdocs ⋅ learn more about trunk.io

@TylerJang27 TylerJang27 marked this pull request as ready for review January 8, 2024 17:59
@TylerJang27 TylerJang27 requested review from det and laurit17 January 8, 2024 17:59
@TylerJang27 TylerJang27 merged commit c7a24f5 into main Jan 8, 2024
15 checks passed
@TylerJang27 TylerJang27 deleted the tyler/fix-ordering-mismatch-bug-snapshots branch January 8, 2024 18:08
pat-trunk-io pushed a commit that referenced this pull request Jan 22, 2024
Fixes another bug in snapshot generation that led to the creation of
#618. Depending on the order of
the test parsing, mismatched versions were being treated as a "pass",
which was an overloaded state and led to snapshot auto-generation. I
added the `Skipped` failure enum type, which makes these states more
explicit and fixes the underlying issue.

I also tested manually that this still has the fix from #612.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants