Skip to content

Expand CI workflows#6

Merged
kaidokert merged 2 commits intoyoutube:mainfrom
backkem:ci
Jan 19, 2026
Merged

Expand CI workflows#6
kaidokert merged 2 commits intoyoutube:mainfrom
backkem:ci

Conversation

@backkem
Copy link
Copy Markdown
Contributor

@backkem backkem commented Jan 12, 2026

Summary

  • Add lint.yml: rustfmt and clippy checks
  • Add ci.yml: workspace build and test
  • Add integration test script: I kept it for local use (disabled in CI for now due to networking limitations)

@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @backkem, 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 significantly enhances the project's continuous integration capabilities by introducing dedicated workflows for linting, building, and testing. It also provides a robust integration test script, laying the groundwork for more comprehensive automated testing and ensuring higher code quality and stability.

Highlights

  • CI Workflow Expansion: New GitHub Actions workflows (lint.yml and ci.yml) have been introduced to automate code quality checks (rustfmt, clippy) and ensure successful workspace builds and tests.
  • Integration Test Script: A new bash script (integration-test.sh) has been added to facilitate local integration testing between app-sender and app-receiver using mDNS discovery.

🧠 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.

Ignored Files
  • Ignored by pattern: .github/workflows/** (3)
    • .github/workflows/ci.yml
    • .github/workflows/lint.yml
    • .github/workflows/rust.yml
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

@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 CI workflows, including a new integration test script. The script is well-structured, using set -euo pipefail and a trap for cleanup, which are great practices. I've provided a few suggestions to improve the robustness and maintainability of the test script. Specifically, I've recommended replacing a fixed sleep with a more reliable polling mechanism to wait for the receiver service, correcting a misleading comment, and quoting a variable in a test condition to follow shell scripting best practices.

Comment thread .github/scripts/integration-test.sh Outdated
Comment thread .github/scripts/integration-test.sh Outdated
Comment thread .github/scripts/integration-test.sh Outdated
@backkem
Copy link
Copy Markdown
Contributor Author

backkem commented Jan 12, 2026

Hmm, let me know if we want to keep integration-test.sh, then I can address Gemini's comments.

@kaidokert
Copy link
Copy Markdown
Contributor

Hmm, let me know if we want to keep integration-test.sh

Conceptually, yes, having an integration test run would be great. However, I'd probably rewrite it in python so it can be used identically on Windows hosts as well.

To do it reliably in Actions runners, docker-in-docker with a compose file may actually be cleanest setup that translates between local / actions consistently.

Comment thread .github/workflows/lint.yml
@backkem
Copy link
Copy Markdown
Contributor Author

backkem commented Jan 14, 2026

Added some fixes to make the lint happy.

@backkem
Copy link
Copy Markdown
Contributor Author

backkem commented Jan 18, 2026

@kaidokert could you approve another CI run?

@kaidokert kaidokert merged commit f20fbff into youtube:main Jan 19, 2026
4 checks passed
@kaidokert
Copy link
Copy Markdown
Contributor

Thanks !

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.

2 participants