Bootstrap runner registration host directory#1233
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
autoroot ($HOME/actions-runners) instead of root-owned/opt/actions-runners.config.shis missing in a new lane directory.run.shafter registration so post-registration inventory can observe the lane online.Live Evidence
The first live apply run proved the control-plane path but failed at host prep:
readyfailed/opt/actions-runners/cm-website-chris-testingcbusillo/odoo-tenant-cm-websiteThis PR fixes that root-owned directory assumption and the follow-on missing runner package assumption.
Verification
uv run python -m unittest tests.test_runner_lane_registrationuv run --extra dev ruff format --check control_plane/workflows/runner_lane_registration_executor.py tests/test_runner_lane_registration.pyuv run --extra dev ruff check control_plane/workflows/runner_lane_registration_executor.py tests/test_runner_lane_registration.pyuv run --extra dev mypy control_plane/workflows/runner_lane_registration_executor.py tests/test_runner_lane_registration.pygit diff --check