Skip to content

test(e2e): describe direct blueprint checks accurately - #10912

Merged
cv merged 1 commit into
mainfrom
fix/blueprint-validation-label
Sep 2, 2026
Merged

cv merged 1 commit into
mainfrom
fix/blueprint-validation-label

Conversation

@cv

@cv cv commented Sep 2, 2026 •

Copy link
Copy Markdown
Collaborator

Outcome

Corrects the E2E blueprint-validation step so its name and diagnostics describe the boundary it actually exercises.

Reason

The step parses the packaged blueprint and base policy directly with YAML. It does not call a compiled NemoClaw validator, so the previous “compiled TypeScript” wording overstated its evidence. This was identified by the Behavior specialist in PR Advisor run 33691244770.

Changes

  • Rename the step as direct blueprint profile and policy YAML contract validation.
  • Replace the stale reference to a nonexistent validation test and compiled-TypeScript execution.
  • Update pass and failure diagnostics to match the direct YAML checks.

The profile and policy assertions are unchanged. Adding a new production validator would expand runtime behavior without a current product requirement, so this follow-up takes the Advisor's smaller recommended correction.

Verification

  • npm run validate:pr: passed.
  • npm run checks:repository: passed.
  • bash -n test/e2e-test.sh: passed.
  • git diff --check: passed.
  • Local Behavior Advisor review: no behavior issue in the changed area.

Documentation

No user-facing behavior or documentation changed.

Refs #10908.

Signed-off-by: Carlos Villela [email protected]

Summary by CodeRabbit

  • Tests
    • Updated blueprint profile testing to validate profile and base-policy YAML contracts directly.
    • Revised test success and failure messages to reflect the updated validation approach.

@cv cv self-assigned this Sep 2, 2026
@coderabbitai

coderabbitai Bot commented Sep 2, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: d79cec12-7fa3-4787-93a2-eb6a27e540ef

📥 Commits

Reviewing files that changed from the base of the PR and between fe18b2f and 3e9812d.

📒 Files selected for processing (1)
  • test/e2e-test.sh

Included review availability: Your plan provides up to 12 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The end-to-end test now describes direct validation of blueprint profile and base-policy YAML contracts. Success and failure messages use YAML contract terminology instead of compiled TypeScript validation.

Changes

Blueprint YAML validation

Layer / File(s) Summary
Update YAML contract validation messaging
test/e2e-test.sh
The test title, comment, and validation result messages now refer to blueprint profile and policy YAML contract validation.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to 3e981

This change only aligns E2E test names and diagnostics with the direct YAML checks already performed, without changing the assertions or product behavior. No actionable merge-blocking risk remains after normal checks and review.

Suggested reviewers: aasthajh

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: updating the E2E test description to reflect direct blueprint checks.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/blueprint-validation-label

Comment @coderabbitai help to get the list of available commands.

@github-code-quality

Copy link
Copy Markdown
Contributor

Code Coverage Overview

Languages: TypeScript

TypeScript / code-coverage/plugin

The overall line coverage in commit 3e9812d in the fix/blueprint-valida... branch remains at 96%, unchanged from commit fe18b2f in the main branch.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

PR Review Advisor finished for commit 3e9812d. Include the Advisor findings in the complete PR feedback collection. Verify and group valid findings before repair.

All previous runs

@cv
cv merged commit 877d5c3 into main Sep 2, 2026
81 of 82 checks passed
@cv
cv deleted the fix/blueprint-validation-label branch September 2, 2026 23:09
@wscurran wscurran added the chore Build, CI, dependency, or tooling maintenance label Sep 9, 2026
@wscurran wscurran added the area: e2e End-to-end tests, nightly failures, or validation infrastructure label Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: e2e End-to-end tests, nightly failures, or validation infrastructure chore Build, CI, dependency, or tooling maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants