Skip to content

Add CODEOWNERS for ai snippets#816

Merged
yrezgui merged 2 commits into
mainfrom
bw/aiOwners
May 7, 2026
Merged

Add CODEOWNERS for ai snippets#816
yrezgui merged 2 commits into
mainfrom
bw/aiOwners

Conversation

@keyboardsurfer
Copy link
Copy Markdown
Member

No description provided.

@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello @keyboardsurfer, 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 establishes clear code ownership for the AI-related snippets directory by updating the CODEOWNERS file. This ensures that changes to these specific files will require review and approval from the designated Android DevRel AI team, streamlining the review process and maintaining code quality for this section of the codebase.

Highlights

  • CODEOWNERS Update: Added a new entry to the CODEOWNERS file, assigning ownership of the /misc/src/main/java/com/example/snippets/ai/ directory to the @android/devrel-ai team.

🧠 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
  • CODEOWNERS
    • Added a new ownership rule for the AI snippets directory.
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.

Copy link
Copy Markdown
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 adds a CODEOWNERS entry for AI snippets. The change is functionally correct, but I have one suggestion to improve the file's readability by aligning the new entry with existing ones for consistency.

Comment thread CODEOWNERS Outdated
Copy link
Copy Markdown
Contributor

@yrezgui yrezgui left a comment

Choose a reason for hiding this comment

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

Can we move the AI snippets to a dedicated module instead of being part of misc

@keyboardsurfer keyboardsurfer requested a review from yrezgui March 2, 2026 11:04
@yrezgui yrezgui enabled auto-merge (squash) March 2, 2026 11:16
@snippet-bot
Copy link
Copy Markdown

snippet-bot Bot commented Mar 11, 2026

Here is the summary of changes.

You are about to add 52 region tags.
You are about to delete 47 region tags.

This comment is generated by snippet-bot.
If you find problems with this result, please file an issue at:
https://github.com/googleapis/repo-automation-bots/issues.
To update this comment, add snippet-bot:force-run label or use the checkbox below:

  • Refresh this comment

Copy link
Copy Markdown
Contributor

@kkuan2011 kkuan2011 left a comment

Choose a reason for hiding this comment

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

Thanks Ben for moving the ai content into its own module, that'll be easier for managing the snippets going forward! I got confused on some of the content in the pR that's not AI-specific if you could clarify, and left some suggestions on making the package name consistent and making the module as bare-bones as possible (reducing # of dependencies, boilerplate files, etc..).

Comment thread ai/src/main/java/com/example/snippets/navigation/Destination.kt Outdated
Comment thread ai/src/main/res/xml/main_split_config.xml Outdated
Comment thread ai/src/main/AndroidManifest.xml Outdated
Comment thread ai/build.gradle.kts Outdated
Comment thread ai/proguard-rules.pro
Comment thread ai/build.gradle.kts
@keyboardsurfer keyboardsurfer force-pushed the bw/aiOwners branch 3 times, most recently from 47a3ad2 to 2cc520a Compare May 6, 2026 18:25
@keyboardsurfer keyboardsurfer requested a review from kkuan2011 May 6, 2026 18:25
@keyboardsurfer keyboardsurfer force-pushed the bw/aiOwners branch 6 times, most recently from fee2bb5 to e6d43bc Compare May 6, 2026 19:31
Copy link
Copy Markdown
Contributor

@kkuan2011 kkuan2011 left a comment

Choose a reason for hiding this comment

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

I think the build is failing due to something in the manifest?

Comment thread ai/src/main/res/layout/activity_main.xml Outdated
Comment thread ai/src/main/AndroidManifest.xml
Comment thread ai/build.gradle.kts Outdated
@keyboardsurfer keyboardsurfer force-pushed the bw/aiOwners branch 3 times, most recently from 84e8280 to 3ff6f3a Compare May 7, 2026 12:01
@keyboardsurfer keyboardsurfer dismissed yrezgui’s stale review May 7, 2026 18:35

Addressed change requst but couldn't close the review properly.

@yrezgui yrezgui merged commit 8e8889b into main May 7, 2026
5 checks passed
@yrezgui yrezgui deleted the bw/aiOwners branch May 7, 2026 18:35
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.

3 participants