sim icon indicating copy to clipboard operation
sim copied to clipboard

fix(deploy-workflow): deploy-state error across workflows

Open aadamgough opened this issue 9 months ago • 2 comments

Description

API deployment issue across workflows. When you deploy an workflow as api, then create a new workflow, that new workflow shows up as deployed. I created a per-workflow deployment status tracking so that the deployment statuses don't get mixed up across workflows. I also updated all the components that use the deployment status.

Type of change

  • [x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

I deployed workflows as apis, undeployed them, created new workflows while the api was deployed, reployed those new workflows, undeployed them, and verified that only that specific workflow state was affected by going through all the workflows.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] All tests pass locally and in CI (npm test)
  • [x] My changes generate no new warnings
  • [x] Any dependent changes have been merged and published in downstream modules
  • [x] I have updated version numbers as needed (if needed)
  • [x] I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Security Considerations:

  • [x] My changes do not introduce any new security vulnerabilities
  • [x] I have considered the security implications of my changes

aadamgough avatar May 13 '25 05:05 aadamgough

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
sim ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 15, 2025 9:34pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
docs ⬜️ Skipped (Inspect) May 15, 2025 9:34pm

vercel[bot] avatar May 13 '25 05:05 vercel[bot]

Someone is attempting to deploy a commit to the Sim Studio Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar May 13 '25 05:05 vercel[bot]