Skip to content

Conversation

harshadixit12
Copy link
Contributor

@harshadixit12 harshadixit12 commented May 7, 2025

Summary

In this PR, we are bumping Go database reconciler and adding integrations tests to run gateway apply for custom entities.

PR on GDR: Kong/go-database-reconciler#267

Issues resolved

#1568

Testing

  • Integration tests
  • Manual testing on Kong
  • Manual testing on Konnect

@harshadixit12 harshadixit12 force-pushed the fix/partial-apply-for-custom-entities branch from 055ee10 to 37d8598 Compare May 7, 2025 10:10
@codecov-commenter
Copy link

codecov-commenter commented May 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.03%. Comparing base (f7eae2c) to head (14de5b6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1625   +/-   ##
=======================================
  Coverage   29.03%   29.03%           
=======================================
  Files          67       67           
  Lines        6912     6912           
=======================================
  Hits         2007     2007           
  Misses       4755     4755           
  Partials      150      150           

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

@harshadixit12 harshadixit12 marked this pull request as ready for review May 7, 2025 10:57
go.mod Outdated
@@ -13,14 +13,14 @@ require (
github.com/fatih/color v1.18.0
github.com/google/go-cmp v0.7.0
github.com/kong/go-apiops v0.1.42
github.com/kong/go-database-reconciler v1.22.5
github.com/kong/go-database-reconciler v1.22.6-0.20250507085334-9b3909e50a57
Copy link
Contributor Author

Choose a reason for hiding this comment

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

To be updated after gdr is released

// - konnect
func Test_Apply_Custom_Entities_Konnect(t *testing.T) {
t.Setenv("DECK_KONNECT_CONTROL_PLANE_NAME", "default")
runWhen(t, "konnect", "")
Copy link
Contributor

Choose a reason for hiding this comment

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

We can do runWhenEnterpriseOrKonnect in the above test. This one shouldn't be required then.

@harshadixit12 harshadixit12 force-pushed the fix/partial-apply-for-custom-entities branch from 667df51 to b1dcfba Compare May 9, 2025 05:24
@harshadixit12 harshadixit12 merged commit b328512 into main May 9, 2025
24 checks passed
@harshadixit12 harshadixit12 deleted the fix/partial-apply-for-custom-entities branch May 9, 2025 05:43
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