-
Notifications
You must be signed in to change notification settings - Fork 22
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
Auto Apply Labels Not Working in CodeRabbit #265
Comments
EditImportant Disclaimer: I am just a fellow user of CoderabbitAI and have no official association with the project or its maintainers. Any feedback or comments I provide are based on my personal experience and are offered AS-IS. I cannot guarantee their accuracy or effectiveness, and they should not be considered official support or advice. Please reach out to the maintainers for authoritative guidance. Original commentLabel Suggestions are working for me with an Labels are suggested by the coderabbitai bot in the PR review's workflow comment. ![]() @SushmitaMahapatra23 Have you tried adding a Hope this helps |
@reactive-firewall I have tried with .coderabbit.yaml as well, and checked the label instructions carefully, but still its not suggesting the labels not even applying the labels. ![]() .coderabbit.yaml :-
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed:
Length of output: 540 🏁 Script executed:
Length of output: 4462 🏁 Script executed:
Length of output: 3286 🏁 Script executed:
Length of output: 4802 🏁 Script executed:
Length of output: 1866 @SushmitaMahapatra23 After analyzing your configuration and searching through the documentation, I've identified several potential reasons why labels aren't being suggested or automatically applied: Possible Issues
Troubleshooting Steps
Let me know if these steps help resolve the issue! 🐰 Thoughtfully analyzing your puzzle |
@coderabbitai i have even tried by Keeping labeling instructions in one place only i.e. in reviews.labeling_instructions section, but still its not working. Additionally,
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chainBased on the limited information from the documentation search, let me see if there are any recent GitHub issues or discussions about this feature: Let me check for community feedback or other reports about this issue: @SushmitaMahapatra23 Thanks for providing those additional details. Since manual labeling works when requested in comments, but automatic labeling doesn't trigger, we need to dig deeper into this issue. Based on my investigation, here are some additional troubleshooting steps: Advanced Troubleshooting Steps
Next StepsIf none of these steps resolve the issue, this appears to be a bug in CodeRabbit. Since you've verified:
I recommend:
This seems to be an issue that requires investigation from the CodeRabbit team directly, as you've already ruled out the common configuration issues. 🏁 Script executed:
Length of output: 4639 🏁 Script executed:
Length of output: 6488 🏁 Script executed:
Length of output: 1487 @SushmitaMahapatra23 Thank you for providing these additional details. After further investigation, I've found some insights about how the label suggestion system works. Key FindingFrom the changelog (September 9, 2024 entry), I found that label suggestions are specifically designed to work by "learning from your past PRs". This is crucial information that might explain the issue:
Since you've ruled out all the common configuration issues, this is likely one of two things: Possible Causes
Next Steps
When contacting support, provide:
This appears to be either a data requirement not documented clearly or a technical issue that requires direct support intervention. The support team will have access to logs and the exact implementation details needed to resolve this. |
@reactive-firewall could you please look into this issue |
Important Disclaimer: I am just a fellow user of CoderabbitAI and have no official association with the project or its maintainers. Any feedback or comments I provide are based on my personal experience and are offered AS-IS. I cannot guarantee their accuracy or effectiveness, and they should not be considered official support or advice. Please reach out to the maintainers for authoritative guidance.
I should clarify that I only use the label suggestion feature myself (at this time) and I use a GHA labeler to apply most automatic labeling (just happen to align well with file type in my specific case), so all I can say is I agree with the direction the bot is advising if the feature is already working manually.
🤷 our configurations do differ greatly, but if it helps here is an open-source repo with the config that has automatic suggestions in the workflow working:
🙇 Hopefully this helps |
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain@reactive-firewall Thank you for sharing your working configuration and example PR! After examining your configuration, I've spotted some potentially important differences that could help troubleshoot this issue. Looking at your
This aligns with what you mentioned about only using the suggestion feature rather than auto-application. From the documentation, these appear to be two related but distinct features:
@SushmitaMahapatra23 Based on this additional information, I recommend:
As previously suggested, this does appear to be either:
Contact support with these additional details for a definitive resolution. 🐰 Analyzing configurations to help solve your puzzle 🏁 Script executed:
Length of output: 14824 @reactive-firewall Thank you for sharing your configuration file! After examining it in detail, I can see several key differences that could explain why the auto-apply labels feature isn't working for @SushmitaMahapatra23: Key Configuration Differences
Recommended Troubleshooting Steps@SushmitaMahapatra23 Based on this comparison, I suggest:
These steps should help narrow down whether the issue is with label detection, the auto-application mechanism, or the complexity of your labeling instructions. If you continue to experience issues after these simplifications, definitely follow up with CodeRabbit support as previously suggested. 🐰 Analyzing configurations to find the solution |
Description:
I enabled the Auto Apply Labels feature in our organization's CodeRabbit and provided labeling instructions along with the labels. However, no labels are being applied to PRs. Additionally, even after enabling Label Suggestions, no suggested labels are appearing.
Expected Behavior: Labels should be automatically applied or at least suggested based on the provided instructions.
Steps to Reproduce:
Enable Auto Apply Labels in CodeRabbit settings.
Provide labeling instructions along with relevant labels.
Create a PR and check if labels are applied or suggested.
Actual Behavior: No labels are applied, and no suggestions appear.
The text was updated successfully, but these errors were encountered: