You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(core,webapp): return externalId from the deployments API
The column has always existed and the dashboard reads it, but no public endpoint
returned it, so callers had no way to tell which deployment a version skew
protection pin resolves to. It is now on deployments.list(),
deployments.retrieveCurrent() and the single-deployment retrieve.
The list route already loads the whole row, so only the projection changed. The
current-deployment route needed the column added to its select as well.
Also stops that same projection throwing on a deployment with no git metadata:
the response schema rejects null, so one API-created deployment hid every other
row on the page.
GetDeploymentResponseBody uses optional rather than nullish so it stays
assignable to the CLI's narrower InitializeDeploymentResponseBody, which it is
spread into when a deploy attaches to an existing deployment.
`deployments.list()` and `deployments.retrieveCurrent()` now return `externalId`, the `--external-id` a deployment was deployed under, so you can tell which deployment a version skew protection pin resolves to. Null for deployments deployed without one.
0 commit comments