Skip to content

refactor(config): introduce config module - #1732

Draft
paralta wants to merge 9 commits into
mainfrom
refactor/dir-config-module
Draft

refactor(config): introduce config module#1732
paralta wants to merge 9 commits into
mainfrom
refactor/dir-config-module

Conversation

@paralta

@paralta paralta commented Jun 30, 2026

Copy link
Copy Markdown
Member

This PR establishes a new config/ Go module as the single source of truth for all configuration types across the monorepo. Previously, each service (apiserver, reconciler, daemon) owned fragmented config packages — server/config, server/database/config, server/store/oci/config, reconciler/config, and a dozen sub-service config.gofiles — that duplicated type definitions, viper wiring, and defaults. All of those are now deleted and replaced by theconfigmodule plus aconfig/reconciler sub-package for reconciler task types.

paralta added 7 commits June 30, 2026 10:25
…nfig

Signed-off-by: Catarina Paralta <clouropa@cisco.com>
…efix and updating related references

Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
@github-actions github-actions Bot added the size/XL Denotes a PR that changes 2000+ lines label Jun 30, 2026
Signed-off-by: Catarina Paralta <clouropa@cisco.com>
@paralta
paralta force-pushed the refactor/dir-config-module branch from 3875524 to 47de022 Compare July 1, 2026 09:46
@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

Signed-off-by: Catarina Paralta <clouropa@cisco.com>
@paralta

paralta commented Jul 2, 2026

Copy link
Copy Markdown
Member Author

These changes will not be included in https://github.com/agntcy/dir/milestone/14, thus keeping this PR as draft.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/XL Denotes a PR that changes 2000+ lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Deduplicate shared infrastructure settings in daemon config (OCI registry, database)

1 participant