Skip to content

OpenAQ no-data, null-reading, and live-smoke regression suite #307

@Jesssullivan

Description

@Jesssullivan

Linear: https://linear.app/tinyland/issue/TIN-1729/openaq-no-data-null-reading-and-live-smoke-regression-suite

Problem

OpenAQ behavior varies sharply by viewport: Ithaca-like sparse views can legitimately have zero numeric readings, while dense metro regions return many readings and continental bboxes can hit upstream limits. We need regression coverage that proves those states are visible and not confused with proxy failure.

Scope

  • Add deterministic mocked tests for sparse, all-null, mixed numeric/null, degraded, and capped OpenAQ payloads.
  • Add browser/e2e coverage that verifies layer health, point readout, PM2.5 support popover, and transmission provenance with mocked OpenAQ data.
  • Add a lightweight live-smoke script or Justfile recipe for known sparse and dense bboxes, with assertions limited to degraded/status/shape rather than exact station counts.

Acceptance

  • CI can catch null-as-zero, hidden-degraded, and capped-result regressions.
  • Sparse live viewports report honest no-data/no-reading states.
  • Dense mocked viewports exercise PM2.5 estimate -> AOD provenance end to end.

Related: #271, #275, #264.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestlinear-syncMirrors active Linear planning ticketsmapsMap data, layers, routes, and geospatial UXstabilityReliability and long-term operational hardening

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions