Repository navigation
feat: show error feedback in UI on early test failure - #2209
Merged
Merged
Conversation
Fixes microcks#1056 Signed-off-by: alokkumardalei-wq <[email protected]>
alokkumardalei-wq
requested review from
SebastienDegodez,
lbroudoux and
yada
as code owners
July 6, 2026 14:19
Member
|
Makes sense. Thanks for the contribution. I'm gonna review it now. |
|
You are now a Microcks community contributor! 💖 Thanks and congrats 🚀 on merging your first pull request! We are delighted and very proud of you! 👏 📢 If you're using Microcks in your organization, please add your company name to this list. 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact. If you need to know why and how to add yourself to the list, please read the blog post "Join the Microcks Adopters list and Empower the vibrant open source Community 🙌" Kudos and please keep going, we need you 🙌 |
lbroudoux
pushed a commit
that referenced
this pull request
Aug 5, 2026
Fixes #1056 Signed-off-by: alokkumardalei-wq <[email protected]> (cherry picked from commit 35c19fe)
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.
What does this PR do?
This PR provides clear UI feedback to the user whenever a test fails during its early setup phase (e.g., due to OAuth negotiation failures, malformed URIs, or runner setup errors).
Previously, if a test failed for known reasons like an AuthorizationException during the OAuth2 token flow, the failure was silently logged in the backend and the UI provided no immediate feedback. With these changes, the backend now explicitly captures these early failures and passes a runnerMessage to the frontend, which is then rendered as a prominent error alert directly in the UI.
Fixes #1056
How was this tested?
Backend: Verified that TestRunnerService properly populates the runnerMessage inside TestResult during AuthorizationException, URISyntaxException, and runner retrieval failures. Ran the full backend test suite (mvn clean test) to ensure no regressions.
Frontend / UI: