buildbot / buildbot/buildbot

Worker host information remains after detached

Open
#3,440 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
5.5k
Forks
1.7k
Avg merge
2d 7h
Merged PRs (30d)
6

Description

## Repro steps:
1. create a worker, put a host file in info folder.
2.connect the worker to buildbot, see the host info is shown in Workers page.
3. disconnect the worker, the host info is still shown in workers page.

This behavior is ok for static workers. However, it is especially annoying for Latent workers, as it shows staled host information.

## Analysis:
From the code, I can see the bot information are filled In AbstractWorker.attached callback.
But there's no way to clear the bot information in AbstractWorker.detached callback.

Could you advise how can I clear the bot information when the worker is detached? Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.