fix(e2e): restore macOS Docker VM compat comment after onboard refactor#5258
fix(e2e): restore macOS Docker VM compat comment after onboard refactor#5258hunglp6d wants to merge 1 commit into
Conversation
Commit 27ae4c3 extracted patchStagedDockerfile() from onboard.ts into sandbox-dockerfile-patch-flow.ts but dropped the design-intent comment that documents why darwinVmCompat=false for Docker builds. The openshell-gateway-upgrade-e2e test greps for this comment in onboard.ts as a design guard. Restore the comment in the new file and update the test to grep the correct path. Signed-off-by: Hung Le <hple@nvidia.com>
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
E2E Advisor RecommendationRequired E2E: None Full advisor summaryE2E Recommendation AdvisorBase: Required E2E
Optional E2E
New E2E recommendations
|
Vitest E2E Scenario RecommendationRequired Vitest E2E scenarios: Dispatch required Vitest E2E scenarios:
Full Vitest E2E advisor summaryVitest E2E Scenario AdvisorBase: Required Vitest E2E scenarios
Optional Vitest E2E scenarios
Relevant changed files
|
PR Review AdvisorFindings: 0 needs attention, 0 worth checking, 0 nice ideas Consider writing more tests for
This is an automated advisory review. A human maintainer must make the final merge decision. |
|
This is AI-generated issue, closed due to a fix of #5269 was merged |
Fixes #5261
✨ [AI-generated PR]
Summary
Commit
27ae4c3("refactor(onboard): extract dockerfile patch flow") movedpatchStagedDockerfile()fromonboard.tstosandbox-dockerfile-patch-flow.tsbut dropped the design-intent comment that documents whydarwinVmCompat=falsefor Docker builds. Theopenshell-gateway-upgrade-e2etest greps for this comment inonboard.tsas a design guard. This PR restores the comment in the new file and updates the test to grep the correct path.Related Issue
Changes
src/lib/onboard/sandbox-dockerfile-patch-flow.ts: Restore the// Docker-on-Colima uses normal container ownershipcomment above thefalse(darwinVmCompat) argument on line 148.test/e2e/test-openshell-gateway-upgrade.sh: Update the grep target fromsrc/lib/onboard.tstosrc/lib/onboard/sandbox-dockerfile-patch-flow.ts.Validation
Custom-e2e validation was not run — the available token lacks the
workflowscope required to push.github/workflows/custom-e2e.yaml. The fix is a mechanical comment restoration + grep path update with no behavioral change. Manual validation: runopenshell-gateway-upgrade-e2eon this branch.a3ae21b6eed8399099fd390bd45ad43e78218258openshell-gateway-upgrade-e2e (#80933852535)Type of Change
Verification
npx prek run --all-filespassesnpm testpassesAI Disclosure
Signed-off-by: Hung Le hple@nvidia.com