Skip to content

Conversation

ericwindmill
Copy link
Collaborator

Pre-launch Checklist

  • I read the [Flutter Style Guide] recently, and have followed its advice.
  • I signed the [CLA].
  • I read the [Contributors Guide].
  • I have added sample code updates to the [changelog].
  • I updated/added relevant documentation (doc comments with ///).

I got carried away with Gemini and basically rewrote CI and the release
process for the new LLM reality.

- Bump all SDK versions to the current beta (3.9.0-0)
- Run `flutter channel beta`
- Wrote `ci_script.dart` to replace the bash scripts
- Converted repository to pub workspace
- Added llm.md and release.md
- Added redirect for deprecated Samples Index

## Pre-launch Checklist

- [x] I read the [Flutter Style Guide] _recently_, and have followed its
advice.
- [x] I signed the [CLA].
- [x] I read the [Contributors Guide].
- [x] I have added sample code updates to the [changelog].
- [x] I updated/added relevant documentation (doc comments with `///`).
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

📋 Review Summary

This PR introduces a comprehensive set of GitHub Actions workflows powered by the Gemini CLI to automate various repository management tasks, including PR reviews, issue triage, and general assistance. The workflows are well-structured and the prompts are detailed, which is great.

🔍 General Feedback

  • The workflows are very powerful and will be a great addition to the repository.
  • The prompts for the Gemini CLI are well-written and provide clear instructions.
  • I've made a few suggestions to improve the readability and maintainability of the workflow files, mainly by simplifying conditions and commands.
  • I've also pointed out a few potential issues in the prompt files that could be improved.
  • There is one unrelated change in a pubspec.yaml file that seems to be a mistake.

Overall, this is a great PR that will significantly improve the automation of this repository.

@ericwindmill ericwindmill changed the title Adds Gemini CLI to Github Actions [Experiment DNM] Adds Gemini CLI to Github Actions Aug 8, 2025
Base automatically changed from beta to main August 14, 2025 19:26
@ericwindmill ericwindmill changed the title [Experiment DNM] Adds Gemini CLI to Github Actions Adds Gemini CLI to Github Actions Aug 21, 2025
3. The checklist should only be maintained as a comment on the issue or PR. Do not track or update the checklist in code files.
- If the fix requires code changes, determine which files and lines are affected. If clarification is needed, note any questions for the user.
- Make the necessary code or documentation changes using the available tools (e.g., `write_file`). Ensure all changes follow project conventions and best practices. Reference all shell variables as `"${VAR}"` (with quotes and braces) to prevent errors.
- Run any relevant tests or checks to verify the fix works as intended. If possible, provide evidence (test output, screenshots, etc.) that the issue is resolved.

Choose a reason for hiding this comment

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

Would we want to/should we add an explicit step for dart analyze and dart fix somewhere here?

}
}
prompt: |-
## Role

Choose a reason for hiding this comment

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

For my own curiosity, would we at some point break this up until multiple agents - ex one that reviews code for readability, another for security, etc.? From the agent perspective I think that means that each agent has less context to manage and juggle. From our DRE perspective, I think it would make reading the prompts and I'd imagine (eventually) "debugging" it or updating for new models, easier?

Copy link

@khanhnwin khanhnwin left a comment

Choose a reason for hiding this comment

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

This is so awesome, Eric! 🙌 🙌 I'm really excited to see how we can replicate this on our other repos!!

@jmagman
Copy link
Member

jmagman commented Aug 28, 2025

The workflows are very powerful and will be a great addition to the repository.

The workflows are well-structured and the prompts are detailed, which is great.

Drive-by comment: I suggest adding agent style guidance to avoid this kind of language
flutter/packages#9805
flutter/flutter#174000

@ericwindmill
Copy link
Collaborator Author

The workflows are very powerful and will be a great addition to the repository.

The workflows are well-structured and the prompts are detailed, which is great.

Drive-by comment: I suggest adding agent style guidance to avoid this kind of language flutter/packages#9805 flutter/flutter#174000

I very much appreciate the drive-by comment, thanks for the guidance!

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