Use a mutex for registry CLI txs in webapp deployment commands #957

Merged
ashwin merged 2 commits from deep-stack/stack-orchestrator:pm-registry-mutex into main 2024-10-25 08:40:55 +00:00
Member

Part of Service provider auctions for web deployments and #948

  • Add a registry mutex decorator over tx methods in LaconicRegistryClient wrapper
  • Required to allow multiple process to run webapp deployment tooling without running into account sequence errors when sending laconicd txs
Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75) and https://git.vdb.to/cerc-io/stack-orchestrator/issues/948 - Add a registry mutex decorator over tx methods in `LaconicRegistryClient` wrapper - Required to allow multiple process to run webapp deployment tooling without running into account sequence errors when sending laconicd txs
prathamesh added 1 commit 2024-10-23 07:13:17 +00:00
Use a mutex for registry CLI txs in webapp deployment commands
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 32s
Deploy Test / Run deploy test suite (pull_request) Successful in 4m51s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 7m30s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 5m24s
Webapp Test / Run webapp test suite (pull_request) Successful in 4m48s
Smoke Test / Run basic test suite (pull_request) Successful in 3m51s
8ea84e6b70
prathamesh added 1 commit 2024-10-24 09:31:40 +00:00
Make mutex file path configurable
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 42s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m22s
Smoke Test / Run basic test suite (pull_request) Successful in 5m4s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m11s
K8s Deployment Control Test / Run deployment control suite on kind/k8s (pull_request) Successful in 7m35s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 8m40s
5ffe74bf49
prathamesh changed title from [WIP] Use a mutex for registry CLI txs in webapp deployment commands to Use a mutex for registry CLI txs in webapp deployment commands 2024-10-25 05:24:47 +00:00
ashwin approved these changes 2024-10-25 08:40:46 +00:00
ashwin merged commit 4a7df2de33 into main 2024-10-25 08:40:55 +00:00
ashwin deleted branch pm-registry-mutex 2024-10-25 08:40:56 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 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/stack-orchestrator#957
No description provided.