Skip to content

Run Codegen Check for all pull requests#411

Open
safiya2610 wants to merge 1 commit into
volcano-sh:mainfrom
safiya2610:fix/codegen-check-workflow
Open

Run Codegen Check for all pull requests#411
safiya2610 wants to merge 1 commit into
volcano-sh:mainfrom
safiya2610:fix/codegen-check-workflow

Conversation

@safiya2610

@safiya2610 safiya2610 commented Jun 28, 2026

Copy link
Copy Markdown

This PR removes path-based filtering from the Codegen Check workflow so that make gen-check runs for every pull request.

Motivation
Previously, Codegen Check could be skipped when changes did not match the configured path filters. As a result, changes to files such as go.mod and go.sum could bypass the workflow, allowing code generation inconsistencies to remain undetected until a later pull request.

Running the workflow unconditionally ensures that generated code and dependency-related inconsistencies are detected immediately, improving CI reliability.

Changes
Removed path-based filtering from the Codegen Check workflow.
Configured make gen-check to run for every pull request targeting main and release-*.

Fixes #401

Signed-off-by: Safiya <147792763+safiya2610@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 28, 2026 14:00
@volcano-sh-bot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign hzxuzhonghu for approval. For more information see the Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

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

Copy link
Copy Markdown
Contributor

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 removes unused dependency entries for golang.org/x/oauth2 v0.36.0 from the go.sum file. I have no feedback to provide as there are no review comments or issues identified.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the CI “Codegen Check” workflow so make gen-check runs for every pull request targeting main and release-*, instead of being skipped via path-based filtering. This helps catch generated-code and dependency consistency issues (e.g., go.mod / go.sum changes) immediately.

Changes:

  • Removed dorny/paths-filter gating from the Codegen Check workflow.
  • Made Go setup and make gen-check execute unconditionally for PRs into main and release-*.
  • Updated go.sum to drop now-unneeded golang.org/x/oauth2 v0.36.0 entries.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
go.sum Removes stale module checksum entries so module state matches actual requirements.
.github/workflows/codegen-check.yml Ensures make gen-check runs on every PR to main / release-* by removing path-based filtering.

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.66%. Comparing base (524e55e) to head (17888d5).
⚠️ Report is 146 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #411       +/-   ##
===========================================
+ Coverage   47.57%   58.66%   +11.09%     
===========================================
  Files          30       37        +7     
  Lines        2819     3491      +672     
===========================================
+ Hits         1341     2048      +707     
+ Misses       1338     1234      -104     
- Partials      140      209       +69     
Flag Coverage Δ
unittests 58.66% <ø> (+11.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@safiya2610

Copy link
Copy Markdown
Author

@zhzhuang-zju Please review this PR.

@safiya2610

Copy link
Copy Markdown
Author

/cc @RainbowMango
/cc @hzxuzhonghu

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CI: Codegen Check path filter causes false pass

4 participants