-
Notifications
You must be signed in to change notification settings - Fork 68
🌱 (api-lint-diff) Enhance CLAUDE command and shell to consider fixed scenarios #2410
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
base: main
Are you sure you want to change the base?
🌱 (api-lint-diff) Enhance CLAUDE command and shell to consider fixed scenarios #2410
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
✅ Deploy Preview for olmv1 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Pull request overview
This PR enhances the api-lint-diff tool to detect and report FIXED issues, providing better visibility into API linting improvements made in a branch. The tool now categorizes issues into three types: FIXED (resolved in the current branch), NEW (introduced), and PRE-EXISTING (existed before changes).
Key Changes:
- Extended the
categorize_issuesfunction to identify issues present in the baseline but absent in the current branch - Updated report generation to display FIXED issues count and details with celebratory messaging
- Enhanced Claude AI command documentation to include FIXED issues in the analysis workflow
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| hack/api-lint-diff/run.sh | Added logic to detect FIXED issues by comparing baseline against current branch, updated report generation to display fixed issues count and details, and improved success messages to acknowledge fixes |
| .claude/commands/api-lint-diff.md | Updated documentation to include FIXED issues in the categorization, analysis workflow, and report format template |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2410 +/- ##
=======================================
Coverage 68.82% 68.82%
=======================================
Files 100 100
Lines 7641 7641
=======================================
Hits 5259 5259
Misses 1947 1947
Partials 435 435
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Those changes were tested with the fix: #2409
See that now we are checking the current branch and identifying what are the errors fixed.
Example
Shell
AI Command
TL'DR:
Shell
Command AI