Skip to content

Move privileged worker probe to entrypoint - #2232

Merged
cbusillo merged 2 commits into
mainfrom
fix/2219-worker-runtime-store-deadline
Aug 24, 2026
Merged

Move privileged worker probe to entrypoint#2232
cbusillo merged 2 commits into
mainfrom
fix/2219-worker-runtime-store-deadline

Conversation

@cbusillo

Copy link
Copy Markdown
Owner

Summary

  • run the privileged-operation schema probe in the container entrypoint before the worker Python process starts
  • enforce a fixed 90-second GNU timeout with fail-closed timeout, killed, and probe-failure telemetry
  • isolate the probe from unrelated privileged worker environment values
  • pass one-time completion evidence through an inherited, unlinked file descriptor
  • refuse direct continuous-worker startup without that supervised evidence
  • remove the in-process Python subprocess path that could block before its timeout began

Validation

  • uv run --extra dev launchplane ci unittest-shard local (3,080 targets)
  • uv run --extra dev mypy control_plane tests
  • focused Ruff and format checks
  • ShellCheck and shfmt
  • production container build
  • real container + PostgreSQL smoke emitted startup, schema probe, store initialized, first poll, and poll succeeded
  • two independent final reviews: approved

Refs #2219

@cbusillo
cbusillo merged commit d4c3b7b into main Aug 24, 2026
32 checks passed
@cbusillo
cbusillo deleted the fix/2219-worker-runtime-store-deadline branch August 24, 2026 10:22
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