Skip to content

Runner not deleted from registered runners when getting swapped #2939

Closed as not planned

Description

@fffonion

Hi, thanks for providing this awesome module.

In our use case, we have spotted that when an instance being swapped away either by scaling or because of AWS,
the old runner instance (with the old instance hostname) keeps existence in Github's runner registration as Offline
state and we have to delete them manually.

The runner script does provide switch to remove it by calling ./config.sh remove --token "${TOKEN}" .

Activity

  1. npalm commented on Feb 17, 2023

    @npalm
    Member

    You can run the runner in two modes, ephemeral and non ephemeral. When running ephemeral the runner got removed once the job is done. For non ephemeral there is no gracefull shutdown. The scale-down lambda should deregister the runner from GitHub.

    I haven't seen problems in our deployment so far.

  2. github-actions commented on Mar 20, 2023

    @github-actions
    Contributor

    This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed if no further activity occurs. Thank you for your contributions.

  3. OlegSupport commented on May 16, 2023

    @OlegSupport

    so. i have the same issue but can't find reason

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions