-
Notifications
You must be signed in to change notification settings - Fork 699
Fix/ci cleanup #484
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix/ci cleanup #484
Conversation
Reviewer's GuideCI harness improvements for the Claude NL Unity suite: make malformed XML fragments visible and counted as failures, enrich NL/T test names in the summary with sensible defaults, and add a hard CI gate that fails the workflow when required NL/T tests are missing or failing, plus clarify the Unity prompt about writing raw XML testcases without markdown fences. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Caution Review failedThe pull request is closed. 📝 WalkthroughWalkthroughThe changes update test XML emission rules to require direct, well-formed XML output without code fences and enforce proper document structure. The NL/T report workflow is enhanced to detect and handle malformed XML fragments, distinguish between missing and malformed results, introduce human-friendly test labels, and add a CI gate to enforce NL/T completeness. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Poem
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (2)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey - I've left some high level feedback:
- The
desiredtest ID list and JUnit parsing/id extraction logic are now duplicated between the summary builder and the new CI gate; consider extracting this into a shared script or composite action so it stays in sync. - In the malformed XML preservation block, the filename is derived from
fid; although guarded byfid in DESIRED, you might still want a safer fallback (e.g., usingp.stem) so future changes toDESIRED/matching can’t accidentally generateNone_malformed.xml.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The `desired` test ID list and JUnit parsing/id extraction logic are now duplicated between the summary builder and the new CI gate; consider extracting this into a shared script or composite action so it stays in sync.
- In the malformed XML preservation block, the filename is derived from `fid`; although guarded by `fid in DESIRED`, you might still want a safer fallback (e.g., using `p.stem`) so future changes to `DESIRED`/matching can’t accidentally generate `None_malformed.xml`.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
couple of fixes to CI test harness (still need to set it up so it runs with coplay unity license on main repo).
Summary by Sourcery
Tighten NL/T CI test harness behavior and reporting for malformed fragments, add a CI gate enforcing NL/T coverage and pass status, and clarify the Unity NL suite prompt’s required XML output shape.
Enhancements:
CI:
Summary by CodeRabbit
New Features
Bug Fixes
✏️ Tip: You can customize this high-level summary in your review settings.