Skip to content

Show execution failure reasons in standalone reports - #815

Merged
authorjapps merged 2 commits into
authorjapps:masterfrom
Orcus01:fix/standalone-report-failure
Nov 12, 2026
Merged

authorjapps merged 2 commits into
authorjapps:masterfrom
Orcus01:fix/standalone-report-failure

Conversation

@Orcus01

@Orcus01 Orcus01 commented Nov 7, 2026

Copy link
Copy Markdown
Collaborator

Failed Java steps already capture the execution exception, but standalone JSON and HTML reports use the generic assertion fallback. Use the captured message for failed steps and escape the reason when rendering it in HTML.

The CSV retains its existing summary columns. PR #809 supplies the underlying Java exception text. Tested with #809 in a separate checkout, where the negative square-root scenario showed the original message in both JSON and HTML.

Validation: 25 focused report and logger tests passed on this branch, one skipped. With #809 applied, 34 focused tests passed, one skipped.

Fixes #811.

@nirmalchandra

Copy link
Copy Markdown
Collaborator

Failed Java steps already capture the execution exception, but standalone JSON and HTML reports use the generic assertion fallback. Use the captured message for failed steps and escape the reason when rendering it in HTML.

The CSV retains its existing summary columns. PR #809 supplies the underlying Java exception text. Tested with #809 in a separate checkout, where the negative square-root scenario showed the original message in both JSON and HTML.

Validation: 25 focused report and logger tests passed on this branch, one skipped. With #809 applied, 34 focused tests passed, one skipped.

Fixes #811.

This is great fix @Orcus01 , I just kicked off the CI build now(takes around 7 to 10 min to complete -- depending on vm availabilities).

You will also see the HTML reports auto attached(as artefacts) once CI completes, just have a look please if everything looks fine as you(we) expected.

Also if possible just attach a screenshot of that bit only to the ticket.

Thanks for promptly fixing this

@authorjapps

Copy link
Copy Markdown
Owner

Hello @Orcus01, you've been added now as collaborator here to this project, just click and accept.

Collaborator access gives you additional privileges, such as:

Push access: Contribute code directly to the repository(to a branch).
Create branches: Create and manage branches for new features or bug fixes.
Submit pull requests: Propose changes and collaborate on code reviews.
Manage issues: Create, assign, and help resolve project issues.
Participate in discussions: Share ideas, provide feedback, and contribute to project decisions.

Looking forward to your contributions!

@authorjapps

Copy link
Copy Markdown
Owner

I've now reran the failed job here, hope it gets through this time 🤞

@authorjapps

Copy link
Copy Markdown
Owner

Here is some light about the failure from GHC(CoPilot). Will rerun and try if this is a real issue after some time.

@Orcus01
Orcus01 marked this pull request as ready for review November 8, 2026 15:24
@authorjapps
authorjapps merged commit d91300f into authorjapps:master Nov 12, 2026
5 checks passed
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.

Standalone reports omit the exception message for failed Java steps

3 participants