You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have two jobs to build and push ontology assets: generate_all_ontology and generate_diff_ontology. Both run in parallel and push changes to the same PR incoming branch, guaranteeing that one will fail due to its history not having the changes pushed by the other. This race condition invariably leads to a failed workflow.
We want to be able to rely on the integrity of our CI tests.
The generate_diff_ontology is an attempt to only rebuild assets for updated ontologies, and can save lots of time when PRs only introduce code changes, and not changes to the underlying ontologies.
Definition of Done
workflow should always succeed.
fast build when ontology versions are not modified
slower build when one or more ontology versions are modified
full (i..e slowest) build when the ontology asset definition is modified.
Tasks
consolidate into a single workflow, which conditionally adds the --diff tag to the all_ontology_generator.py invocation.
Detail the specific tasks that can be used to accomplish the desired changes.
If detailed steps cannot be provided at this time, please file a Tech Proposal instead.
The text was updated successfully, but these errors were encountered:
Motivation
We have two jobs to build and push ontology assets:
generate_all_ontology
andgenerate_diff_ontology
. Both run in parallel and push changes to the same PR incoming branch, guaranteeing that one will fail due to its history not having the changes pushed by the other. This race condition invariably leads to a failed workflow.We want to be able to rely on the integrity of our CI tests.
The
generate_diff_ontology
is an attempt to only rebuild assets for updated ontologies, and can save lots of time when PRs only introduce code changes, and not changes to the underlying ontologies.Definition of Done
Tasks
--diff
tag to theall_ontology_generator.py
invocation.Detail the specific tasks that can be used to accomplish the desired changes.
If detailed steps cannot be provided at this time, please file a Tech Proposal instead.
The text was updated successfully, but these errors were encountered: