Skip to content

Conversation

zirain
Copy link
Member

@zirain zirain commented Sep 27, 2025

improve the log output

Copy link

codecov bot commented Sep 27, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.09%. Comparing base (2835e6f) to head (24d1cd8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7083   +/-   ##
=======================================
  Coverage   71.09%   71.09%           
=======================================
  Files         228      228           
  Lines       40602    40602           
=======================================
  Hits        28867    28867           
+ Misses      10044    10042    -2     
- Partials     1691     1693    +2     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@zirain zirain changed the title chore: debug kube test flake chore: add more to for debugging kube test flake Sep 29, 2025
@zirain zirain marked this pull request as ready for review September 29, 2025 04:17
@zirain zirain requested a review from a team as a code owner September 29, 2025 04:17
@zirain zirain force-pushed the kube-test-flake branch 3 times, most recently from 1e41132 to 84b84e6 Compare September 30, 2025 15:35
}

// Scheduled=True condition not found.
t.Logf("Accepted=True condition not found in Gateway %s/%s conditions: %+v", gw.Namespace, gw.Name, gw.Status.Conditions)
Copy link
Contributor

Choose a reason for hiding this comment

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

but the test is for Scheduled

Copy link
Member Author

Choose a reason for hiding this comment

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

for _, cond := range gw.Status.Conditions {
			fmt.Printf("Condition: %v\n", cond)
			if cond.Type == string(gwapiv1.GatewayConditionAccepted) && cond.Status == metav1.ConditionTrue {
				return true
			}
		}

Was the previous comment accurate?

Copy link
Contributor

Choose a reason for hiding this comment

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

it was broken before :( , can we make this Scheduled ?

Copy link
Member Author

@zirain zirain Oct 4, 2025

Choose a reason for hiding this comment

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

Actually, Scheduled is deprecated.

// Deprecated: use "Accepted" instead.
GatewayConditionScheduled GatewayConditionType = "Scheduled"

@zirain zirain requested a review from arkodg October 4, 2025 04:37
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