Skip to content

refactor: compile v2 resources from KRT collections - #2660

Merged
EItanya merged 4 commits into
mainfrom
refactor/krt-compiler-collections
Sep 2, 2026
Merged

refactor: compile v2 resources from KRT collections#2660
EItanya merged 4 commits into
mainfrom
refactor/krt-compiler-collections

Conversation

@EItanya

@EItanya EItanya commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the v2 Reader abstraction with typed KRT collections
  • use informer-backed collections in production and krttest mocks for fixed test inputs
  • retain KRT dependency tracking across ModelConfig, compiler, and harness lookups
  • use direct krt.FetchOne calls with caller-owned missing-resource errors

Testing

  • go test ./core/v2/...

Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
@EItanya
EItanya marked this pull request as ready for review September 1, 2026 21:57
@EItanya
EItanya requested a review from a team as a code owner September 1, 2026 21:57
Signed-off-by: Eitan Yarmush <eitan.yarmush@solo.io>
@EItanya
EItanya merged commit c8a7175 into main Sep 2, 2026
24 checks passed
@EItanya
EItanya deleted the refactor/krt-compiler-collections branch September 2, 2026 11:34
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