mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-05-13 02:04:38 +00:00
Improve agent identity persistence and stale agent management #7
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
A Docker Compose agent without a persistent /etc/woodpecker volume re-registered as a new agent after restart. Because the hostname was not explicitly set, the agent name defaulted to a container id. This left stale/offline agent records behind.
Issues encountered:
Desired behavior
Improve agent lifecycle UX:
Why this matters
Stable agent identity is important for operations, debugging, and scheduler trust. The current behavior makes it easy to accidentally create noisy stale agents.