Skip to content

feat(research): promote nationwide municipality imports from dev - #142

Merged
p3t3r67x0 merged 4 commits into
mainfrom
dev
Sep 28, 2026
Merged

p3t3r67x0 merged 4 commits into
mainfrom
dev

Conversation

@p3t3r67x0

Copy link
Copy Markdown
Collaborator

Research operator commands now use exported environment variables without reading the local runtime .env, and municipality imports cover all 16 German states plus all 98 Danish municipalities. This promotes the changes merged into dev via #141; the current comparison contains four commits and 16 changed files.

The BKG input contains 10,747 German municipalities. Strict AGS matching, catalog-pinned Danish relation IDs, own-Nominatim-only boundaries, deterministic resume and idempotent persistence remain enforced. The 107 German city exceptions were individually verified. Live plans covered 112 German municipalities and all 98 Danish entries; Thisted and Aabenraa remain visible rejections because their relations are absent from the own provider. No production import was performed.

Migration 0017 follows unchanged 0016 and only expands the region constraint. The downgrade refuses to proceed while areas outside the previous scope remain. Metadata and the deployment upgrade contract are aligned; no additional grants are needed. Deploy the migration before the compatible backend and coordinate imports for the table lock. Start at offset 0 when switching from the old geographic scope.

Validation on #141: backend lint, typecheck and tests passed; all three deployment safety matrix jobs passed; database documentation generation, dependency review and Python CodeQL passed. Frontend and JavaScript CodeQL were skipped by path filters. Local research/SQL-console/migration rerun: 372 passed; the optional Qdrant integration was skipped in the full local suite because TEST_QDRANT_URL was unset. Checks on the current dev merge commit are still running; this PR receives its own checks.

Branch direction: dev → main. No merge or deployment is requested by this PR creation.

@p3t3r67x0
p3t3r67x0 merged commit f66d61e into main Sep 28, 2026
24 checks passed
@p3t3r67x0 p3t3r67x0 self-assigned this Sep 28, 2026
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.

1 participant