test: scenario 1 - failing tests before sonar scanner - #41
Open
CristianAmbrosini wants to merge 2 commits into
Open
test: scenario 1 - failing tests before sonar scanner#41CristianAmbrosini wants to merge 2 commits into
CristianAmbrosini wants to merge 2 commits into
Conversation
SummaryThis PR introduces a failing test step to the SonarQube workflow to validate check-run detection logic. The "Run tests" step intentionally exits with code 1 before the SonarQube scan executes. The change also includes a retrigger marker file. This is a test scenario designed to verify that an automated bot correctly detects failed check runs and abandons processing immediately rather than waiting for a 30-minute timeout. What reviewers should knowWhat this tests: The bot's ability to watch GitHub check runs and react to test failures that occur before the SonarQube scanning step completes. Key points for review:
Where to start: Look at the workflow timing and how the bot's check-run listener is configured to understand the expected abandonment behavior.
|
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.
Testing check-run watching: tests fail before sonar scanner step. Bot should detect the failed check run and abandon the candidate immediately without waiting 30 min.