digi-serve / ab_runtime

The Server Side runtime for our AppBuilder
0 stars 3 forks source link

Service Update Workflow handle concurrent calls #200

Closed nh758 closed 9 months ago

nh758 commented 12 months ago

Is this related to a problem? The update-service-version workflow cannot handle receiving many calls at the same time. If we trigger changes in core, it will update multiple services within a few minutes. Currently we create a branch for each update. It fails due to merge conflicts or creating duplicate tag/release versions.

Desired Solution

  1. Use a common branch to stage changes.
  2. Update that branch
  3. Test
  4. If Pass Release

Steps 3/4 should use a concurrency group and cancel-in-progress to ensure only one process is trying to create a release at a time.