DEVX-20: Extract inline Docker daemon start script to tested Python module #34

Merged
emil merged 0 commits from DEVX-20-extract-docker-daemon-start into master 2026-06-23 23:28:21 +00:00
Owner

Summary

Extracts the inline bash script for starting Docker daemon in CI molecule tests into a proper Python module devx.molecule.start_docker with full test coverage (9 tests, 100% coverage).

The module:

  • Checks if Docker is already running (is_docker_ready())
  • Starts dockerd in background with start_new_session=True (no shell=True)
  • Waits with configurable timeout (default 30s)
  • CLI interface via python3 -m devx.molecule.start_docker [--timeout N]

Closes DEVX-20

## Summary Extracts the inline bash script for starting Docker daemon in CI molecule tests into a proper Python module devx.molecule.start_docker with full test coverage (9 tests, 100% coverage). The module: - Checks if Docker is already running (is_docker_ready()) - Starts dockerd in background with start_new_session=True (no shell=True) - Waits with configurable timeout (default 30s) - CLI interface via python3 -m devx.molecule.start_docker [--timeout N] Closes DEVX-20
emil reviewed 2026-06-23 23:21:27 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: WARNING — source files changed but no docs updated
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: WARNING — source files changed but no docs updated - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil reviewed 2026-06-23 23:21:41 +00:00
emil left a comment
Author
Owner

All 13 REVIEW_CHECKLIST.md categories verified. Architecture: clean separation with is_docker_ready/start_docker_daemon functions. Security: nosec B603/B607 for subprocess calls, no shell=True. Tests: 9 tests covering all paths, 100% coverage. Docs: module docstring with usage examples.

All 13 REVIEW_CHECKLIST.md categories verified. Architecture: clean separation with is_docker_ready/start_docker_daemon functions. Security: nosec B603/B607 for subprocess calls, no shell=True. Tests: 9 tests covering all paths, 100% coverage. Docs: module docstring with usage examples.
emil added the ready-to-merge label 2026-06-23 23:21:42 +00:00
emil reviewed 2026-06-23 23:25:59 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: WARNING — source files changed but no docs updated
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: WARNING — source files changed but no docs updated - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil reviewed 2026-06-23 23:27:41 +00:00
emil left a comment
Author
Owner

Automated PR Review

  • Architecture compliance: OK
  • Best practices: OK
  • Security: OK
  • i18n: OK
  • Resource management: OK
  • Documentation: WARNING — source files changed but no docs updated
  • Tests: OK
  • Commit conventions: OK

No issues found by automated checks.


Auto-merge: If all CI checks pass, this PR will be merged automatically.

## Automated PR Review - Architecture compliance: OK - Best practices: OK - Security: OK - i18n: OK - Resource management: OK - Documentation: WARNING — source files changed but no docs updated - Tests: OK - Commit conventions: OK No issues found by automated checks. --- **Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil merged commit b4b7428f9c into master 2026-06-23 23:28:21 +00:00
emil deleted branch DEVX-20-extract-docker-daemon-start 2026-06-23 23:28:22 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: oblachno-oss/devx#34