feat(scanning): add daemon-based background task processing#23
Draft
feat(scanning): add daemon-based background task processing#23
Conversation
for more information, see https://pre-commit.ci
- Add volume number filter to scan and opinion list views - Add django-browser-reload and django-extensions to dev setup - Fix reporter select not preserving selection on filter - Add stale processing indicators to scan list - Add original_pdf existence check in opinion detail
…nd-task-processing' into 18-evaluate-options-for-background-task-processing
Merged
grossir
reviewed
Mar 11, 2026
Contributor
grossir
left a comment
There was a problem hiding this comment.
I think this still needs the blackletter integration to be reviewable?
Member
Author
The goal of this pull request is to get the daemon implemented so I can notify Diego to enable it. Later, in another PR, once Blackletter is ready, we can add the command functionality. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ScanManagerwithneeds_processing()queryset andis_stale_processingmodel propertyprocess_scansandrun_daemonmanagement commands for background scan processingscanning-daemonDocker Compose service (reuses the Django image with a different entrypoint)process_scanscommand will be implemented on a different PR once blackletter is ready for implementation.Closes #18
Paired with @quevon24 and Claude Code