-
Notifications
You must be signed in to change notification settings - Fork 145
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
Error handling vol. 2.0 #984
Comments
the correct usage of config as code is that whatever is in the code is truth, and everything that is required for that config is in code. I think what you are describing sounds more of a backup strategy. |
I would agree with @przemkalit In my mind, at least 2 use cases exists to support the above statement
Thoughts? |
I am still thinking that everything should be in code, even if one team is managing just their repo all its dependencies should exist. another concern about this code is the added complexity which then increases the risk of breaking. @Tompage1994 @sean-m-sullivan thoughts? |
just to clarify, As a step further, there can be even the ability to include the missing resources automatically - but this is much more complicated. BTW, if there is any other idea on how to achieve the goal of error handing, while keeping the payload as small as possible - to have a fast run - i'll be glad to hear&discuss about it (in another thread?) My 2 cents, |
Personally, I think this is a valid addition to this code base. The key reason it was taken out was that it hadn't been completed across all relevant endpoints and led to incosistencies (plus there was a bug which we didn't want to resolve at the time). In my view this is an addition that doesn't affect the single source of truth, but simply adds to reliability and ease of execution. To me a major point of this was that it would continue to apply the config in full and then essentially warn about what is missing which to me will give you more consistency with what is in code than exists today. So to me, I think we should re-add it in, but it should be thoroughly tested and replicated for all relevant roles. I think what may have been miossing before as well was something to mark a play as failed if any errors did occur. |
I agree if we do add it back it needs to be everywhere for constancy, I still am concerned about adding more complexity but it is what it is. @Rocco83 one of my long term ideas/goals since EDA was announced was to utilize it to read the git web hook and determine what changes were made and do just those API calls, idk if we could really get down to specific objects but at least object types should be possible. If you want to talk more about it, feel free to open a different issue to track that |
I want to clarify one thing, what was the bug that you discovered? |
Is your feature request related to a problem? Please describe.
Allow managing errors during the import process—why can this be helpful?
Imagine you have plenty of JT, WF, and PRJ files to import, but you’re unsure which ones are valid. Sure, they were exported with success, but what if the import process fails at the first error? What I was proposing is to allow users to generate a list of problematic objects, attempt to fix them, and then relaunch the import process only for those invalid objects.
Describe the solution you'd like
There was solution introduced in #862, but was removed in #962.
Today I wanted to add this change to WF and PRJ but I notice that they were removed, and decided to create feature request, and ask you guys, maybe you have a better solution for this.
The text was updated successfully, but these errors were encountered: