Deploy key tracking/cleanup #388
Reference in New Issue
Block a user
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?
When starting a new bot bottle, I've frequently ran into "deploy key collision error" problems. This is because as I've been developing, I've forgotten about other images I've partially spun up and then had error, or bottles that failed partway during installation, or simply other bottles I've started on other machines. I eventually want to have all of the following mitigations:
@didericis-claude we should split this into 3 separate PRs. Let's do the first one now, easy win.
Done — PR #393 implements part 1. Deploy key titles now include the machine hostname:
Keys created on different machines will no longer share the same title, so abandoned keys from another host won't cause a collision on the next launch.