Closed Koncopd closed 4 weeks ago
Attention: Patch coverage is 66.66667%
with 4 lines
in your changes missing coverage. Please review.
Project coverage is 83.05%. Comparing base (
adc9e1c
) to head (1625ddc
). Report is 1 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
lamindb_setup/_set_managed_storage.py | 50.00% | 4 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This is good, but please take the time to write a test for it and add the comments. It's very fundamental.
We'll also still need to update RLS, right? It's not a security concern, only an integrity concern, hence less urgent.
Not sure what kind of test can be added here, i am not really sure it is a good idea to add something failing, touching hub every time, than deleting the record to the CI.
It's totally OK to add some failing and touch the hub all the time. It can deal with millions of requests.
Maybe even in hub-local?
I will try to add some testing here.
I am not worried about the number of requests, rather about adding some garbage to the hub, and it will happen every time something incorrect happens to this flow (in future code edits etc).
https://laminlabs.slack.com/archives/C07DB677JF6/p1723623568991179?thread_ts=1723618378.437019&cid=C07DB677JF6