-
Notifications
You must be signed in to change notification settings - Fork 54
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
Wizard: Remove first boot script from services when no script (HMS-5481) #2871
base: main
Are you sure you want to change the base?
Conversation
0edfac9
to
3fc41bc
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
@@ Coverage Diff @@
## main #2871 +/- ##
=======================================
Coverage 82.09% 82.09%
=======================================
Files 207 207
Lines 23293 23300 +7
Branches 2286 2291 +5
=======================================
+ Hits 19122 19129 +7
Misses 4144 4144
Partials 27 27
Continue to review full report in Codecov by Sentry.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch! I wonder if this type of thing would be worth checking for in our tests? 🤔
/jira-epic HMS-5279 |
3fc41bc
to
f6a3a1d
Compare
It would be for sure. Making the code block work properly with the tests is a bit of pain, but tried to add one which uses the upload function with an empty script (body of the code block does not seem reachable via testing-library methods). |
f6a3a1d
to
a335b21
Compare
There is a bug that makes `custom-first-boot` service stay in services when the first boot script is removed. How to reproduce: 1. create a blueprint with a first boot script 2. download the blueprint and confirm `custom-first-boot` was added to enabled services 3. click on "Edit blueprint" 4. go to First boot step and remove the script 5. save edited blueprint Current behaviour: - `custom-first-boot` service should be still enabled even with the removed first boot script Updated behaviour: - `custom-first-boot` is no longer in the blueprint after first boot script got removed
a335b21
to
0226386
Compare
There is a bug that makes
custom-first-boot
service stay in services when the first boot script is removed.How to reproduce:
custom-first-boot
was added to enabled servicesCurrent behaviour:
custom-first-boot
service should be still enabled even with the removed first boot scriptUpdated behaviour:
custom-first-boot
is no longer in the blueprint after first boot script got removedJIRA: HMS-5481