browsertrix/backend
Ilya Kreymer cb50c7c2c2
Pause / Resume Crawls Initial Implmentation. (#2572)
- add 'pause' crawl state (fixes #2567)
- gracefully shut down crawler pods, and then redis pod when paused
- crawler uploads WACZ before shutting down (dependent on
webrecorder/browsertrix-crawler#824, supported in 1.6.1+)
- add 'paused_at' on crawl spec to indicate when crawl is paused
- support max pause time limit, after which crawl becomes automatically
stopped.
- add 'stopped_pause_expired' when pause automatically expires and crawl
is stopped
- /crawl/<id>/{pause,resume} apis to toggle 'paused' on crawl spec
- ui: add pause/resume button, paused state (partially addresses #2568)
- ui: add pausing/resuming derivative states when crawl is running and
pausing, or paused and not pausing (partially addresses #2569)
- Designed to work with crawler 1.6.1+ which support pausing + uploading on pause

Work on #2566, Fixes #2576 

---------
Co-authored-by: sua yoo <sua@webrecorder.org>
Co-authored-by: Tessa Walsh <tessa@bitarchivist.net>
Co-authored-by: sua yoo <sua@suayoo.com>
2025-05-21 14:05:16 -07:00
..
btrixcloud Pause / Resume Crawls Initial Implmentation. (#2572) 2025-05-21 14:05:16 -07:00
test Pause / Resume Crawls Initial Implmentation. (#2572) 2025-05-21 14:05:16 -07:00
test_nightly Fix nightly tests (#2460) 2025-03-06 16:23:30 -08:00
.pylintrc
dev-requirements.txt
Dockerfile Add backend support for custom behaviors + validation endpoint (#2505) 2025-04-02 16:20:51 -07:00
mypy.ini
requirements.txt Add ISO-639-1 language code validation to backend (#2602) 2025-05-13 16:54:33 -04:00
test-requirements.txt Fix nightly tests: Add boto3 as test requirement (#2116) 2024-10-23 13:41:22 -07:00