Skip to content

Commit b383913

Browse files
robstolarzclaude
andcommitted
fix: remove sandbox IDs from status output
Users don't need to see internal sandbox IDs. The SSH hint is the only actionable information and is shown for running attempts. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 1160a2a commit b383913

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

pkg/cmd/ci/status.go

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,12 @@ func NewCmdStatus() *cobra.Command {
5858
fmt.Printf(" Job: %s [%s] (%s)\n", job.JobId, job.JobKey, job.Status)
5959

6060
for _, attempt := range job.Attempts {
61-
sid := attempt.GetSandboxId()
6261
isRunning := attempt.Status != "finished" && attempt.Status != "failed" && attempt.Status != "cancelled"
6362

64-
line := fmt.Sprintf(" Attempt #%d (%s)", attempt.Attempt, attempt.Status)
65-
if sid != "" {
66-
line += fmt.Sprintf(" sandbox: %s", sid)
67-
}
68-
fmt.Println(line)
63+
fmt.Printf(" Attempt #%d (%s)\n", attempt.Attempt, attempt.Status)
6964
fmt.Printf(" Logs: depot ci logs %s\n", attempt.AttemptId)
7065
fmt.Printf(" View: https://depot.dev/orgs/%s/workflows/%s\n", resp.OrgId, attempt.AttemptId)
71-
if sid != "" && isRunning {
66+
if attempt.GetSandboxId() != "" && isRunning {
7267
fmt.Printf(" SSH: depot ci ssh %s --job %s\n", resp.RunId, job.JobKey)
7368
}
7469
}

0 commit comments

Comments
 (0)