browsertrix/backend
Ilya Kreymer 8107b054f6
Profiles: Make browser commit API call idempotent (#2728)
- Fix race condition related to browser commit time
- The profile commit request waits for browser to actual finish, and
profile saved. This can cause request to time out, resulting in a retry,
in which the browser has already been closed.
- With these changes, the commit is now 'idempotent' and returns a
waiting_for_browser until the profile is actually committed.
- On frontend, keep pinging commit endpoint with a timeout while 'waiting_for_browser' is returned, actual committed when endpoint returns profile id.

---------

Co-authored-by: sua yoo <sua@suayoo.com>
2025-07-22 17:59:49 -07:00
..
btrixcloud Profiles: Make browser commit API call idempotent (#2728) 2025-07-22 17:59:49 -07:00
test Profiles: Make browser commit API call idempotent (#2728) 2025-07-22 17:59:49 -07:00
test_nightly Ensure replay.json returns correct origin for pagesQueryUrl (#2741) 2025-07-16 10:48:24 -07:00
.pylintrc security: tweak get /invite endpoints / InviteOut to: (#2087) 2024-09-20 11:52:56 -07:00
dev-requirements.txt quickfix: pin mypy version to avoid issues with latest release 2024-07-19 18:30:57 -07:00
Dockerfile Add backend support for custom behaviors + validation endpoint (#2505) 2025-04-02 16:20:51 -07:00
mypy.ini
requirements.txt Set fields in AIOConfig to prevent MissingContentLength error on upload (#2665) 2025-06-12 15:27:38 -04:00
test-requirements.txt Fix nightly tests: Add boto3 as test requirement (#2116) 2024-10-23 13:41:22 -07:00