Some checks failed
CI / E2E Tests (push) Has been skipped
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 3s
CI / AI Services (Python) — Smoke (push) Failing after 3s
CodeQL Analysis / CodeQL (javascript-typescript) (push) Failing after 1m4s
Deploy / Build API Image (push) Failing after 9s
Deploy / Build Web Image (push) Failing after 4s
Deploy / Build AI Services Image (push) Failing after 5s
E2E Tests / Playwright E2E (push) Failing after 8s
Security Scanning / Dependency Audit (pnpm) (push) Failing after 4s
Security Scanning / Trivy Scan — Web Image (push) Failing after 33s
Security Scanning / Trivy Scan — API Image (push) Failing after 42s
Security Scanning / Trivy Scan — AI Services Image (push) Failing after 31s
Security Scanning / Trivy Filesystem Scan (push) Failing after 33s
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Smoke Test Staging (push) Has been skipped
Security Scanning / Security Gate (push) Failing after 1s
Deploy / Rollback Staging (push) Has been skipped
Deploy / Deploy to Production (push) Failing after 13m17s
Deploy / Smoke Test Production (push) Has been cancelled
Deploy / Rollback Production (push) Has been cancelled
The previous filter was `isPublic = true AND dataSource IN (...)` — so even
when an admin passed `includeOsmRaw=true`, raw OSM rows were excluded
because they're imported with `isPublic = false`. That defeated the entire
admin-preview use case.
New visibility rule:
- Public callers: only `isPublic = true` rows (MANUAL + OSM_PROMOTED).
- Admin callers (`includeOsmRaw=true`): also include OSM raw rows
regardless of `isPublic`, so the admin map shows the review queue.
Verified locally: bbox over HCMC with includeOsmRaw=true now returns
548 features (9 MANUAL + 539 OSM). Default public call still returns 9.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>