fix: broken CI #771
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/ci-02-15"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Trying to get the integration suite back in shape with 2 fixes.
c7cdf258a6: this test was flaking on CI and I realised the test itself is borked (I wrote it 🙃). Along the way I realised that there is no check for a borked tag onabra app deploy, which is now covered and tested. I believe the tag parsing can still explode if you have a deployed borked tag but I hope that use-case will go away now it's blocked from the deploy side.e56e1157bd: Follows up on #753 and #761. @ammaratef45 I realised that we had maderecipe.Ensure(...)for this update logic, which handles the various cases internally (e.g. if the user passed--offlineor not). When I wrotef9ea7506d0it started breaking a shit tonne ofabra app newintegration suite tests because a directEnsureUpToDatedeletes unstaged changes 😆 I switched fromWarnFtoFatalbecause I reckon that if you can't update and you want to, something much worse is wrong and you'd want to know about it.Hmmm, can we update the error log message and refer the user to using the
-oflag if failure to update the recipe was to be an expected outcome? (working on a local only network or something like that)Not a use case that I expect many people to have but seems easy to do, what do you think?
Not a very satisfying answer I imagine but I trust that people will see a network related error and check
--helpand find--offline. I'm pretty wary of going too deep into improving error messages because it is hard to detect when the context happened to show the right message.you're right, I guess it also adds natural language strings that can't be tied to variable logic (like if we change the offline option behavior we will 99% of the time fail to update all strings that talk about it)
cool, it's more satisfying of an answer than you assumed 😆