Add fleet groups, agent screenshots, deploy guards, and Crucible polish.
This commit is contained in:
@@ -46,8 +46,9 @@ func TestShortAgentID(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestAgentDisplayNameFallback(t *testing.T) {
|
||||
// No hostname, no worker name — falls back to "agent-<shortID>"
|
||||
name := agentDisplayName("", "", "", "12345678-abcd")
|
||||
if name != "12345678" {
|
||||
t.Fatalf("expected id prefix, got %q", name)
|
||||
if name != "agent-12345678" {
|
||||
t.Fatalf("expected agent-12345678, got %q", name)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user