Skip to content

Re-create the listener when GitHub secret is updated #4036

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

nikola-jokic
Copy link
Collaborator

When the GitHub secret is updated, the change is not reflected in the listener config.

If the GitHub secret is updated, the listener spec hash should be recalculated to reflect the new secret. The listener identity should be defined by its spec and the secret it uses to instantiate the actions client. Therefore, this change should include the secret's spec hash so the entire AutoscalingListener is re-created when the secret is updated.

Fixes #4029

@nikola-jokic nikola-jokic added the gha-runner-scale-set Related to the gha-runner-scale-set mode label Apr 14, 2025
@Copilot Copilot AI review requested due to automatic review settings April 14, 2025 08:41
Copy link
Contributor

@Copilot 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.

Copilot reviewed 8 out of 9 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • go.mod: Language not supported

@nikola-jokic nikola-jokic marked this pull request as draft April 14, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gha-runner-scale-set Related to the gha-runner-scale-set mode
Projects
None yet
Development

Successfully merging this pull request may close these issues.

scaleset listener's config is not deleted on cleanup
1 participant