Skip to content

fix: identify unnamed routes by paths/methods/hosts/service in sync errors - #2249

Draft
equistar22 wants to merge 1 commit into
mainfrom
chore/bump-go-database-reconciler-route-console-fix
Draft

equistar22 wants to merge 1 commit into
mainfrom
chore/bump-go-database-reconciler-route-console-fix

Conversation

@equistar22

@equistar22 equistar22 commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

Summary

On a large deck sync, route errors were reported only by the Kong-assigned ID (a UUID), since unnamed routes fell back to that ID for their console/error identifier — a value that doesn't exist in source config unless it was dumped with --with-id, making failures impossible to correlate back to the offending route.

Full changelog

  • [Fix] Unnamed routes in sync/diff error and progress messages were identified by a Kong-assigned ID absent from source config; now identified by paths/methods/hosts/service.

Issues resolved

GDR PR: Kong/go-database-reconciler#531

Testing

  • Unit tests (go test ./cmd/... and the full non-integration suite)
  • Confirmed TestSyncErrorMessage_UnnamedRoute fails against the currently released v1.42.4 (reproduces the bug) and passes against the fix
  • E2E tests
  • Manual testing on Universal
  • Manual testing on Kubernetes

…rrors

Bumps go-database-reconciler to a pre-release commit containing the
Route.Console() fix (Kong/go-database-reconciler#531) so sync/diff
messages for unnamed routes no longer fall back to a bare Kong-assigned
ID that doesn't exist in source config.

NOTE: pinned to a pseudo-version at the reconciler PR's commit; needs to
be re-pointed at a real tagged release once #531 merges and one is cut.
@CLAassistant

CLAassistant commented Sep 23, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 36.02%. Comparing base (3be0b05) to head (86b4d59).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2249   +/-   ##
=======================================
  Coverage   36.02%   36.02%           
=======================================
  Files          82       82           
  Lines        7844     7844           
=======================================
  Hits         2826     2826           
  Misses       4750     4750           
  Partials      268      268           

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

This branch has not been deployed

No deployments
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