7ab35a5e2a
test / run tests/run_tests.py (pull_request) Successful in 14s
The module-level prepare_docker_bottle and launch_docker_bottle were trivial delegations from the platform class. Move their bodies onto DockerBottlePlatform.prepare and .launch directly. The launch method keeps the @contextmanager decorator; isinstance narrows BottlePlan to DockerBottlePlan at the entry point. Internal helpers (_run_agent_container, _provision_container, runsc_available) stay at module scope — they're stateless and don't benefit from self. No behavior change. Tests pass; dry-run output unchanged.