Skip to content

feat: add target catalog with CRUD scripts and targetRefs resolution#43

Merged
cherusk merged 2 commits intomainfrom
feature_targets
Apr 3, 2026
Merged

feat: add target catalog with CRUD scripts and targetRefs resolution#43
cherusk merged 2 commits intomainfrom
feature_targets

Conversation

@cherusk
Copy link
Copy Markdown
Member

@cherusk cherusk commented Apr 3, 2026

Targets are now first-class catalog entries. Breeder configs reference targets by ID or name via effectuation.targetRefs instead of inline definitions. The controller resolves refs to inline targets once at breeder creation time.

  • targets table in metadata DB (name, type, address, username, credential_id)
  • CRUD Windmill scripts: target_create, target_get, targets_get, target_delete
  • config.py: require targetRefs, remove inline target validation
  • breeder_service._resolve_target_refs: fetch targets from catalog
  • Unit tests for target CRUD (22 tests) and updated config validation tests

cherusk added 2 commits April 3, 2026 22:18
Targets are now first-class catalog entries. Breeder configs reference
targets by ID or name via effectuation.targetRefs instead of inline
definitions. The controller resolves refs to inline targets once at
breeder creation time.

- targets table in metadata DB (name, type, address, username, credential_id)
- CRUD Windmill scripts: target_create, target_get, targets_get, target_delete
- config.py: require targetRefs, remove inline target validation
- breeder_service._resolve_target_refs: fetch targets from catalog
- Unit tests for target CRUD (22 tests) and updated config validation tests
The database.py module imports from f.controller.shared.otel_logging
which wasn't mocked in CI. Also added target CRUD modules to the
pre-populated module list and updated breeder test config to use
targetRefs instead of inline targets.
@cherusk cherusk merged commit 2c4adbd into main Apr 3, 2026
2 checks passed
@cherusk cherusk deleted the feature_targets branch April 3, 2026 20:27
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.

1 participant