Skip to content

Add explicit BuildKit state volume cleanup lane#891

Merged
shiny-code-bot merged 1 commit into
mainfrom
infra/runner-hygiene-buildkit-volume-cleanup
May 24, 2026
Merged

Add explicit BuildKit state volume cleanup lane#891
shiny-code-bot merged 1 commit into
mainfrom
infra/runner-hygiene-buildkit-volume-cleanup

Conversation

@shiny-code-bot
Copy link
Copy Markdown
Collaborator

Summary

  • add a separate remove_buildkit_state_volumes runner-host hygiene action
  • require explicit target volume names, matching policy allowlist, BuildKit state-volume naming, and zero container links from pre-apply evidence
  • wire the GitHub workflow and executor to run named docker volume rm under the existing host lock, while keeping bounded cache prune unchanged
  • document that this is not generic docker volume prune

Validation

  • uv run python -m unittest tests.test_runner_host_hygiene tests.test_runner_host_hygiene_executor
  • uv run python -m unittest tests.test_runner_host_hygiene tests.test_runner_host_hygiene_executor tests.test_filesystem_store tests.test_postgres_store tests.test_service
  • uv run --extra dev mypy control_plane tests
  • uv run --extra dev ruff check control_plane/contracts/runner_host_hygiene.py control_plane/cli_runner_lanes.py control_plane/workflows/runner_host_hygiene_executor.py tests/test_runner_host_hygiene.py tests/test_runner_host_hygiene_executor.py
  • uv run --extra dev ruff format --check control_plane/contracts/runner_host_hygiene.py control_plane/cli_runner_lanes.py control_plane/workflows/runner_host_hygiene_executor.py tests/test_runner_host_hygiene.py tests/test_runner_host_hygiene_executor.py
  • actionlint -config-file .github/actionlint.yaml .github/workflows/runner-host-hygiene.yml
  • git diff --check

JetBrains changed-file closeout was run; it reports only PyCharm interpreter package-resolution noise for uv-managed deps, with no code findings after fixing weak warnings.

@shiny-code-bot shiny-code-bot merged commit bb31ca2 into main May 24, 2026
12 checks passed
@shiny-code-bot shiny-code-bot deleted the infra/runner-hygiene-buildkit-volume-cleanup branch May 24, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants