{"id":19281773,"url":"https://github.com/scality/debugging-self-hosted-runner","last_synced_at":"2026-02-27T16:43:53.194Z","repository":{"id":138269054,"uuid":"379965755","full_name":"scality/debugging-self-hosted-runner","owner":"scality","description":null,"archived":false,"fork":false,"pushed_at":"2021-07-01T01:07:29.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-02-23T22:21:04.648Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/scality.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-06-24T15:09:57.000Z","updated_at":"2021-07-01T01:07:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"51c459ba-60d2-42f1-97a5-3b68e5db3f71","html_url":"https://github.com/scality/debugging-self-hosted-runner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/scality/debugging-self-hosted-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fdebugging-self-hosted-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fdebugging-self-hosted-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fdebugging-self-hosted-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fdebugging-self-hosted-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scality","download_url":"https://codeload.github.com/scality/debugging-self-hosted-runner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scality%2Fdebugging-self-hosted-runner/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29905496,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T14:46:13.553Z","status":"ssl_error","status_checked_at":"2026-02-27T14:46:10.522Z","response_time":57,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T21:24:08.104Z","updated_at":"2026-02-27T16:43:53.171Z","avatar_url":"https://github.com/scality.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# debugging-self-hosted-runner\n## The script\nThis repository aims to show an issue we are facing by using self-hosted runners.\n\nIt installs and run a self-hosted runner in a docker container with `./run.sh --once`\nWhen the runner finish the job and stop, we try to delete it with `./config.sh remove`. \nThen it configures a new runner for the next action.\n\n## The error\nA problem occurred, some time, when we try to remove a runner. It returns us an error, saying the job is busy, the same error occurred with the force delete API call. An action is linked to the runner even if he is offline and this fail the whole workflow. \nError from the runner:\n```\nFailed: Removing runner from the server\nRunner \"********\" is still running a job\"\n```\n\nError on github.com:\n```\nThe self-hosted runner: ******** lost communication with the server. Verify the machine is running and has a healthy network connection. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.\n```\n\nError with the API:\n```\n{\n  \"message\": \"Bad request - Runner \"********\" is still running a job\\\"\",\n  \"documentation_url\": \"https://docs.github.com/rest/reference/actions#delete-a-self-hosted-runner-from-an-organization\"\n}\n```\n\n## What we are expecting\nOne of this call should delete the runner, no action should be linked to this runner after the job has ran. And should delete it even if an action is linked to it.\n\n# Test it\nStart the script with\n```shell\n./run.sh \u003cgithub-organization\u003e \u003cself-hosted-github-token\u003e\n```\n\nthen run the action which is in the `.github/workflows` folder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscality%2Fdebugging-self-hosted-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscality%2Fdebugging-self-hosted-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscality%2Fdebugging-self-hosted-runner/lists"}