Skip to content
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

ADD Backend Issue Report Template #467

Merged
merged 4 commits into from
Nov 8, 2024

Conversation

alo7lika
Copy link
Contributor

@alo7lika alo7lika commented Nov 6, 2024

Issue Title

Please enter the title of the issue related to your pull request.
Enter the issue title here- Backend Issue Report Template

  • I have provided the issue title.

Info about the Related Issue

What's the goal of the project?
Describe the project's aim- To improve backend functionality and streamline issue reporting for better project tracking.

  • I have described the aim of the project.

Name

Please mention your name.
Enter your name here- Alolika Bhowmik

  • I have provided my name.

GitHub ID

Please mention your GitHub ID.
Enter your GitHub ID here- alo7lika

  • I have provided my GitHub ID.

Identify Yourself

Mention to which program you are contributing (e.g., WoB, GSSOC, SSOC, Hacktoberfest).
Enter your participant role here- Contributor GSSOC 2024

  • I have mentioned my participant role.

Closes

Enter the issue number that will be closed through this PR.
Closes: #issue-number Closes: #462

  • I have provided the issue number.

Describe the Add-ons or Changes You've Made

Give a clear description of what you have added or modified.
Describe your changes here- Added a structured backend issue report template to standardize and improve issue tracking and management.

  • I have described my changes.

Type of Change

Select the type of change:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Code style update (formatting, local variables)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Describe how your changes have been tested.
Describe your testing process here. The template was tested by creating a sample pull request to ensure all fields and checkboxes work correctly in Markdown format.

  • I have described my testing process.

Checklist

Please confirm the following:

  • My code follows the guidelines of this project.
  • I have performed a self-review of my code.
  • I have commented on my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.

Summary by CodeRabbit

  • New Features
    • Introduced a structured issue template for reporting backend issues, enhancing the clarity and effectiveness of user submissions. The template includes sections for preliminary checks, environment details, issue summaries, steps to reproduce, expected vs actual behavior, and contact information.

Copy link

vercel bot commented Nov 6, 2024

@alo7lika is attempting to deploy a commit to the bunty's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

coderabbitai bot commented Nov 6, 2024

Warning

Rate limit exceeded

@RamakrushnaBiswal has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 19 minutes and 47 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between 22464ec and 7e4bf92.

Walkthrough

A new issue template for backend issues has been added to the repository. The template is designed to guide users in reporting backend problems by providing a structured format that includes sections for preliminary checks, issue summary, steps to reproduce, expected vs actual behavior, logs/errors, and additional information. This enhancement aims to improve the clarity and consistency of issue reporting.

Changes

File Path Change Summary
.github/ISSUE_TEMPLATE/backend_issue.yml Added a new issue template for reporting backend issues.

Assessment against linked issues

Objective Addressed Explanation
ADD Backend Issue Report Template (#462)

Possibly related issues

  • ADD Backend Issue Report Template  #467: The changes in this PR directly introduce the same issue template for reporting backend issues in the file .github/ISSUE_TEMPLATE/backend_issue.yml, making it highly relevant to the main PR.

🐰 In the meadow, where bunnies hop,
A new template helps issues stop!
With checks and logs, we gather the facts,
Reporting backend woes, we’re on the right tracks!
Hooray for structure, let clarity reign,
Together we’ll solve, and ease all the pain! 🌼


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

github-actions bot commented Nov 6, 2024

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. In the meantime, please ensure that your changes align with our CONTRIBUTING.md. If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@alo7lika
Copy link
Contributor Author

alo7lika commented Nov 6, 2024

@RamakrushnaBiswal the task has been completed. Kindly review the PR. Don't forget to add label "GSSOC-EXT"

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

🧹 Outside diff range and nitpick comments (4)
.github/ISSUE_TEMPLATE/backend_issue.yml (4)

1-4: Consider expanding the label options.

While the current labels ["Backend", "Bug"] are appropriate for bug reports, backend issues might also include feature requests or improvements. Consider adding a type field to differentiate between bugs, features, and improvements, or expanding the labels list.

 name: "🔧 Backend Issue Report"
 description: "Create a detailed report to help us improve the backend services."
 title: "BACKEND ISSUE:"
-labels: ["Backend", "Bug"]
+labels: ["Backend"]

Then add a type selector:

  - type: dropdown
    attributes:
      label: "Issue Type"
      description: "What type of backend issue is this?"
      options:
        - Bug
        - Feature Request
        - Improvement
    validations:
      required: true

15-20: Refine the issue summary description.

The current description asks for expected and actual behavior, which are separate fields later in the template. This might lead to duplicate information.

   - type: textarea
     attributes:
       label: "Issue Summary"
-      description: "Provide a concise summary of the issue, including what you expected to happen and what actually happened."
+      description: "Provide a clear and concise description of what the issue is."
     validations:
       required: true

21-26: Add format suggestion for reproduction steps.

Help users provide better structured information by suggesting a format in the description.

   - type: textarea
     attributes:
       label: "Steps to Reproduce"
-      description: "List the steps to reproduce the issue. Include specific details, such as API endpoints, request parameters, etc."
+      description: |
+        List the steps to reproduce the issue. Include specific details such as:
+        1. API endpoint used (e.g., `/api/v1/users`)
+        2. HTTP method (GET, POST, etc.)
+        3. Request parameters/payload
+        4. Headers (if relevant)
+        5. Authentication details (token/key used, if applicable)
     validations:
       required: true

33-38: Add formatting guidelines for logs/errors.

Help users provide logs in a readable format.

   - type: textarea
     attributes:
       label: "Logs/Errors"
-      description: "If applicable, attach logs or error messages that can help us diagnose the issue."
+      description: |
+        Please provide any relevant logs or error messages. Format them as follows:
+        1. Use code blocks (```) for log entries
+        2. Include timestamp and log level if available
+        3. Highlight the specific error message
+        4. Remove any sensitive information
+      render: shell
     validations:
       required: false
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Reviewing files that changed from the base of the PR and between f34b7ec and 22464ec.

📒 Files selected for processing (1)
  • .github/ISSUE_TEMPLATE/backend_issue.yml (1 hunks)

.github/ISSUE_TEMPLATE/backend_issue.yml Show resolved Hide resolved
.github/ISSUE_TEMPLATE/backend_issue.yml Outdated Show resolved Hide resolved
.github/ISSUE_TEMPLATE/backend_issue.yml Show resolved Hide resolved
alo7lika and others added 3 commits November 7, 2024 01:52
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
@RamakrushnaBiswal RamakrushnaBiswal merged commit e839495 into RamakrushnaBiswal:main Nov 8, 2024
3 of 4 checks passed
@RamakrushnaBiswal RamakrushnaBiswal added documentation Improvements or additions to documentation level1 for 10 points gssoc-ext gssoc-extd program hacktoberfest accepted hacktoberfest-accepted repo labels Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation gssoc-ext gssoc-extd program hacktoberfest accepted hacktoberfest-accepted repo level1 for 10 points
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ADD Backend Issue Report Template
2 participants