Skip to content

Comments

fix persistence 2#39

Merged
compscidr merged 3 commits intomainfrom
jason/fix-persistence-2
Jan 5, 2026
Merged

fix persistence 2#39
compscidr merged 3 commits intomainfrom
jason/fix-persistence-2

Conversation

@compscidr
Copy link
Owner

disable runner dereg when we have runner re-use

Copilot AI review requested due to automatic review settings January 5, 2026 19:43
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR enables runner persistence by disabling automatic deregistration when GitHub runners are reused. The change allows runners to remain registered with GitHub Actions between job executions, improving efficiency for environments with runner re-use.

  • Adds DISABLE_AUTOMATIC_DEREGISTRATION: 'true' environment variable to the runner container configuration
  • Bumps version from 0.1.0 to 0.1.2

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
roles/github_runner/tasks/main.yml Adds DISABLE_AUTOMATIC_DEREGISTRATION environment variable to prevent runner deregistration when containers are reused
galaxy.yml Updates collection version from 0.1.0 to 0.1.2 to reflect the persistence fix

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

license_file: LICENSE
readme: README.md
version: 0.1.1
version: 0.1.2
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The version is being bumped from 0.1.0 to 0.1.2, skipping 0.1.1. Consider whether this skip is intentional or if the version should be 0.1.1 instead. If version 0.1.1 was previously released, this is correct; otherwise, following sequential versioning would be more conventional.

Suggested change
version: 0.1.2
version: 0.1.1

Copilot uses AI. Check for mistakes.
@@ -25,6 +25,7 @@
{
'ACCESS_TOKEN': github_runner_personal_access_token,
'DISABLE_AUTO_UPDATE': 'true',
Copy link

Copilot AI Jan 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The new DISABLE_AUTOMATIC_DEREGISTRATION environment variable is not verified in the test suite. Consider adding a test assertion in the verify.yml files to ensure this environment variable is correctly set in the container configuration, similar to how other environment variables like REPO_URL and RUNNER_SCOPE are verified.

Copilot uses AI. Check for mistakes.
@compscidr compscidr merged commit a94bc3d into main Jan 5, 2026
5 checks passed
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