-
-
Notifications
You must be signed in to change notification settings - Fork 83
feat!: introduce result-pattern and automatic finalizer management #980
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
34ace26
refactor: update controller and finalizer interfaces to return `Resul…
kimpenhaus fddb472
Merge branch 'main' into result-pattern
kimpenhaus ac36c04
refactor: update controller and finalizer interfaces to return `Resul…
kimpenhaus e67f7b7
Merge remote-tracking branch 'origin/result-pattern' into result-pattern
kimpenhaus d31a132
refactor: mark `OperatorBuilderGenerator` as `sealed` and use constan…
kimpenhaus 5e00fa3
feat: add FusionCache for resource watcher to enable L1 and L2 cachin…
kimpenhaus 6d8def6
refactor: optimize resource watcher cache handling and remove redunda…
kimpenhaus 3d2e607
refactor: enhance resource watcher cache configuration and logging scope
kimpenhaus f184048
refactor: rename cache extension methods and adjust visibility
kimpenhaus 9bcf9c0
Merge branch 'buehler:main' into entity_cache
kimpenhaus 5e4de87
refactor: update cache key prefix in `CacheExtensions` to use `CacheC…
kimpenhaus a8f2ba3
Merge remote-tracking branch 'origin/entity_cache' into entity_cache
kimpenhaus 8ce68a8
docs: add caching documentation and adjust sidebar positions
kimpenhaus 2a6f4fc
docs: enhance caching documentation with configuration examples and F…
kimpenhaus 275878b
Merge branch 'buehler:main' into result-pattern
kimpenhaus 66eef75
Merge branch 'entity_cache' into result-pattern
kimpenhaus d83914a
Merge branch 'main' into result-pattern
kimpenhaus 1ad141c
refactor(watcher): streamline deletion logic and update FusionCache d…
kimpenhaus 6ded18f
refactor(operator): remove unused FusionCache dependency from project…
kimpenhaus 9dce9df
feat(queue): add `RequeueType` and enhance requeue handling
kimpenhaus 12aeda4
refactor(reconciliation): introduce `Reconciler` to centralize entity…
kimpenhaus a9c122c
Merge branch 'dotnet:main' into result-pattern
kimpenhaus f1d20f6
feat(operator): add `IReconciler` registration in `OperatorBuilder`
kimpenhaus 4fc59eb
feat(reconciler): enhance finalizer management with configurable auto…
kimpenhaus fda45f2
refactor(generator): enhance syntax model resolution to support const…
kimpenhaus e875b83
feat(finalizer): fix identifier generation and add unit tests
kimpenhaus 84d97ef
test(finalizer): update and expand unit tests for entity finalizers
kimpenhaus d6d4b34
refactor(result): make `ErrorMessage` readonly and allow setting `Req…
kimpenhaus 5c935aa
refactor(queue): replace `TimedEntityQueue` with `ITimedEntityQueue` …
kimpenhaus b222cac
feat(operator): introduce `LeaderElectionType` for configurable leade…
kimpenhaus 88180ed
refactor(operator): expose `Settings` in `OperatorBuilder` and update…
kimpenhaus 9bee002
feat(queue): add logging to `TimedEntityQueue` and update test implem…
kimpenhaus 54c59b3
refactor(admission): seal `AdmissionStatus` and `MutationResult`; upd…
kimpenhaus 152a5aa
Merge branch 'dotnet:main' into result-pattern
kimpenhaus d48c2a5
refactor(reconciliation): migrate `Result` to `ReconciliationResult` …
kimpenhaus f9aa5cf
Merge remote-tracking branch 'origin/result-pattern' into result-pattern
kimpenhaus 415473c
refactor(syntax-receiver): update metadata names to reflect new recon…
kimpenhaus 9df73fc
refactor(reconciliation): update imports to reflect new `Reconciliati…
kimpenhaus 4f000e9
fix(reconciliation): ensure finalizers are executed for entities mark…
kimpenhaus d21719e
feat(watcher): integrate `FusionCache` for bookmark version caching i…
kimpenhaus c3b3af0
refactor(watcher): remove `FusionCache` usage for bookmark version ha…
kimpenhaus 2e21cb8
refactor(watcher): remove `FusionCache` dependency in `LeaderAwareRes…
kimpenhaus 5f5f3e8
feat(reconciliation): introduce `ReconciliationContext` and trigger s…
kimpenhaus efa9a91
refactor(queue): make `Enqueue` and `Remove` methods asynchronous
kimpenhaus b215401
refactor(queue): add `CancellationToken` support for `Enqueue` and `R…
kimpenhaus 5bd1a77
Merge branch 'dotnet:main' into result-pattern
kimpenhaus daeba95
refactor(queue): remove unused `Reconciliation` import in `EntityRequ…
kimpenhaus 24f2ca7
refactor(queue): add `JsonConstructor` to `RequeueEntry`
kimpenhaus 299f24e
Merge branch 'dotnet:main' into result-pattern
kimpenhaus 5b0fc66
refactor(reconciliation): consolidate event-specific reconciliation m…
kimpenhaus 254b646
refactor(tests): remove unused `Reconciliation` folder entry from `.c…
kimpenhaus a6e01ba
refactor(docs): update reconciliation methods and examples to use `Re…
kimpenhaus 53b2513
docs(operator): add advanced configuration guide and update related s…
kimpenhaus 515d4cd
test: add comprehensive unit tests for reconciliation and queue logic
kimpenhaus 8bd859b
test: extend reconciliation tests with finalizer handling and caching…
kimpenhaus 1ceb116
test: exclude test projects from code coverage analysis
kimpenhaus 7a65fed
chore(deps): upgrade `KubernetesClient` to version `18.0.5`
kimpenhaus 014a335
refactor: update object initialization to use object initializer shor…
kimpenhaus 464730a
refactor: apply object initializer shorthand and seal generator classes
kimpenhaus a8a1366
refactor: mark entities and tests as `sealed`, add null checks in fin…
kimpenhaus 812252c
refactor: adjust formatting for consistency and readability across te…
kimpenhaus ed5c140
refactor: fixed whitespace formatting
kimpenhaus 91f1caa
Merge branch 'k8s-client-v18' into result-pattern
kimpenhaus 58ea528
chore: add Apache 2.0 license headers and improve readability
kimpenhaus 1e63804
docs: remove details in finalizer configuration guide
kimpenhaus 18450f6
docs: update advanced configuration guide with time synchronization tip
kimpenhaus 42ea861
refactor: improve naming consistency
kimpenhaus b744026
Merge branch 'dotnet:main' into result-pattern
kimpenhaus 067a773
try to fix CodeQL recommendations: https://codeql.github.com/codeql-q…
kimpenhaus 17944e9
restore finalizer integration tests with new configuration options
kimpenhaus 8bc4345
fixed `No service for type` test issues
kimpenhaus 1289fa7
reconcile: move `Remove` calls to specific reconciliation methods
kimpenhaus cb78196
Merge branch 'main' into result-pattern
kimpenhaus 9824d93
refactor: enforce `sealed` keyword for entity-related classes and upd…
kimpenhaus fe6ba3f
refactor: remove `IsFailure` property in favor of `!IsSuccess` usage
kimpenhaus 7dadcbd
chore: updated readme.md to latest changes
kimpenhaus 0e01663
refactor: remove `InternalsVisibleTo` attribute from AssemblyInfo.cs
kimpenhaus c4358a9
log: upgrade log level from Debug to Warning for missing finalizer sc…
kimpenhaus f19ca77
refactor: update `RequeueEntry` and `TimedQueueEntry` to improve init…
kimpenhaus 6466988
refactor: replace factory method in `RequeueEntry` with object initia…
kimpenhaus dbc8643
refactor: add requeue strategy support and improve contextual logging…
kimpenhaus 6c5ef30
refactor: simplify `TryAdd` call in `TimedQueueEntry` with compact ob…
kimpenhaus 6f3f48d
refactor: convert `RequeueEntry` to readonly record struct for improv…
kimpenhaus 84fe20b
Merge branch 'main' into result-pattern
kimpenhaus d1b285f
log: downgrade log level from Warning to Information for missing fina…
kimpenhaus e5a5fb8
Merge branch 'main' into result-pattern
kimpenhaus d4aa7b8
Merge branch 'main' into result-pattern
kimpenhaus 310307e
Merge branch 'main' into result-pattern
kimpenhaus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.