BE | Live Docker integration tests (opt-in) (#89) - #96
Conversation
Ship execution/docker with a minimal Dockerfile and include it in the gemspec so gem installs can activate Sandbox isolation. Point Sandbox and PackageVerifier at the shared docker context path, with packaging tests as the gate (Closes #86).
Normalize gemspec spacing for RuboCop, ship docker/.dockerignore (Dir globs skip dotfiles), require it in PackageVerifier, and tighten the packaging test keep-alive CMD assertion from CodeRabbit feedback.
Document the MVP image contract, align the Dockerfile comments with runtime network-none isolation, add rake docker:build to tag evaluator-sandbox with the gem version and latest, and cover the contract with unit tests (Closes #87).
CI failed on Layout/TrailingEmptyLines for the docker:build task block.
Prefer versioned evaluator-sandbox image when Docker is available, build only if the image is missing, and leave container_id nil when Docker is unavailable so host execution stays fail-closed. Align rake docker:build with image_ref/latest tags (Closes #88).
Skip unless SKILL_BENCH_DOCKER_TESTS=1 and a Docker daemon is available. Prove RunCommand through a real container_id and that the container is cleaned up after Sandbox.run (Closes #89).
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI (base), Organization UI (inherited) Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
85c78a8 to
137d6af
Compare
Summary
SKILL_BENCH_DOCKER_TESTS=1RunCommandworks with a realcontainer_idand container is cleaned up afterSandbox.runCloses #89
Stacked on #95 / #88.
Test plan