fix(e2e): accept non-root WhatsApp QR preload owner - #4671
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)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe PR accepts ChangesWhatsApp E2E assertion and test
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. |
Selective E2E Results — ✅ All requested jobs passedRun: 26825869185
|
|
Addressed the advisor follow-up in 8f05400.
Focused verification passed: bash -n test/e2e/test-messaging-providers.sh; npx prek run shfmt --files test/e2e/test-messaging-providers.sh; git diff --check; npx vitest run --project cli test/e2e-script-workflow.test.ts. |
Selective E2E Results — ✅ All requested jobs passedRun: 26827213224
|
Summary
The messaging providers E2E check now accepts the non-root sandbox owner for the WhatsApp compact QR preload while still requiring read-only mode. This matches
emit_sandbox_sourced_file()behavior when the sandbox setup runs without UID 0 and avoids failing the nightly messaging-providers job on a harmless owner difference.Related Issue
Fixes #4636
Changes
/tmp/nemoclaw-whatsapp-qr-compact.jsassandbox:444in non-root sandbox mode.root:444, missing-file, and unexpected-mode branches.444.Type of Change
Verification
bash -n test/e2e/test-messaging-providers.shpasses.git diff --checkpasses.npx vitest run --project cli test/e2e-script-workflow.test.tspasses.npx prek run --all-filesran but failed on an unrelated existing timeout:test/cli.test.ts > CLI dispatch > channels mutation dry-run paths dispatch through oclif.npx prek run --all-filespassesnpm testpassesnpm run docsbuilds without warnings (doc changes only)Signed-off-by: San Dang sdang@nvidia.com
Summary by CodeRabbit