Skip to content

WIP Use a separate resolver package for template handling#93

Closed
rytswd wants to merge 5 commits intomainfrom
use-resolver-package
Closed

WIP Use a separate resolver package for template handling#93
rytswd wants to merge 5 commits intomainfrom
use-resolver-package

Conversation

@rytswd
Copy link
Member

@rytswd rytswd commented Dec 31, 2025

NOTE: This has the exact same code change as #90, except for premature go.mod change being removed. The commits have been moved around to ensure resolver package can be merged first, and cluster-handler can update the Go module dependency with go mod tidy once it is available from the remote.

NOTE: If we wanted to make this PR fully merge-able even before #92 is merged, we can pull in changes from that branch with go get -u github.com/numtide/multigres-operator/pkg/resolver@introduce-resolver-package. That would fully compile before and after the #92 is merged, if and only if #92 is merged as is, without any rebasing or squashing.

@rytswd rytswd marked this pull request as draft December 31, 2025 09:40
@github-actions
Copy link

🔬 Go Test Coverage Report

Summary

Coverage Type Result
Threshold 0%
Previous Test Coverage Unknown%
New Test Coverage Unknown%

Status

⚠️ SKIPPED (Build Failed?)

Detail

Show New Coverage
No coverage report generated (Build likely failed).

@rytswd
Copy link
Member Author

rytswd commented Dec 31, 2025

In order for this to work on local machine, we can simply test with the following

# At repository rootmake setup-envtestgo work initgo work use ./pkg/resolver ./pkg/cluster-handlercd ./pkg/cluster-handlergo test ./... -tags=integration -cover -count=1
ok      github.com/numtide/multigres-operator/pkg/cluster-handler/controller/multigrescluster   7.799s  coverage: 100.0% of statements
ok      github.com/numtide/multigres-operator/pkg/cluster-handler/controller/tablegroup 7.971s  coverage: 100.0% of statements

@fernando-villalba
Copy link
Collaborator

Implemented on PR 90.

@rytswd Please remember to delete branch.

@rytswd rytswd deleted the use-resolver-package branch January 5, 2026 01:02
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