Skip to content

docs(integration): point envtest setup to make envtest-setup#39

Merged
ontave merged 5 commits into
mainfrom
session/23-envtest-setup
May 6, 2026
Merged

docs(integration): point envtest setup to make envtest-setup#39
ontave merged 5 commits into
mainfrom
session/23-envtest-setup

Conversation

@ontave
Copy link
Copy Markdown
Contributor

@ontave ontave commented May 5, 2026

Summary

  • Updates suite_test.go comment to reference make envtest-setup && export KUBEBUILDER_ASSETS=$(make -s envtest-path) instead of the stale /tmp/envtest-bins/k8s/1.35.0-linux-amd64 path
  • /tmp is ephemeral (wiped on reboot) and 1.35.0 was not the pinned version -- replaced with the canonical Makefile target (1.32.x, matching ccs-mgmt)

Test plan

  • go test ./test/integration/... passes with KUBEBUILDER_ASSETS set via make envtest-path

ontave added 5 commits May 3, 2026 19:44
…rd, tenant machineConfigPaths, lineage status
Governor directive (session/21): CODEBASE.md eliminated from all repos.
The graphify knowledge graph at ~/ontai/graphify-out/graph.json is the
sole authoritative source for codebase understanding. See root CONTEXT.md
and CLAUDE.md for the Graphify Source of Truth Protocol.
…tarts

Two bugs in hardeningApplyHandler that could destroy cluster nodes or take
down the VIP:

1. VIP filtering in EndpointsFromTalosconfig (adapters.go)
   Adds clusterEndpoint field to talosConfigCtx. When set, the VIP is
   excluded from the endpoint fallback list before returning. Without this,
   the VIP address was included in the per-node iteration, causing
   GetMachineConfig to read from the VIP-holding node and ApplyConfiguration
   to apply only to that node -- silently skipping all other control-plane
   nodes. If the talosconfig contains only the VIP after filtering, an error
   is returned rather than an empty list that would silently skip all nodes.

2. Stabilization wait between nodes (platform_security.go)
   After applying machineconfig patches to a node, waitForNodeStable polls
   Health() until the node is responsive before proceeding to the next node.
   No-reboot applies can briefly restart kubelet or other services. Without
   the wait, sequential rapid application across all control-plane nodes can
   produce overlapping restarts, losing etcd quorum and taking down the VIP.
   The wait is skipped after the last node.

New tests: TestEndpointsFromTalosconfig_ClusterEndpointFiltered,
TestEndpointsFromTalosconfig_ClusterEndpointOnlyReturnsError,
TestHardeningApply_StabilizationWaitBetweenNodes.
Execute mode dispatches via Resolve; agent mode uses RegisteredNames for
the capability manifest only and never calls Execute. One registry keeps
the manifest and implementation set in sync by construction.
Replace /tmp/envtest-bins/1.35.0 (ephemeral, stale version) with the
canonical ontai root Makefile target: make envtest-setup && export
KUBEBUILDER_ASSETS=$(make -s envtest-path). Pinned to K8s 1.32.x.
@ontave ontave merged commit ae4c4ac into main May 6, 2026
2 checks passed
@ontave ontave deleted the session/23-envtest-setup branch May 6, 2026 17:56
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