With deployment chaos mostly over, we now need to reinstate logging level rules, as well as the handling of tempfiles and .tgz image files. We also need to remove exposition of the API endpoint that leaks vulnerable job info.
Solution (Changes Made)
Log level back to being dependent on environment.
Tempfiles removed on exit of the with context.
TGZ files removed after loading.
Function for retrieval of tgz file takes in an images endpoint, allowing CI to run tests properly again.
Additional Notes
Caught bug where the updated DB ID for a job that has been re-enqueued was not correctly passed to the function that notifies the client of a job's new location; this has been fixed by ensuring it is passed in.
Feature/Problem Description
With deployment chaos mostly over, we now need to reinstate logging level rules, as well as the handling of tempfiles and .tgz image files. We also need to remove exposition of the API endpoint that leaks vulnerable job info.
Solution (Changes Made)
with
context.Additional Notes