Skip to content

Persist runner host hygiene audits#875

Merged
cbusillo merged 1 commit into
mainfrom
infra/runner-host-hygiene-audit-storage
May 23, 2026
Merged

Persist runner host hygiene audits#875
cbusillo merged 1 commit into
mainfrom
infra/runner-host-hygiene-audit-storage

Conversation

@cbusillo
Copy link
Copy Markdown
Owner

Summary

  • add Launchplane-owned filesystem and Postgres storage for runner-host hygiene audit records
  • add an Alembic migration for launchplane_runner_host_hygiene_audits, including idempotent upgrade behavior for stamped schemas that already have the ORM-created table
  • document the audit record family and cover storage/import round trips

Validation

  • uv run python -m unittest tests.test_filesystem_store tests.test_postgres_store
  • uv run --extra dev ruff check control_plane/storage/filesystem.py control_plane/storage/postgres.py control_plane/storage/migrations/versions/c3e5f7a9b1d2_add_runner_host_hygiene_audits.py tests/test_filesystem_store.py tests/test_postgres_store.py
  • uv run --extra dev ruff format --check control_plane/storage/filesystem.py control_plane/storage/postgres.py control_plane/storage/migrations/versions/c3e5f7a9b1d2_add_runner_host_hygiene_audits.py tests/test_filesystem_store.py tests/test_postgres_store.py
  • uv run --extra dev mypy control_plane/storage/filesystem.py control_plane/storage/postgres.py control_plane/storage/migrations/versions/c3e5f7a9b1d2_add_runner_host_hygiene_audits.py tests/test_filesystem_store.py tests/test_postgres_store.py
  • git diff --check
  • JetBrains inspection, changed files: clean

Refs #474

@cbusillo cbusillo merged commit 07696ab into main May 23, 2026
12 checks passed
@cbusillo cbusillo deleted the infra/runner-host-hygiene-audit-storage branch May 23, 2026 20:16
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.

1 participant