Skip to content

[Content] Fix review validation for PDF-only registry entries - #140

Merged
AdamGohs merged 1 commit into
mainfrom
fix/review-download-registry
Sep 11, 2026
Merged

AdamGohs merged 1 commit into
mainfrom
fix/review-download-registry

Conversation

@AdamGohs

Copy link
Copy Markdown
Collaborator

Review validation crashed on every PR because the shared registry includes legitimate PDF-only tiles without doc_location. Skip those tiles when comparing MDX document identities and reject non-string document paths with a validation error.

Added regression coverage for the actual registry, PDF-only and malformed entries, and invalid path types. All 48 review tests pass locally; the three new tests failed before the fix. This unblocks PR #139 once the trusted controller on main is updated.

@AdamGohs
AdamGohs requested a review from a team as a code owner September 11, 2026 01:57
@AdamGohs
AdamGohs deployed to review-control September 11, 2026 01:57 — with GitHub Actions Active
@usace-rmc-docs-review

usace-rmc-docs-review Bot commented Sep 11, 2026 •

Copy link
Copy Markdown

Review workflow

Purpose: content · Classification: awaiting administrator assignment
Document: not selected

Stage Reviewer Status

Next: Administrator: classify this PR

Completed stages persist until an administrator restarts them. Replies and resolved threads are not approval requirements. Use /review ready to request re-review within an active stage.

This PR has merged. Production deployment follows the main approval process.

@usace-rmc-docs-review usace-rmc-docs-review Bot changed the title Fix review validation for PDF-only registry entries [Content] Fix review validation for PDF-only registry entries Sep 11, 2026
@usace-rmc-docs-review usace-rmc-docs-review Bot added purpose:content stage:needs-lane Awaiting admin to assign a review lane labels Sep 11, 2026
@usace-rmc-docs-review

Copy link
Copy Markdown

@USACE-RMC/docs-admin — classify this PR with /review classify <lane> <document|->. Builds run while classification is pending.

@AdamGohs
AdamGohs merged commit 2f18c95 into main Sep 11, 2026
3 of 4 checks passed
@AdamGohs
AdamGohs deleted the fix/review-download-registry branch September 11, 2026 02:01

This branch was successfully deployed

1 active deployment
review-control — f8c78e14 Deployed Sep 11, 2026 by AdamGohs via control #332
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

purpose:content stage:needs-lane Awaiting admin to assign a review lane

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant