fix(e2e): install workflow target ref in public onboard tests - #4214
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThis PR updates the nightly E2E workflow to use ChangesE2E Public Installer Reference Updates
Estimated Code Review Effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested Labels
Suggested Reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
E2E Advisor RecommendationRequired E2E: None Dispatch hint: Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
Dispatch hint
|
E2E Scenario Advisor RecommendationRequired scenario E2E: None Full scenario advisor summaryE2E Scenario AdvisorBase: Required scenario E2E
Optional scenario E2E
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 0 worth checking, 0 nice ideas This is an automated advisory review. A human maintainer must make the final merge decision. |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@test/validate-e2e-coverage.test.ts`:
- Around line 148-179: The test currently validates NEMOCLAW_PUBLIC_INSTALL_REF
but doesn't assert the job's checkout ref; update the same loop in the "public
installer E2Es install the workflow target ref" test to locate the
actions/checkout step in each job (inspect jobs[jobName].steps and find a step
whose uses startsWith('actions/checkout')) and assert that that step has a
with.ref equal to "${{ inputs.target_ref || github.ref }}"; if missing or
different push an entry onto invalid (e.g., `${jobName}
checkout.ref=${String(checkoutStep?.with?.ref)}`) so the expect(...).toEqual([])
will fail. Use the existing publicInstallerJobs and getStepEnv pattern and
reference the jobs variable and getStepEnv/getStep lookup logic when making the
change.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: d7a67d77-4e09-4f1a-8cde-8a7554834c58
📒 Files selected for processing (3)
.github/workflows/nightly-e2e.yamltest/e2e/test-cloud-onboard-e2e.shtest/validate-e2e-coverage.test.ts
Selective E2E Results — ✅ All requested jobs passedRun: 26432294170
|
Selective E2E Results — ✅ All requested jobs passedRun: 26432288111
|
Summary
inputs.target_ref || github.shathrough to the public installer path forcloud-onboard-e2emainValidation
npx vitest run test/validate-e2e-coverage.test.ts --reporter=verbosebash -n test/e2e/test-cloud-onboard-e2e.sh test/e2e/test-openclaw-tui-chat-correlation.shgit diff --checknpm run typecheck:cliSummary by CodeRabbit
Tests
Chores