-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
feat: integrity check jobs (missing files, orphaned files, checksums) #24205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
insertish
wants to merge
41
commits into
main
Choose a base branch
from
feat/integrity-checks-izzy
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+3,952
−28
Draft
Changes from 39 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
f77f43a
stash: integrity checks
insertish 4a7120c
refactor: batched integrity checks
insertish 3414210
feat: checksum job
insertish 15503b1
chore: open api
insertish 1e941f3
feat: write integrity report to database
insertish 929ad52
feat: add createdAt to integrity report table
insertish cc31b9c
feat: clean up old reports of checksum or missing files
insertish ef7d8e9
feat: check orphaned file reports are not out of date
insertish 1744237
chore: open api
insertish 9386023
feat: add config options & cron entries for checks
insertish 2516319
fix: mock the new repository
insertish 919eb83
revert: override migration db url
insertish 4462683
chore: generate SQL queries
insertish 03276de
fix: add integrity report repository to service depends.
insertish 8db6132
fix: add mock for asset repo.
insertish 0fdc7b4
feat: draft controller entry
insertish d3abed3
feat: view integrity report in maintenance page (cherry picked)
insertish ca358f4
feat: sub-pages for integrity reports
insertish c50118e
chore: remove old table comment
insertish 13e9cf0
stash: moving computers because pnpm is cooked
insertish 2779fce
feat: manually trigger integrity jobs
insertish e447ba8
chore: sort i18n
insertish 4d7f7b8
feat: refresh missing & checksum
insertish 0362d21
test: take baseline, check for each issue, check refreshes work
insertish c4ac8d9
stash: incomplete checksum outdated test
insertish 01f96de
test: serialise the buffer over events
insertish 1daf1b4
chore: lint
insertish db690bc
chore: generate SQL
insertish fec8923
test: increase timeouts
insertish 06fcd54
feat: download csv report, download file, delete file
insertish 042af30
chore: use checksum configuration
insertish 806a288
feat: assetId, fileAssetId columns on integrity reports
insertish 6cfd199
feat: ability to delete all reports (and corresponding objects)
insertish 64cc64d
refactor: move all new queries into integrity repository
insertish 6e752be
fix: don't process trashed/deleted assets for integrity
insertish e1a1662
chore: more compliant csv
insertish 73a17bb
chore: generate SQL
insertish ae653f9
chore: lint
insertish 7a215c1
fix: flip deletedAt filter
insertish 5d5d421
fix: `path` -> `reportId` as `reportId`
insertish 6e7854b
chore: sync SQL
insertish File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move to separate test file