chore: Add github step summaries for e2e test suites#2670
chore: Add github step summaries for e2e test suites#2670zakisk merged 3 commits intotektoncd:mainfrom
Conversation
Added a workflow step to generate markdown summaries of test results directly in the continuous integration interface. Providing this information in the summary view helped developers identify failing tests immediately without needing to dig through raw execution logs. Signed-off-by: Chmouel Boudjnah <chmouel@redhat.com>
There was a problem hiding this comment.
Code Review
This pull request introduces a new Python script, hack/generate_github_summary.py, designed to parse gotestsum JSON output and generate a Markdown summary for GitHub Step Summaries. It also updates the hack/gh-workflow-ci.sh script to integrate this new functionality. Review feedback suggests improving the Python script's error handling for missing files and optimizing the sorting logic within loops for better performance. Additionally, suggestions were made to enhance the bash script's robustness by adding shell options and calling the Python script more idiomatically.
🤖 AI Analysis - pr-complexity-ratingBased on the provided information, here is the review triage for the PR. 📊 PR Review Complexity
Overall difficulty: Easy SummaryThis PR is a routine synchronization merge from Suggested reviewers focus
Generated by Pipelines-as-Code LLM Analysis |
📝 Description of the Change
Added a workflow step to generate markdown summaries of test results
directly in the continuous integration interface. Providing this
information in the summary view helped developers identify failing
tests immediately without needing to dig through raw execution logs.
Signed-off-by: Chmouel Boudjnah chmouel@redhat.com
🔗 Linked GitHub Issue
Fixes #
🧪 Testing Strategy
🤖 AI Assistance
AI assistance can be used for various tasks, such as code generation,
documentation, or testing.
Please indicate whether you have used AI assistance
for this PR and provide details if applicable.
Important
Slop will be simply rejected, if you are using AI assistance you need to make sure you
understand the code generated and that it meets the project's standards. you
need at least know how to run the code and deploy it (if needed). See
startpaac to make it easy
to deploy and test your code changes.
If the majority of the code in this PR was generated by an AI, please add a
Co-authored-bytrailer to your commit message.For example:
Co-authored-by: Claude noreply@anthropic.com
✅ Submitter Checklist
fix:,feat:) matches the "Type of Change" I selected above.make testandmake lintlocally to check for and fix anyissues. For an efficient workflow, I have considered installing
pre-commit and running
pre-commit installtoautomate these checks.