-
- Downloads
Separate save code now status refresh routine from the listing ui
This introduces a new endpoint to refresh the status of the save code now requests. This endpoint will be called periodically. That concern is out of scope of the listing ui and source of status update desynchronization [1] The listing ui now feels more immediate as implementation wise, it no longer writes when actually listing rows. This slightly improves the code by typing it a bit more. A new SaveOriginRequestInfo got added to represent the save origin request to display view side. This matches what other views manipulates. [1] T3278#63827 Related to T3280
parent
1ca5105c
No related branches found
No related tags found
Showing
- swh/web/common/management/__init__.py 0 additions, 0 deletionsswh/web/common/management/__init__.py
- swh/web/common/management/commands/__init__.py 0 additions, 0 deletionsswh/web/common/management/commands/__init__.py
- swh/web/common/management/commands/refresh_savecodenow_statuses.py 22 additions, 0 deletions...ommon/management/commands/refresh_savecodenow_statuses.py
- swh/web/common/models.py 24 additions, 13 deletionsswh/web/common/models.py
- swh/web/common/origin_save.py 54 additions, 30 deletionsswh/web/common/origin_save.py
- swh/web/common/typing.py 22 additions, 1 deletionswh/web/common/typing.py
- swh/web/misc/origin_save.py 2 additions, 5 deletionsswh/web/misc/origin_save.py
- swh/web/tests/common/test_django_command.py 35 additions, 0 deletionsswh/web/tests/common/test_django_command.py
- swh/web/tests/common/test_origin_save.py 71 additions, 1 deletionswh/web/tests/common/test_origin_save.py
Loading
-
Some references in the commit message have been migrated:
- T3278#63827 is now swh/infra/sysadm-environment#3278 (closed)
Please register or sign in to comment