Skip to content
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

state update should clean up after itself. #2963

Merged
merged 2 commits into from
Dec 20, 2023

Conversation

mitchell-as
Copy link
Contributor

@mitchell-as mitchell-as commented Dec 19, 2023

StoryDX-767 Installer should clean up after itself

We don't need an explicit integration test check for lack of an update directory because any inability to recognize or delete it will log an error, and our integration tests report log errors as overall failures.

@github-actions github-actions bot changed the base branch from master to version/0-43-0-RC1 December 19, 2023 22:35
@mitchell-as mitchell-as requested a review from MDrakos December 19, 2023 22:59
@mitchell-as mitchell-as marked this pull request as ready for review December 19, 2023 23:00
Comment on lines 244 to 245
multilog.Error("Update directory structure has changed without updating it here, too. "+
"installerPath: %s\nupdateDir: %s\nExpected a 'state-update' prefix for the latter", installerPath, updateDir)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see us changing the structure of updates and getting a bunch of these errors on Rollbar from older versions. I think the error above is enough to report.

@mitchell-as mitchell-as requested a review from MDrakos December 19, 2023 23:57
@mitchell-as mitchell-as merged commit fc6d0d1 into version/0-43-0-RC1 Dec 20, 2023
7 checks passed
@mitchell-as mitchell-as deleted the mitchell/dx-767 branch December 20, 2023 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants