Skip to content

Conversation

@JAORMX
Copy link
Collaborator

@JAORMX JAORMX commented Oct 14, 2025

Summary

Fixes duplicate operator e2e test runs by removing conflicting workflow triggers.

Problem

The operator e2e tests were running multiple times on PRs because:

  • The operator-ci.yml workflow had a direct pull_request trigger for deploy/charts/operator-crds/**
  • The same workflow was also called via workflow_call from run-on-pr.yml
  • This caused the entire operator e2e test suite (including the 3-version Kubernetes matrix) to run twice

Solution

Removed the direct pull_request trigger from operator-ci.yml. The workflow now only runs via:

  • workflow_call (from run-on-pr.yml and run-on-main.yml)
  • workflow_dispatch (for manual triggering)

This ensures the operator CI runs exactly once per PR while maintaining coverage for all changes.

🤖 Generated with Claude Code

The operator-ci workflow was being triggered multiple times on PRs because
it had both a direct pull_request trigger and was also called via workflow_call
from run-on-pr.yml. This caused the operator e2e tests to run twice - once
from the workflow_call and once from the direct trigger when operator CRD
files were modified.

This change removes the direct pull_request trigger, ensuring the workflow
only runs once per PR through the workflow_call mechanism. The workflow can
still be triggered manually via workflow_dispatch.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@codecov
Copy link

codecov bot commented Oct 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.11%. Comparing base (627dc4f) to head (8636471).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2185      +/-   ##
==========================================
+ Coverage   53.10%   53.11%   +0.01%     
==========================================
  Files         222      222              
  Lines       28904    28904              
==========================================
+ Hits        15350    15353       +3     
+ Misses      12408    12406       -2     
+ Partials     1146     1145       -1     

☔ View full report in Codecov by Sentry.
📢 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.

@JAORMX JAORMX merged commit ffd3414 into main Oct 14, 2025
26 of 27 checks passed
@JAORMX JAORMX deleted the fix-duplicate-operator-e2e-runs branch October 14, 2025 12:42
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