Skip to content

Conversation

@mdxabu
Copy link
Member

@mdxabu mdxabu commented Feb 5, 2026

This PR introduces Prow-style bot commands

Signed-off-by: Abu <abdullahfakrudeen2020@gmail.com>
Signed-off-by: Abu <abdullahfakrudeen2020@gmail.com>
Replace in-repo command handling and JS workflow logic with an
action-based implementation. Add prow-merge and prow-pr-jobs workflows
and a .prowlabels.yaml label configuration. Update CONTRIBUTING.md with
Prow command docs. Remove legacy Python CI workflows, docs/PROW_QUICKSTART.md,
and prow/plugins.yaml.

Signed-off-by: Abu <abdullahfakrudeen2020@gmail.com>
feat: Add Prow Commands for Issues and Pull Requests
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @mdxabu, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates Prow-style bot commands into the repository, providing a standardized and efficient way to manage issues and pull requests directly through comments. This streamlines common development workflows by enabling automated actions such as labeling, assignment, and status changes, improving overall project organization and collaboration.

Highlights

  • Prow-style Bot Commands Integration: Implemented Prow-style bot commands to enhance issue and pull request management within the repository.
  • New Prow Labels Configuration: Introduced a new .prowlabels.yaml configuration file, defining a wide range of labels for categorization, priority, area, workflow, size, contributor guidance, and lifecycle management.
  • Updated Contributing Guide: Updated the CONTRIBUTING.md guide with detailed instructions and practical examples for using the newly integrated Prow commands.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • .prowlabels.yaml
    • Added a new configuration file to define Prow labels.
    • Includes definitions for various label types: 'kind' (bug, feature, enhancement), 'priority' (p0-p3), 'area' (api, auth, database), 'workflow' (lgtm, approved, hold), 'size' (XS-XXL), 'contributor' (good-first-issue, help-wanted), and 'lifecycle' (frozen, stale, rotten).
  • CONTRIBUTING.md
    • Added a new section titled "Prow Commands".
    • Documented a comprehensive list of Prow commands for general use, labeling, pull request management, and issue/PR management.
    • Provided practical examples demonstrating how to use Prow commands for common scenarios like triaging bugs and approving pull requests.
Ignored Files
  • Ignored by pattern: .github/workflows/** (3)
    • .github/workflows/prow-commands.yml
    • .github/workflows/prow-merge.yml
    • .github/workflows/prow-pr-jobs.yml
Activity
  • No human activity (comments, reviews, etc.) has been recorded on this pull request yet.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

@mdxabu mdxabu merged commit 243502d into main Feb 5, 2026
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces Prow-style bot commands by adding a .prowlabels.yaml configuration file and updating CONTRIBUTING.md with instructions. The changes are well-structured. My review includes suggestions to improve the label taxonomy by removing redundant area labels and to enhance visual clarity by resolving color collisions between different label types. I've also pointed out the corresponding documentation update required in CONTRIBUTING.md.

# Prow Labels Configuration for BHV (Behavioral Health Vault)
# This file defines labels that can be used with /kind, /area, /priority commands

labels:
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

There are several color collisions between labels of different categories, which can make it difficult to quickly assess the status of an issue or PR from its labels. For example:

  • kind/performance (L35) and priority/p2 (L48) both use #fbca04.
  • kind/feature (L11), priority/p3 (L52), and approved (L98) all use #0e8a16.
  • priority/p1 (L44), do-not-merge/hold (L102), and do-not-merge/work-in-progress (L106) all use #d93f0b.

Consider using a more distinct color palette for different label categories (e.g., kind, priority, workflow) to improve visual clarity.

Comment on lines +84 to +90
- name: area/documentation
color: 5319e7
description: Issues or PRs related to documentation

- name: area/security
color: 5319e7
description: Issues or PRs related to security
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The labels area/documentation and area/security seem redundant given the existence of kind/documentation and kind/security. Typically, kind describes the nature of the change (e.g., bug, feature, docs), while area specifies the component of the codebase affected (e.g., api, frontend). A documentation change is best captured by kind/documentation, and a security issue by kind/security. To simplify the label taxonomy and avoid confusion, consider removing these two area labels.


**Labeling (Organization Members):**
- `/kind <type>` - Set type: bug, feature, enhancement, documentation, question, cleanup, security, performance
- `/area <name>` - Set area: api, auth, database, frontend, storage, testing, ci-cd, documentation, security
Copy link
Contributor

Choose a reason for hiding this comment

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

medium

The list of areas includes documentation and security. As noted in the review for .prowlabels.yaml, these are likely redundant with kind/documentation and kind/security. If you remove those area labels, please update this line to reflect the change to keep the documentation consistent.

Suggested change
- `/area <name>` - Set area: api, auth, database, frontend, storage, testing, ci-cd, documentation, security
- `/area <name>` - Set area: api, auth, database, frontend, storage, testing, ci-cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant