fix: RA2.3 README test command references missing 90-pod.yaml - #215
Conversation
Greptile SummaryThe PR corrects the Spectrum-X RA2.3 testing instructions and adds a regression check for the documented manifest workflow.
Confidence Score: 5/5The PR appears safe to merge. No blocking failure remains. Important Files Changed
Reviews (3): Last reviewed commit: "fix: RA2.3 README test command reference..." | Re-trigger Greptile |
2b12d97 to
91befb9
Compare
|
@greptile-apps thanks — updated the README to use the generated manifest path ( |
|
The README update looks good — the path and DaemonSet name are now accurate. However, there's a test alignment issue worth flagging. The test script in the PR description checks for: grep -qE '\b90-example-daemonset\.yaml\b' "$README"But the README now contains The check needs to be loosened to match the actual string, e.g.: Or more precisely (to avoid false positives while still allowing the identifier suffix): Similarly, the DaemonSet name check (if one exists) would need to match |
Update the RA2.3 Spectrum-X README testing section to apply the generated example DaemonSet manifest and derive the actual bounded DaemonSet name from the rendered file. This avoids rollout/exec failures when long group identifiers are truncated and hashed in the Kubernetes object name. Add tests/spectrum-x/readme_test.sh to guard against regressions in the README testing instructions. Signed-off-by: andrewwhitecdw <andrewwhitecdw@users.noreply.github.com>
91befb9 to
5622f7b
Compare
|
@greptile-apps thanks for the follow-up. I addressed both points:
Pushed as commit |
|
Both points are addressed cleanly. A few observations: README ( Test script alignment: The three checks now match the README content:
One minor nit on the test: the Everything looks good. The changes are well-scoped, the test guards the right behaviors, and the README now handles both the naming and the bounded-name truncation case correctly. LGTM. |
This PR corrects the documentation in
profiles/spectrum-x/README.md: RA2.3 README test command references missing 90-pod.yaml.Changes
profiles/spectrum-x/README.md: RA2.3 README test command references missing 90-pod.yaml, and documents deriving the actual bounded DaemonSet name from the rendered manifest so long identifiers do not fail.tests/spectrum-x/readme_test.sh: add a regression test that verifies the README no longer references the obsolete Pod manifest, references the generated DaemonSet manifest (with optional identifier suffix), and documents bounded-name lookup.Details
-Check the pod has access to all rails:
+Wait for the DaemonSet to be ready, then run a command in one of its pods.
+Because Kubernetes object names are bounded to 63 characters, the DaemonSet
+name inside the manifest may differ from the filename identifier when the
+group identifier is long. Extract the actual name from the rendered manifest
+(replace
<identifier>with the group identifier from your generated filename):Contributor guidelines
Per this repo's CONTRIBUTING.md:
Signed-off-bytrailer, DCO).