goto-instrument: add early output file validation#8784
Open
tautschnig wants to merge 1 commit intodiffblue:developfrom
Open
goto-instrument: add early output file validation#8784tautschnig wants to merge 1 commit intodiffblue:developfrom
tautschnig wants to merge 1 commit intodiffblue:developfrom
Conversation
6166876 to
a8315e7
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8784 +/- ##
===========================================
- Coverage 80.01% 80.00% -0.01%
===========================================
Files 1700 1700
Lines 188345 188354 +9
Branches 73 73
===========================================
+ Hits 150696 150699 +3
- Misses 37649 37655 +6 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
a8315e7 to
959d16d
Compare
There was a problem hiding this comment.
Pull request overview
Adds an early validation step in goto-instrument to ensure an output file is provided for operations that mutate the model, avoiding wasted work when the command line is malformed.
Changes:
- Introduces a pre-check for missing output filename before running expensive analysis.
- Whitelists “read-only” operations that don’t require an output file.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Validate output file presence before expensive analysis operations to prevent wasted computation when command is malformed. Fixes: diffblue#2593
959d16d to
53fc818
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Validate output file presence before expensive analysis operations to prevent wasted computation when command is malformed.
Fixes: #2593