Commit Graph

40 Commits

Author SHA1 Message Date
Nick Sweeting
480ad08cf0
Fix snapshot backfill orchestration regressions (#1854)
* fix snapshot backfill orchestration regressions

* address snapshot orchestration review

* fix admin process projection fixture

* fix noresult projection fixture
2026-09-02 17:25:31 -07:00
Nick Sweeting
9ee0dcf165
fix: address orchestration review findings 2026-09-02 12:56:23 -07:00
Nick Sweeting
2bba758314
refactor: simplify snapshot maintenance orchestration 2026-09-02 12:05:09 -07:00
Nick Sweeting
3e58261cd5
Expose yt-dlp media metadata for snapshot cards (#1819)
Supersedes #1818.

This keeps yt-dlp-specific player rendering out of ArchiveBox core. Core
now:

- exposes media type metadata to plugin card templates: `is_video`,
`is_audio`, `is_browser_playable`
- sorts yt-dlp media with browser-playable video/audio first
- prefers browser-playable yt-dlp outputs before thumbnails and
non-browser containers when choosing the primary card output
- avoids pinning resumed snapshots to stale selected hook maps, fixing a
pause/resume runner regression surfaced by CI
- makes `update --index-only` discover the configured search backend
even when `PLUGINS` is restricted for test/runtime isolation
- stabilizes CI-only recursive/takeover/public-UI tests that were
failing due external/heavy plugin coverage, hard-kill recovery races,
and transient full-server `/add/` startup responses

The actual click-to-load player UI lives in the companion plugin PR:
ArchiveBox/abx-plugins#34.

Verification:
```text
pytest archivebox/tests/test_ui_admin_snapshot.py -q
48 passed

pytest archivebox/tests/test_cli_update_reindex_snapshots.py -q
9 passed

pytest -xvs archivebox/tests/test_api_v1_crawls_crawl_crawl_id.py --basetemp=tests/out --ignore=archivebox/pkgs
7 passed

pytest -xvs archivebox/tests/test_takeover_util.py --basetemp=tests/out --ignore=archivebox/pkgs
19 passed

pytest -xvs archivebox/tests/test_takeover_util.py::test_live_add_update_jobs_survive_server_and_cli_owner_exits --basetemp=tests/out --ignore=archivebox/pkgs
1 passed

pytest -xvs archivebox/tests/test_ui_public_snapshot.py --basetemp=tests/out --ignore=archivebox/pkgs
6 passed

pytest -q archivebox/tests/test_recursive_crawl.py::test_recursive_crawl_depth_two_all_plugins_runs_snapshots_in_parallel --basetemp=tests/out --ignore=archivebox/pkgs
1 passed
```
2026-09-02 04:14:15 -07:00
Nick Sweeting
c2ce82964d
Expose yt-dlp media metadata for snapshot cards 2026-09-01 11:49:16 -07:00
Nick Sweeting
c817da7af6
Merge remote-tracking branch 'origin/dev' into audit-pr1846 2026-09-01 11:38:24 -07:00
Nick Sweeting
c8ef576235
fix: secure snapshot output deletion handoff 2026-08-29 23:03:08 -07:00
Nick Sweeting
6906edc076
fix: make portable exports and screenshot deploys reliable 2026-08-29 16:03:29 -07:00
Nick Sweeting
3fcb5700ed
fix: place auxiliary snapshot cards before compact cards 2026-08-29 15:06:49 -07:00
Nick Sweeting
6ed11bd04f
fix: pack compact output cards in dense grid 2026-08-29 14:14:14 -07:00
Nick Sweeting
1105a18163
fix: pack compact snapshot output cards 2026-08-29 14:04:54 -07:00
Nick Sweeting
97486882bd
Address Cubic review feedback 2026-08-28 21:56:23 -07:00
Nick Sweeting
bdc236f076
Revert "fix: project one archive result per plugin" 2026-08-28 21:56:13 -07:00
Nick Sweeting
4762ff4f57
fix: soften archive result delete controls 2026-08-28 21:14:59 -07:00
Nick Sweeting
de14346a08
fix: project one archive result per plugin 2026-08-28 19:47:15 -07:00
Nick Sweeting
d882c4bc0c
feat: add output controls to snapshot admin 2026-08-28 14:35:40 -07:00
Nick Sweeting
056a02a06e
Restore ArchiveResult hook identity 2026-08-28 11:52:36 -07:00
Nick Sweeting
90dd5933dd
Align batch deletion test with plugin uniqueness 2026-08-28 09:23:56 -07:00
Nick Sweeting
e548608149
feat: add snapshot output batch deletion 2026-08-27 21:34:48 -07:00
Nick Sweeting
3bb5bb48bc
remove snapshot status and icon caches 2026-08-27 15:54:25 -07:00
Nick Sweeting
fc3e3aa485
reuse snapshot admin change object 2026-08-27 15:36:58 -07:00
Nick Sweeting
06659868af
separate snapshot progress from output previews 2026-08-27 15:34:48 -07:00
Nick Sweeting
3a7354d230
fix unified browser extension snapshots
Some checks are pending
CI / Linters (push) Waiting to run
CI / Install and CLI platform compatibility (push) Waiting to run
CI / Discovered test matrix (push) Waiting to run
CI / Documentation and root tests (push) Waiting to run
CI / CodeQL (push) Waiting to run
CI / Tested Python artifacts (push) Waiting to run
CI / Tested Docker images (push) Waiting to run
CI / All required CI lanes (push) Blocked by required conditions
Deploy Publicsite to GitHub Pages / deploy (push) Waiting to run
2026-08-26 18:24:08 -07:00
Nick Sweeting
02383c1e4c
Support Django 6.1 admin templates
Some checks failed
CI / Linters (push) Waiting to run
CI / Install and CLI platform compatibility (push) Waiting to run
CI / Discovered test matrix (push) Waiting to run
CI / Documentation and root tests (push) Waiting to run
CI / CodeQL (push) Waiting to run
CI / Tested Python artifacts (push) Waiting to run
CI / Tested Docker images (push) Waiting to run
CI / All required CI lanes (push) Blocked by required conditions
Deploy Publicsite to GitHub Pages / deploy (push) Has been cancelled
2026-08-24 14:04:49 -07:00
Nick Sweeting
cc444b9920 Update hook priority references 2026-08-15 22:54:05 -07:00
Nick Sweeting
afa6b78fff Toggle snapshot header once per click 2026-08-13 11:57:02 -07:00
Nick Sweeting
15398709ae
Use flex sizing for snapshot previews 2026-08-12 16:27:01 -07:00
Nick Sweeting
e530c4e9d7
Revert "Prevent overlapping live progress requests"
This reverts commit 848a4bea10.
2026-08-12 15:37:49 -07:00
Nick Sweeting
848a4bea10
Prevent overlapping live progress requests 2026-08-12 15:29:43 -07:00
Nick Sweeting
183775bf32
Resize snapshot previews with header state 2026-08-12 11:02:23 -07:00
Nick Sweeting
6592af0d19
Exercise ArchiveBox through unified runtime lifecycles 2026-07-21 19:26:42 -07:00
Nick Sweeting
095c0e5112
fix admin snapshot changelist preview summaries 2026-06-21 21:33:14 -07:00
Nick Sweeting
67959c9013
Pin chrome plugin CI fixes 2026-06-21 09:21:13 -07:00
Nick Sweeting
18e3580dcd
fix: harden reflected metadata rendering 2026-06-14 00:06:35 -07:00
Nick Sweeting
6ae56b7366
release: archivebox 0.9.35rc28 2026-06-13 23:53:45 -07:00
Nick Sweeting
73ec255855
fix: harden admin metadata surfaces 2026-06-13 23:44:59 -07:00
Nick Sweeting
4fa90e484a
release: archivebox 0.9.34rc71 2026-06-07 20:51:28 -07:00
Nick Sweeting
87b518314a
release: archivebox 0.9.34rc67 2026-06-07 04:06:45 -07:00
Nick Sweeting
8367578f9b
Update snapshot admin selection behavior 2026-06-04 08:00:25 -07:00
Nick Sweeting
96437e1ffd
Publish local ArchiveBox changes 2026-06-02 02:25:52 -07:00