Skip to content

Restore green CI on main after the NAT datapath rename - #540

Merged
scotwells merged 1 commit into
mainfrom
fix/caps-tests-after-nat-rename
Sep 13, 2026
Merged

scotwells merged 1 commit into
mainfrom
fix/caps-tests-after-nat-rename

Conversation

@scotwells

Copy link
Copy Markdown
Contributor

Every contributor's CI on main is failing Lint, Build, and Unit Tests. This change restores it, and restores a guard that keeps the uSID datapath loadable on nodes without elevated verifier privileges.

#536 added capability-restricted load tests while #525 renamed the NAT datapath. The two merged cleanly but were never tested together, so the NAT test landed in a package that no longer exists. It now targets the renamed datapath and its deployment. The running datapath was never affected.

#537 granted PERFMON to galactic-cni. The uSID capability test reads its capabilities from that deployment, so it silently stopped checking that the datapath loads without PERFMON, which is the regression #536 was written to catch. The test now also loads without PERFMON, so reintroducing that dependency fails CI whatever the deployment grants.

The uSID datapath no longer needs PERFMON to load. This change leaves the grant in place so the maintainers can decide whether to keep it.

🤖 Generated with Claude Code

The NAT capability test landed in the pre-rename nat66prog package after
the NAT datapath moved to natprog, leaving a test-only package that no
longer compiles and failing lint, build, and unit tests on main. It now
targets the natprog package, the galactic-nat manifest, and its
galactic-nat container.

The uSID capability test read galactic-cni's capabilities from the
manifest, which now grants PERFMON, so it stopped guarding against the
variable packet pointer offsets it was written to catch. It now also
loads with the manifest's capabilities minus PERFMON.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@scotwells
scotwells requested a review from a team as a code owner September 13, 2026 14:31
@scotwells
scotwells requested review from ecv and privateip September 13, 2026 14:31
@scotwells
scotwells merged commit 4c0c45f into main Sep 13, 2026
18 checks passed
@scotwells
scotwells deleted the fix/caps-tests-after-nat-rename branch September 13, 2026 14:50
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.

2 participants