Skip to content

Conversation

@xrstf
Copy link
Contributor

@xrstf xrstf commented Feb 17, 2025

Summary

This PR adds 3 new tests for the bare minimum syncing logic: No related objects, no mutations, just copy from kcp to envtest. And even with that, I randomly discovered that we never implemented the resource filtering support, which this PR now fixes.

Related issue(s)

part of #16

Release Notes

* Implement `spec.filter` in a PublishedResource to filter out unwanted remote objects (i.e. objects in kcp).
* Fix errors in log because of race condition when creating namespaces.

@kcp-ci-bot kcp-ci-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has signed the DCO. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Feb 17, 2025
Copy link
Member

@embik embik left a comment

Choose a reason for hiding this comment

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

/approve

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Feb 20, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: a34314f3ea4935506291a8668e118d1c93f28027

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: embik

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 20, 2025
@kcp-ci-bot kcp-ci-bot merged commit cc43154 into main Feb 20, 2025
12 checks passed
@kcp-ci-bot kcp-ci-bot deleted the sync-tests branch February 20, 2025 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants