You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PKI test-escape features under #1292 repeat substantial shell mechanics for negative command results, TLS WatchStargates observation, and Pylon connection metrics. The repetition makes the features harder to read and maintain even though the operator-visible targets and expectations are the same.
Add shared strict-DSL primitives that keep every meaningful command target, TLS identity, Kubernetes context, timeout, metric, comparison, and expected value visible while hiding only command construction, polling, and output-format parsing.
Scope
Add generic assertions for a non-zero command result and for output containing one or all expected diagnostics.
Add a TLS WatchStargates command adapter with explicit endpoint, authority, CA secret, namespace, Kubernetes context, and observation duration.
Add a Pylon metrics observable with an explicit pod container selector, Kubernetes context, timeout, metric name, comparison, and expected connected-series count.
Preserve the real command result and command logs for outside-in debugging.
Document the shared vocabulary in tests/bdd/PLAN.md.
Add unit coverage for table validation, command construction, result handling, interpolation, and failure behavior.
The new steps follow the strict-DSL layering contract and do not hide profile export, cluster registration, stack installation, or function lifecycle actions.
Negative scenarios run the actual failing command and assert its non-zero result directly instead of converting rejection into shell success markers.
Positive WatchStargates observation requires a streamed snapshot before accepting the expected client deadline.
Pylon connection expectations remain fully visible in Gherkin.
go test -short ./... and golangci-lint run --config .golangci.yml ./... pass from tests/bdd.
By submitting this issue, you acknowledge that you are an assigned member of the NVCF development team and agree to follow the project code of conduct and contributing guidelines.
Description
The PKI test-escape features under #1292 repeat substantial shell mechanics for negative command results, TLS
WatchStargatesobservation, and Pylon connection metrics. The repetition makes the features harder to read and maintain even though the operator-visible targets and expectations are the same.Add shared strict-DSL primitives that keep every meaningful command target, TLS identity, Kubernetes context, timeout, metric, comparison, and expected value visible while hiding only command construction, polling, and output-format parsing.
Scope
WatchStargatescommand adapter with explicit endpoint, authority, CA secret, namespace, Kubernetes context, and observation duration.tests/bdd/PLAN.md.Definition of Done
WatchStargatesobservation requires a streamed snapshot before accepting the expected client deadline.go test -short ./...andgolangci-lint run --config .golangci.yml ./...pass fromtests/bdd.Parent and related work
By submitting this issue, you acknowledge that you are an assigned member of the NVCF development team and agree to follow the project code of conduct and contributing guidelines.