Skip to content

[WJ-1355] Add import method for page revisions - #3044

Merged
emmiegit merged 9 commits into
developfrom
WJ-1355-page-revision-import
Aug 3, 2026
Merged

[WJ-1355] Add import method for page revisions#3044
emmiegit merged 9 commits into
developfrom
WJ-1355-page-revision-import

Conversation

@emmiegit

@emmiegit emmiegit commented Aug 2, 2026

Copy link
Copy Markdown
Member

This adds a method to import page revisions. It requires that the caller import each revision, in order. It leverages the existing PageRevisionService to avoid code duplication and ensure it sets side effects properly. Then ImportService manually overrides the columns that PageRevisionService doesn't allow us to set.

@emmiegit emmiegit self-assigned this Aug 2, 2026
@codecov

codecov Bot commented Aug 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 85 lines in your changes missing coverage. Please review.
✅ Project coverage is 26.48%. Comparing base (4a9f8f6) to head (475e0a5).

Files with missing lines Patch % Lines
deepwell/src/services/import/service.rs 0.00% 79 Missing ⚠️
deepwell/src/endpoints/import.rs 0.00% 6 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #3044      +/-   ##
===========================================
- Coverage    26.65%   26.48%   -0.18%     
===========================================
  Files          198      198              
  Lines        13448    13533      +85     
===========================================
- Hits          3585     3584       -1     
- Misses        9863     9949      +86     
Files with missing lines Coverage Δ
deepwell/src/api.rs 36.66% <ø> (ø)
deepwell/src/endpoints/import.rs 16.66% <0.00%> (-8.34%) ⬇️
deepwell/src/services/import/service.rs 20.87% <0.00%> (-16.99%) ⬇️

... and 3 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@emmiegit
emmiegit force-pushed the WJ-1355-page-revision-import branch from 05f6a0a to 475e0a5 Compare August 2, 2026 22:06
@emmiegit
emmiegit marked this pull request as ready for review August 3, 2026 05:35
@emmiegit
emmiegit merged commit 590f66e into develop Aug 3, 2026
7 checks passed
@emmiegit
emmiegit deleted the WJ-1355-page-revision-import branch August 3, 2026 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants