Closed pcrespov closed 1 month ago
Attention: Patch coverage is 95.34884%
with 2 lines
in your changes are missing coverage. Please review.
Project coverage is 85.1%. Comparing base (
cafbf96
) to head (d5bed17
). Report is 232 commits behind head on master.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.2% Duplication on New Code
What do these changes do?
While starting a jupyter (in master), the variable substitution component triggers a callback to auto-generate a valid api-key for the current user. This callback raises
Manual exploratory testing suggested that this error is produced by a race condition when executing
get
andcreate
operations. Note thatget_or_create
operation was implemented in thedirectorv2
calls toget
andcreate
function are connected via RPC -> service -> repo.get_or_create
as a single transaction in theapi_keys._db
repositoryapi_keys_manager.py
Related issue/s
How to test
Driving tests
Dev-ops checklist