browsertrix/backend/test
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
..
data
__init__.py
conftest.py Profiles: Make browser commit API call idempotent (#2728) 2025-07-22 17:59:49 -07:00
echo_server.py
test_api.py
test_collections.py Ensure replay.json returns correct origin for pagesQueryUrl (#2741) 2025-07-16 10:48:24 -07:00
test_crawl_config_profile_filter.py Allow searching by multiple tags & profiles with "and"/"or" options for tags (#2717) 2025-07-11 22:35:52 -04:00
test_crawl_config_search_values.py
test_crawl_config_tags.py Allow searching by multiple tags & profiles with "and"/"or" options for tags (#2717) 2025-07-11 22:35:52 -04:00
test_crawlconfigs.py Optimize single-page crawl workflows (#2656) 2025-06-10 12:13:57 -07:00
test_filter_sort_results.py Optimize single-page crawl workflows (#2656) 2025-06-10 12:13:57 -07:00
test_login.py
test_org_subs.py Use curly quote for default archive name instead of straight quote (#2700) 2025-07-16 11:41:19 -04:00
test_org.py Run webhook tests nightly (#2738) 2025-07-15 18:05:57 -07:00
test_permissions.py
test_profiles.py Profiles: Make browser commit API call idempotent (#2728) 2025-07-22 17:59:49 -07:00
test_qa.py additional scale / browser window cleanup to properly support QA: (#2663) 2025-06-12 13:09:04 -04:00
test_run_crawl.py
test_stop_cancel_crawl.py Ensure replay.json returns correct origin for pagesQueryUrl (#2741) 2025-07-16 10:48:24 -07:00
test_uploads.py Run webhook tests nightly (#2738) 2025-07-15 18:05:57 -07:00
test_users.py
test_utils.py
test_workflow_auto_add_to_collection.py
test_y_org_import_export.py
test_z_delete_org.py Run webhook tests nightly (#2738) 2025-07-15 18:05:57 -07:00
utils.py