Skip to content

🚧 Retire FileValidator#1188

Draft
laritakr wants to merge 1 commit into
validate-files-comparable-to-importingfrom
retire-file-validator
Draft

🚧 Retire FileValidator#1188
laritakr wants to merge 1 commit into
validate-files-comparable-to-importingfrom
retire-file-validator

Conversation

@laritakr
Copy link
Copy Markdown
Contributor

Summary

Replaces the basename-only Bulkrax::FileValidator with a path-aware per-row CsvRow::FileReference validator, dropping the four legacy aggregate response fields and routing missing-file warnings through the standard row-warnings accordion.

FileValidator produced aggregate file fields (`missingFiles`,
`fileReferences`, `foundFiles`, `zipIncluded`) on the validate JSON
which drove a dedicated `file_references` UI accordion.

This is now functionally redundant, as it has been replaced
by the new per-row CsvRow::FileReference that produces the same
information with row attribution and path-aware comparison.

With this commit, we drop FileValidator and the four aggregate fields.
Missing files now appear in the `row_level_warnings` accordion as
warnings. The "files referenced but no zip" case becomes a notice
shown via the `notices` accordion.

This also requires an update in Demo Mode. The JSON scenarios and the
DEMO_MODE=true runtime mock both emit the new shape. Consolidated the
duplicated spec demo_scenarios.json to the canonical copy under lib/.

Obsolete locale keys are removedacross all seven supported languages.
@laritakr laritakr changed the title Retire FileValidator 🚧 Retire FileValidator Apr 27, 2026
@laritakr laritakr added bug-fix patch-ver for release notes labels Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix patch-ver for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant