fix(tests): fix paperless-ngx container-structure-test config#335
Open
Copilot wants to merge 1 commit into
Open
fix(tests): fix paperless-ngx container-structure-test config#335Copilot wants to merge 1 commit into
Copilot wants to merge 1 commit into
Conversation
Copilot created this pull request from a session on behalf of
bdossantos
June 1, 2026 09:35
View session
There was a problem hiding this comment.
Pull request overview
This PR fixes the paperless-ngx container-structure-test configuration so CI stops failing due to checks against a non-existent binary path and an unfilled checksum placeholder.
Changes:
- Replace the file existence check from
/app/bin/paperless-ngto/app/manage.py. - Remove the
commandTestssection that contained aTBDsha256 expected output (guaranteed failure). - Keep the existing NLTK data existence checks as-is.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The
tests/paperless-ngx.yamlreferenced a non-existent binary (/app/bin/paperless-ng) and had aTBDplaceholder checksum, causing all four tests to fail.Changes
commandTests— thesha256sumtest had an unfilledTBDexpected output; it would always failpaperless-ng binary exists(path:/app/bin/paperless-ng) withmanage.py exists(path:/app/manage.py) — the actual Django management entry point copied fromsrc/manage.pyduring the build; nobin/subdir exists in paperless-ngxsrc/, andpyproject.tomlsetspackage = falseso no pip entry-point scripts are installed either