lastState no longer returns DEPLOYING, only REMOVED #16

Open
opened 2024-08-29 16:59:59 +00:00 by gilbert · 0 comments

Snowball queries the root route (specifically, http://webapp-deployer-api.pwa.laconic.blackblocks.io) for the latest statuses on a deployment that a user has requested.

  • Previously, the lastState field for one of these deployment requests would transition from SUBMITTED -> DEPLOYING -> (DEPLOYED | ERROR)

  • Ever since (I think) the testnet, it now transitions from SUBMITTED -> REMOVED -> (DEPLOYED | ERROR)

I expect it to behave like the former, since REMOVED is related to deployment removals AFAIK.

Looking at the codebase, this snippet might have something to do with it?

Snowball queries the root route (specifically, `http://webapp-deployer-api.pwa.laconic.blackblocks.io`) for the latest statuses on a deployment that a user has requested. - Previously, the `lastState` field for one of these deployment requests would transition from `SUBMITTED` -> `DEPLOYING` -> (`DEPLOYED` | `ERROR`) - Ever since (I think) the testnet, it now transitions from `SUBMITTED` -> `REMOVED` -> (`DEPLOYED` | `ERROR`) I expect it to behave like the former, since `REMOVED` is related to deployment removals AFAIK. Looking at the codebase, [this snippet](https://git.vdb.to/cerc-io/webapp-deployment-status-api/src/commit/fbdeba9eeda789eab80841059bdda8730861afa5/src/deployments.ts#L172-L177) might have something to do with it?
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/webapp-deployment-status-api#16
No description provided.