Repository navigation
Approve, reject, and review deployments from a Deployments tab - #281
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@claude please review. |
|
Claude finished @coryodaniel's task in 2m 21s —— View job Review of #281: Deployments tabI read the diff against The change fits the layering in CLAUDE.md. Logic and tests are in Worth considering
Nits
TestsThe coverage looks good: the board ordering, the reselect behavior, the reject-with-reason and reason-not-saved paths, and the recorded API. Adding a case for item 1 (reject fails after the stash was written) would pin down whichever behavior you pick. |
…he first page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # internal/commands/dashboard/model.go
|
Fixed in d138fc6, with #280's latest merged in since:
@claude please review. |
|
Claude finished @coryodaniel's task in 2m 5s —— View job Re-review of #281: Deployments tabI re-read the changes since the last review against All four earlier items and the nits are fixed as you described. I found no blocking bugs. The notes below are small. Checked
Worth a look
Nits
TestsCoverage is good: board ordering, reselect, reject with and without a reason, the refused reject, the baseline paging, and the recorded API. I'd add one case for the narrow-terminal clamp, since it is the only item from the last round without a test. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Fixed in b34e417, with #280 merged in: when the baseline search finds nothing, the config box says "no earlier completed provision found" rather than claiming there is none. Still open: whether the API accepts a stash write on a REJECTED deployment. It needs a real reject with a reason against an org, and that's a write I won't make without the owner's go-ahead. If the API refuses it, the toast says the reason wasn't saved and nothing else breaks. @claude please review. |
|
Claude finished @coryodaniel's task in 1m 23s —— View job Re-review of #281: Deployments tabThe only change since the last review is b34e417. It touches Checked
Still open
Remaining nits from last round (optional)
I found nothing blocking. |
|
Folded into #272. |
Stacked on #280.
Tab
5, Deployments, is an action desk for the deployments in view.entershows the deploy's environment on the map, andoopens its instance in the web app.ffollows the deploy's logs across the whole body.copens its config: the message, the bundle version, and a diff of its params against the instance's last completed provision before it. Values that look secret are masked.j,k,g,Gand page up/down scroll the box.yapproves through the confirmation box, which now offerscto look at the config before deciding. The map's approve box offers it too.xrejects, with an optional one-line reason. The API'srejectDeploymenthas no message argument, so a reason is saved in the deployment's stash underreview/rejectionbefore the reject. If saving it fails, the deploy is still rejected and the toast says the reason was not saved.--read-onlyturns offyandx.deploymentsquery has no environment filter, so the tab reads by instance, 100 instances per request, newest first. It reads when the tab opens and on each refresh while it is open, and never otherwise. The existing complexity handling shrinks pages the API refuses.APIgainsDeployments,PeekDeploymentandRejectDeployment, andDeployergainsRejectDeployment,GetDeployment,CompareDeploymentsandSetStash. The recorded API used by--playbackserves each recorded instance's latest deployment and refuses peeks and rejects.🤖 Generated with Claude Code