Skip to content

Improve apply() logic#718

Merged
averevki merged 1 commit intoKuadrant:mainfrom
averevki:remove-apply-asserts
Aug 5, 2025
Merged

Improve apply() logic#718
averevki merged 1 commit intoKuadrant:mainfrom
averevki:remove-apply-asserts

Conversation

@averevki
Copy link
Copy Markdown
Contributor

@averevki averevki commented Jul 31, 2025

Also removed related asserts from dns tests, leftover from #654

Verification steps

make dnstls, make testsuite/tests/singlecluster/gateway/reconciliation/change_targetref

@averevki averevki requested a review from emmaaroche July 31, 2025 15:17
@averevki averevki added the refactor Refactor with same functionality label Jul 31, 2025
@averevki averevki self-assigned this Jul 31, 2025
@averevki averevki force-pushed the remove-apply-asserts branch from 4a168ab to a56c9e9 Compare July 31, 2025 15:22
Signed-off-by: averevki <sandyverevkin@gmail.com>
@averevki averevki force-pushed the remove-apply-asserts branch from a56c9e9 to 8a3813a Compare July 31, 2025 15:26
Copy link
Copy Markdown
Contributor

@emmaaroche emmaaroche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 Encountered a few test failures while running the verification steps, but confirmed they are unrelated to the apply() refactor or the removed assertions.

@averevki averevki merged commit 4f8d7e3 into Kuadrant:main Aug 5, 2025
3 checks passed
@averevki averevki deleted the remove-apply-asserts branch August 5, 2025 16:38
@azgabur
Copy link
Copy Markdown
Member

azgabur commented Aug 6, 2025

Most important place where modify_and_apply is still used is here:

result, _ = self.modify_and_apply(_custom_partial(func, *args, **kwargs))

was it migrated to apply?

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

Labels

refactor Refactor with same functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants