-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Thank you for reporting an issue.
It looks like https://github.com/opentofu/registry/blob/main/.github/workflows/generate-and-deploy.yml could have multiple instances of that job syncing to R2 simultaneously. I don't know if that will cause issues, but it should probably be avoided.
OpenTofu Version
n/aOpenTofu Configuration Files
// Snippet of HCL that can be used to help reproduce this problemHi! I'd like to take ownership of this issue. It looks like the previous assignee (@tripti-gh) hasn't submitted a PR yet.
I plan to add a concurrency: group to all three related workflow files:
generate-and-deploy.ymlgenerate-and-deploy-with-delete.ymlgenerate-and-deploy-recent.yml
The full sync workflows (generate-and-deploy and generate-and-deploy-with-delete) would share a single r2-sync concurrency group with cancel-in-progress: false to ensure a running sync is never interrupted. The recent changes workflow would use a separate r2-sync-recent group with cancel-in-progress: true since it runs every 15 minutes and a stale queued run can safely be replaced.
Could you confirm this ap…