fix(e2e): cross-platform Docker isolation for e2e-walkthrough #600
Reference in New Issue
Block a user
Delete Branch "fix/e2e-walkthrough-cross-platform"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Fix e2e-walkthrough.yaml to work correctly on macOS (previously only tested on Linux).
Why
Three cross-platform bugs caused failures and host corruption:
-v $HOME:$HOMElet container bun install overwrite host bun binary (Linux ARM64 replaced macOS ARM64)~/repos/workflowpath did not exist on macOSChanges
-v $(pwd):/workspace:ro+cp -rinside container-e HOME=/rootisolates bun/npm installs--add-host=host.docker.internal:host-gateway(Linux compat)docker cphost config +sedrewrite localhost → host.docker.internal$(pwd)and/root/workflowinstead of hardcoded pathsdebate.yamlinstead ofsolve-issue.yaml(no $SUSPEND dep);--status cancelledfixVerification
Full 6-step walkthrough passes on macOS, host bun binary intact after run:
LGTM ✅
三个跨平台问题修得干净:
:romount +cp -r隔离,防止 bun install 覆盖宿主 binaryhost.docker.internal解决容器内访问宿主 LLM--status cancelled修正 typodebate.yaml替代solve-issue.yaml避免 $SUSPEND 依赖也合理。