mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-25 17:16:00 +03:00
[PR #1745] [MERGED] Add comprehensive tests for machine/process models, orchestrator, and search backends #4508
Labels
No labels
expected: maybe someday
expected: next release
expected: release after next
expected: unlikely unless contributed
good first ticket
help wanted
pull-request
scope: all users
scope: windows users
size: easy
size: hard
size: medium
size: medium
status: backlog
status: blocked
status: done
status: idea-phase
status: needs followup
status: wip
status: wontfix
touches: API/CLI/Spec
touches: configuration
touches: data/schema/architecture
touches: dependencies/packaging
touches: docs
touches: js
touches: views/replayers/html/css
why: correctness
why: functionality
why: performance
why: security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ArchiveBox#4508
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1745
Author: @pirate
Created: 12/31/2025
Status: ✅ Merged
Merged: 12/31/2025
Merged by: @pirate
Base:
dev← Head:claude/analyze-test-coverage-mWgwv📝 Commits (5)
0cb5f07Add comprehensive tests for machine/process models, orchestrator, and search backendsa063d8cMerge remote-tracking branch 'origin/dev' into claude/analyze-test-coverage-mWgwv9bf7a52Update tests for new Process model-based architecture8a0acdeAdd SSL, redirects, SEO plugin tests and fix fake test issues08383c4Fix tautological assertion in SEO test📊 Changes
19 files changed (+2565 additions, -0 deletions)
View changed files
➕
archivebox/machine/tests/__init__.py(+1 -0)➕
archivebox/machine/tests/test_machine_models.py(+563 -0)➕
archivebox/plugins/apt/tests/__init__.py(+1 -0)➕
archivebox/plugins/apt/tests/test_apt_provider.py(+154 -0)➕
archivebox/plugins/npm/tests/__init__.py(+1 -0)➕
archivebox/plugins/npm/tests/test_npm_provider.py(+144 -0)➕
archivebox/plugins/pip/tests/__init__.py(+1 -0)➕
archivebox/plugins/pip/tests/test_pip_provider.py(+175 -0)➕
archivebox/plugins/redirects/tests/__init__.py(+1 -0)➕
archivebox/plugins/redirects/tests/test_redirects.py(+134 -0)➕
archivebox/plugins/search_backend_ripgrep/tests/test_ripgrep_search.py(+308 -0)➕
archivebox/plugins/search_backend_sqlite/tests/__init__.py(+1 -0)➕
archivebox/plugins/search_backend_sqlite/tests/test_sqlite_search.py(+351 -0)➕
archivebox/plugins/seo/tests/__init__.py(+1 -0)➕
archivebox/plugins/seo/tests/test_seo.py(+135 -0)➕
archivebox/plugins/ssl/tests/__init__.py(+1 -0)➕
archivebox/plugins/ssl/tests/test_ssl.py(+139 -0)➕
archivebox/workers/tests/__init__.py(+1 -0)➕
archivebox/workers/tests/test_orchestrator.py(+453 -0)📄 Description
This adds new test coverage for previously untested areas:
Machine module (archivebox/machine/tests/):
Workers module (archivebox/workers/tests/):
Search backends:
Binary provider plugins:
Summary by cubic
Adds comprehensive tests for machine/process models, orchestrator lifecycle, search backends, and core plugins (SEO, SSL, redirects) to improve reliability under the new Process model architecture. Includes real-data checks for ripgrep and SQLite FTS5 and Chrome-based plugin integration, plus verification of pip, npm, and apt provider hooks.
Written for commit
08383c4d83. Summary will update on new commits.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.