Skip to content

Ensure federal agencies are linked only to US national location#594

Merged
maxachis merged 2 commits intodevfrom
fix-535-federal-agencies-national-location
Mar 9, 2026
Merged

Ensure federal agencies are linked only to US national location#594
maxachis merged 2 commits intodevfrom
fix-535-federal-agencies-national-location

Conversation

@maxachis
Copy link
Collaborator

Summary

  • add new integrity view: integrity__federal_agencies_wrong_location_view
  • include the new view in Integrity Monitor CTE checks
  • add migration to:
    • create the integrity view
    • remove non-national location links from federal agencies
    • ensure each federal agency has a national location link
  • add integration test coverage for the new integrity rule

Validation

  • uv run pytest tests/automated/integration/tasks/scheduled/impl/integrity -q
    • result: 5 passed

Closes #535

@josh-chamberlain
Copy link
Contributor

we do like to stop silly little data integrity leaks! nice

@maxachis maxachis merged commit c681400 into dev Mar 9, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants