opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
150 stars 7 forks source link

bug: artifact generation might run before the generators have finished as part of the CI in a proposed change #3652

Open wvandeun opened 1 month ago

wvandeun commented 1 month ago

Component

API Server / GraphQL

Current Behavior

When you open a proposed change, which triggers a generator to run as part of the CI, it could be that the generator might not yet have finished when the artifacts get regenerated.

This might lead to a situation where data changes made by the generators are not rendered in the artifacts.

The user would need to manually trigger artifact generation after the the generator has finished, or make another change in the branch that would trigger the artifact generation tasks.

Expected Behavior

We should have a method to define the order in which CI tasks run, so that we can control that artifact generation happens after the generators have completed.

Or we should decouple the generator process from the CI pipeline.

Steps to Reproduce

Additional Information

No response