Skip to content

Felix watches bgpPeer and process localWorkloadSelector. - #8

Open
song-jiang wants to merge 1 commit into
masterfrom
song-2
Open

Felix watches bgpPeer and process localWorkloadSelector.#8
song-jiang wants to merge 1 commit into
masterfrom
song-2

Conversation

@song-jiang

Copy link
Copy Markdown
Owner

Description

Related issues/PRs

Todos

  • Tests
  • Documentation
  • Release note

Release Note

TBD

Reminder for the reviewer

Make sure that this PR has the correct labels and milestone set.

Every PR needs one docs-* label.

  • docs-pr-required: This change requires a change to the documentation that has not been completed yet.
  • docs-completed: This change has all necessary documentation completed.
  • docs-not-required: This change has no user-facing impact and requires no docs.

Every PR needs one release-note-* label.

  • release-note-required: This PR has user-facing changes. Most PRs should have this label.
  • release-note-not-required: This PR has no user-facing changes.

Other optional labels:

  • cherry-pick-candidate: This PR should be cherry-picked to an earlier release. For bug fixes only.
  • needs-operator-pr: This PR is related to install and requires a corresponding change to the operator.

song-jiang pushed a commit that referenced this pull request Mar 30, 2026
song-jiang added a commit that referenced this pull request Jun 3, 2026
- Replace Feature:KubeVirt-KIND with RequiresRealKubeVirt requirement label
  so KIND lane includes Feature:KubeVirt and excludes RequiresRealKubeVirt
  instead of double-tagging tests with two features (Casey #1).
- Add back isKINDCluster guards with explicit failure messages explaining
  why the test cannot run on KIND (Casey #2).
- Split live_migration_kind.go: move helpers (kindBIRDPeer, setupKindEBGPPeering,
  expectMigrationFailed) into utils.go, keep only test suite in the file (Casey #3).
- Use existing WithExternalNode() label instead of RequiresExternalNode()
  to avoid duplicate labels with same semantics (skoryk #7).
- Move WithSerial() from describe block to eBGP It only — other tests
  are namespace-scoped and parallel-safe (skoryk #8).
- Add nil guard for net.ParseIP().To4() in querySnapshot and
  queryTORSnapshot to prevent panic on malformed/IPv6 input (skoryk #9).
- Remove duplicate NetworkPolicy test from live_migration.go — the KIND
  ICMP version provides equivalent coverage without requiring a real
  guest OS (skoryk projectcalico#10).
- Randomize BIRD container name with GenerateRandomName to prevent
  collisions on parallel runs (skoryk projectcalico#11).
- Change queryWorkerMetric to return (int, error) so failures surface
  the real cause instead of hiding it behind a -1 sentinel (skoryk projectcalico#13).
- Add non-go:/e2e/pkg/ to CHANGE_IN macro so test file changes trigger
  the KubeVirt KIND CI lane (skoryk projectcalico#14).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
song-jiang added a commit that referenced this pull request Jun 3, 2026
- Replace Feature:KubeVirt-KIND with RequiresRealKubeVirt requirement label
  so KIND lane includes Feature:KubeVirt and excludes RequiresRealKubeVirt
  instead of double-tagging tests with two features (Casey #1).
- Add back isKINDCluster guards with explicit failure messages explaining
  why the test cannot run on KIND (Casey #2).
- Split live_migration_kind.go: move helpers (kindBIRDPeer, setupKindEBGPPeering,
  expectMigrationFailed) into utils.go, keep only test suite in the file (Casey #3).
- Use existing WithExternalNode() label instead of RequiresExternalNode()
  to avoid duplicate labels with same semantics (skoryk #7).
- Move WithSerial() from describe block to eBGP It only — other tests
  are namespace-scoped and parallel-safe (skoryk #8).
- Add nil guard for net.ParseIP().To4() in querySnapshot and
  queryTORSnapshot to prevent panic on malformed/IPv6 input (skoryk #9).
- Remove duplicate NetworkPolicy test from live_migration.go — the KIND
  ICMP version provides equivalent coverage without requiring a real
  guest OS (skoryk projectcalico#10).
- Randomize BIRD container name with GenerateRandomName to prevent
  collisions on parallel runs (skoryk projectcalico#11).
- Change queryWorkerMetric to return (int, error) so failures surface
  the real cause instead of hiding it behind a -1 sentinel (skoryk projectcalico#13).
- Add non-go:/e2e/pkg/ to CHANGE_IN macro so test file changes trigger
  the KubeVirt KIND CI lane (skoryk projectcalico#14).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
song-jiang added a commit that referenced this pull request Jun 3, 2026
- Replace Feature:KubeVirt-KIND with RequiresRealKubeVirt requirement label
  so KIND lane includes Feature:KubeVirt and excludes RequiresRealKubeVirt
  instead of double-tagging tests with two features (Casey #1).
- Add back isKINDCluster guards with explicit failure messages explaining
  why the test cannot run on KIND (Casey #2).
- Split live_migration_kind.go: move helpers (kindBIRDPeer, setupKindEBGPPeering,
  expectMigrationFailed) into utils.go, keep only test suite in the file (Casey #3).
- Use existing WithExternalNode() label instead of RequiresExternalNode()
  to avoid duplicate labels with same semantics (skoryk #7).
- Move WithSerial() from describe block to eBGP It only — other tests
  are namespace-scoped and parallel-safe (skoryk #8).
- Add nil guard for net.ParseIP().To4() in querySnapshot and
  queryTORSnapshot to prevent panic on malformed/IPv6 input (skoryk #9).
- Remove duplicate NetworkPolicy test from live_migration.go — the KIND
  ICMP version provides equivalent coverage without requiring a real
  guest OS (skoryk projectcalico#10).
- Randomize BIRD container name with GenerateRandomName to prevent
  collisions on parallel runs (skoryk projectcalico#11).
- Change queryWorkerMetric to return (int, error) so failures surface
  the real cause instead of hiding it behind a -1 sentinel (skoryk projectcalico#13).
- Add non-go:/e2e/pkg/ to CHANGE_IN macro so test file changes trigger
  the KubeVirt KIND CI lane (skoryk projectcalico#14).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
song-jiang added a commit that referenced this pull request Jun 3, 2026
- Replace Feature:KubeVirt-KIND with RequiresRealKubeVirt requirement label
  so KIND lane includes Feature:KubeVirt and excludes RequiresRealKubeVirt
  instead of double-tagging tests with two features (Casey #1).
- Add back isKINDCluster guards with explicit failure messages explaining
  why the test cannot run on KIND (Casey #2).
- Split live_migration_kind.go: move helpers (kindBIRDPeer, setupKindEBGPPeering,
  expectMigrationFailed) into utils.go, keep only test suite in the file (Casey #3).
- Use existing WithExternalNode() label instead of RequiresExternalNode()
  to avoid duplicate labels with same semantics (skoryk #7).
- Move WithSerial() from describe block to eBGP It only — other tests
  are namespace-scoped and parallel-safe (skoryk #8).
- Add nil guard for net.ParseIP().To4() in querySnapshot and
  queryTORSnapshot to prevent panic on malformed/IPv6 input (skoryk #9).
- Remove duplicate NetworkPolicy test from live_migration.go — the KIND
  ICMP version provides equivalent coverage without requiring a real
  guest OS (skoryk projectcalico#10).
- Randomize BIRD container name with GenerateRandomName to prevent
  collisions on parallel runs (skoryk projectcalico#11).
- Change queryWorkerMetric to return (int, error) so failures surface
  the real cause instead of hiding it behind a -1 sentinel (skoryk projectcalico#13).
- Add non-go:/e2e/pkg/ to CHANGE_IN macro so test file changes trigger
  the KubeVirt KIND CI lane (skoryk projectcalico#14).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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