[PR #1719] [MERGED] Improve test suite and remove mock dependencies #4484

Closed
opened 2026-03-15 01:47:09 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ArchiveBox/ArchiveBox/pull/1719
Author: @pirate
Created: 12/27/2025
Status: Merged
Merged: 12/27/2025
Merged by: @pirate

Base: devHead: claude/improve-test-suite-xm6Bh


📝 Commits (10+)

  • 0941aca Improve test suite: remove mocks and add 0.8.x migration tests
  • 24c5145 Add comprehensive 0.7.x and 0.8.x migration tests
  • cff4077 Bump Python version requirement from 3.11 to 3.14
  • ae2ab5b Add Python 3.13 support with uuid7 backport compatibility
  • c3acadd Remove extractor field from Crawl model and fix tests
  • 13be196 Merge remote-tracking branch 'origin/dev' into claude/improve-test-suite-xm6Bh
  • 766bb28 Fix migration tests and M2M field alteration issue
  • ea6fe94 Add crawls_crawlschedule table to 0.8.x test schema and fix migrations
  • 05205a0 Update uv.lock
  • 779040d Split migration tests into separate files and tighten assertions

📊 Changes

35 files changed (+3034 additions, -1235 deletions)

View changed files

📝 .github/ISSUE_TEMPLATE/1-bug_report.yml (+3 -3)
📝 .github/ISSUE_TEMPLATE/2-feature_request.yml (+3 -3)
📝 .github/workflows/pip.yml (+1 -1)
📝 .github/workflows/test.yml (+2 -2)
CLAUDE.md (+161 -0)
📝 Dockerfile (+2 -2)
📝 archivebox/api/migrations/0002_alter_outboundwebhook_options_and_more.py (+3 -3)
📝 archivebox/api/models.py (+1 -1)
📝 archivebox/base_models/models.py (+2 -1)
📝 archivebox/cli/archivebox_add.py (+1 -1)
📝 archivebox/core/migrations/0024_snapshot_crawl.py (+1 -1)
📝 archivebox/core/migrations/0026_remove_archiveresult_output_dir_and_more.py (+25 -12)
📝 archivebox/core/migrations/0027_alter_archiveresult_created_by_and_more.py (+2 -5)
📝 archivebox/core/models.py (+4 -2)
📝 archivebox/crawls/admin.py (+2 -3)
📝 archivebox/crawls/migrations/0001_initial.py (+2 -1)
📝 archivebox/crawls/migrations/0002_drop_seed_model.py (+11 -17)
📝 archivebox/crawls/models.py (+1 -2)
📝 archivebox/machine/models.py (+1 -1)
📝 archivebox/misc/jsonl.py (+0 -1)

...and 15 more files

📄 Description

Summary

Related issues

Changes these areas

  • Bugfixes
  • Feature behavior
  • Command line interface
  • Configuration options
  • Internal architecture
  • Snapshot data layout on disk

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ArchiveBox/ArchiveBox/pull/1719 **Author:** [@pirate](https://github.com/pirate) **Created:** 12/27/2025 **Status:** ✅ Merged **Merged:** 12/27/2025 **Merged by:** [@pirate](https://github.com/pirate) **Base:** `dev` ← **Head:** `claude/improve-test-suite-xm6Bh` --- ### 📝 Commits (10+) - [`0941aca`](https://github.com/ArchiveBox/ArchiveBox/commit/0941aca4a3a00b95254cb5caafe097fe56f172d5) Improve test suite: remove mocks and add 0.8.x migration tests - [`24c5145`](https://github.com/ArchiveBox/ArchiveBox/commit/24c51452ef65423efce97fa928ae0d5ea56b311d) Add comprehensive 0.7.x and 0.8.x migration tests - [`cff4077`](https://github.com/ArchiveBox/ArchiveBox/commit/cff4077c23abef4a7ab414e37ba8c37dfb5e5959) Bump Python version requirement from 3.11 to 3.14 - [`ae2ab5b`](https://github.com/ArchiveBox/ArchiveBox/commit/ae2ab5b27330e65d2508ddee5e165faa3378aa8a) Add Python 3.13 support with uuid7 backport compatibility - [`c3acadd`](https://github.com/ArchiveBox/ArchiveBox/commit/c3acadd528eafb70b2381609d907d0daf21c8d56) Remove extractor field from Crawl model and fix tests - [`13be196`](https://github.com/ArchiveBox/ArchiveBox/commit/13be196fd7744985a848d4d2a8e9d8010838efa1) Merge remote-tracking branch 'origin/dev' into claude/improve-test-suite-xm6Bh - [`766bb28`](https://github.com/ArchiveBox/ArchiveBox/commit/766bb285360abdbc9af6da100b73a2f839adbf68) Fix migration tests and M2M field alteration issue - [`ea6fe94`](https://github.com/ArchiveBox/ArchiveBox/commit/ea6fe94c9354076fb6b6ff10a274e64fee20e179) Add crawls_crawlschedule table to 0.8.x test schema and fix migrations - [`05205a0`](https://github.com/ArchiveBox/ArchiveBox/commit/05205a085f038876fb32b492197a4a243d62bdb6) Update uv.lock - [`779040d`](https://github.com/ArchiveBox/ArchiveBox/commit/779040db1b58e99ddb4980b27892d700cecadee3) Split migration tests into separate files and tighten assertions ### 📊 Changes **35 files changed** (+3034 additions, -1235 deletions) <details> <summary>View changed files</summary> 📝 `.github/ISSUE_TEMPLATE/1-bug_report.yml` (+3 -3) 📝 `.github/ISSUE_TEMPLATE/2-feature_request.yml` (+3 -3) 📝 `.github/workflows/pip.yml` (+1 -1) 📝 `.github/workflows/test.yml` (+2 -2) ➕ `CLAUDE.md` (+161 -0) 📝 `Dockerfile` (+2 -2) 📝 `archivebox/api/migrations/0002_alter_outboundwebhook_options_and_more.py` (+3 -3) 📝 `archivebox/api/models.py` (+1 -1) 📝 `archivebox/base_models/models.py` (+2 -1) 📝 `archivebox/cli/archivebox_add.py` (+1 -1) 📝 `archivebox/core/migrations/0024_snapshot_crawl.py` (+1 -1) 📝 `archivebox/core/migrations/0026_remove_archiveresult_output_dir_and_more.py` (+25 -12) 📝 `archivebox/core/migrations/0027_alter_archiveresult_created_by_and_more.py` (+2 -5) 📝 `archivebox/core/models.py` (+4 -2) 📝 `archivebox/crawls/admin.py` (+2 -3) 📝 `archivebox/crawls/migrations/0001_initial.py` (+2 -1) 📝 `archivebox/crawls/migrations/0002_drop_seed_model.py` (+11 -17) 📝 `archivebox/crawls/models.py` (+1 -2) 📝 `archivebox/machine/models.py` (+1 -1) 📝 `archivebox/misc/jsonl.py` (+0 -1) _...and 15 more files_ </details> ### 📄 Description <!-- IMPORTANT: Do not submit PRs with only formatting / PEP8 / line length changes. --> # Summary <!--e.g. This PR fixes ABC or adds the ability to do XYZ...--> # Related issues <!-- e.g. #123 or Roadmap goal # https://github.com/pirate/ArchiveBox/wiki/Roadmap --> # Changes these areas - [x] Bugfixes - [ ] Feature behavior - [ ] Command line interface - [ ] Configuration options - [ ] Internal architecture - [ ] Snapshot data layout on disk --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-15 01:47:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/ArchiveBox#4484
No description provided.