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

FS-1053 Fix firmware record updates for existing firmware #154

Merged
merged 4 commits into from
Dec 19, 2023

Conversation

coffeefreak101
Copy link
Contributor

The firmware-syncer is not updating records in serverservice for firmware with existing files in the S3 bucket.

This change refactors the vendor code to reduce some code duplication and fix the issue in one place instead of several.

Also refactored some of the code to make it more testable, and added some mocks.

diogomatsubara
diogomatsubara previously approved these changes Dec 18, 2023
Copy link
Contributor

@diogomatsubara diogomatsubara left a comment

Choose a reason for hiding this comment

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

These changes look great! It's really good to have another set of eyes on this codebase and improve it as you did. Thank you @coffeefreak101 ! I made one comment about changing the equinix package to github. It'd be nice to also deal with all the lint warnings. Other than that, LGTM

Copy link
Contributor

@diogomatsubara diogomatsubara left a comment

Choose a reason for hiding this comment

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

Thanks!

@coffeefreak101 coffeefreak101 merged commit 389ac6f into main Dec 19, 2023
4 of 5 checks passed
@coffeefreak101 coffeefreak101 deleted the fs-1053-handle-firmware-record-changes branch December 19, 2023 17:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants