-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buildengine can reach a deadend where build errors can't be easily fixed by user #1211
Comments
Great repro steps @matt2e!!! Took a quick look at this one and we're hitting this validation error, which makes sense since the whole schema won't validate with calls to unknown types. Removing that check makes everything deploy correct, but leaves us open to deploying invalid schema so we'll probably need a more robust solution |
with this change, when deploying a module, we will only validate the deploying module's schema (but do so within the context of the greater schema). this change prevents issues where a schema error outside of the deploying module prevents the deploy from succeeding—causing issues like #1211. now in combination with the buildengine logic, a change in the upstream module that breaks a downstream module will not prevent the change from deploying (if the deploying module still has a valid standalone schema). the deploy will succeed and then the subsequent deploy triggered for the downstream module will fail if the schema change from its dependency is breaking. fixes #1211
with this change, when deploying a module, we will only validate the deploying module's schema (but do so within the context of the greater schema). this change prevents issues where a schema error outside of the deploying module prevents the deploy from succeeding—causing issues like #1211. now in combination with the buildengine logic, a change in the upstream module that breaks a downstream module will not prevent the change from deploying (if the deploying module still has a valid standalone schema). the deploy will succeed and then the subsequent deploy triggered for the downstream module will fail if the schema change from its dependency is breaking. fixes #1211
with this change, when deploying a module, we will only validate the deploying module's schema (but do so within the context of the greater schema). this change prevents issues where a schema error outside of the deploying module prevents the deploy from succeeding—causing issues like #1211. now in combination with the buildengine logic, a change in the upstream module that breaks a downstream module will not prevent the change from deploying (if the deploying module still has a valid standalone schema). the deploy will succeed and then the subsequent deploy triggered for the downstream module will fail if the schema change from its dependency is breaking. fixes #1211
when deploying a module, we will only validate the deploying module's schema (but do so within the context of the greater schema). this change prevents issues where a schema error outside of the deploying module prevents the deploy from succeeding—causing issues like #1211. now in combination with the buildengine logic, a change in the upstream module that breaks a downstream module will not prevent the upstream module from deploying (if the module still has a valid standalone schema). the deploy will succeed and then the subsequent deploy triggered for the downstream module will fail if the schema change from its dependency breaks it. fixes #1211
Steps to repro:
ftl dev
with 2 modules, lets call them moduleA and moduleBVerbA
moduleA.VerbA
The user can't really do much to untie this knot. Editing moduleB in small ways keeps failing with unknown reference for verbB. updating modulaA fails because a deployed module refers to verbA
The text was updated successfully, but these errors were encountered: