Quickstart Troubleshooting

Use this guide when the committed quickstart app at examples/maplibre-quickstart/ does not load as expected.

Unsupported Compatibility Baseline

Symptoms:

Checks:

The quickstart app intentionally fails before the feature query when this contract is not satisfied.

Protected Endpoint Or Invalid Auth

Symptoms:

Checks:

The page always reports its auth mode. It never renders credential values.

CORS Or Browser Network Failures

Symptoms:

Checks:

npm run demo:quickstart:mock

If the fixture lane works but the live lane fails, the problem is likely environment or browser policy rather than the example code.

Invalid Quickstart Config

Symptoms:

Checks:

These validation failures happen before the app or staging integration issues GET /api/v1/admin/capabilities.

Empty Feature Queries

Symptoms:

Checks:

The quickstart app expects at least one feature because it fits the map and drives an inspection popup from the query result.

Unsupported Or Missing Geometry

Symptoms:

Checks:

The app filters out non-renderable records and only creates render layers for returned points, lines, or polygons. That means featureCount can be greater than renderableFeatureCount when the server returns mixed-quality data.

Basemap Style Load Failures

Symptoms:

Checks:

The fixture lane serves /__honua-quickstart__/basemap-style.json locally to keep smoke coverage deterministic.

Staging CI Config Drift

The live staging suite is triggered by npm run test:quickstart:staging and .github/workflows/quickstart-staging.yml. The deterministic browser smoke lane runs from .github/workflows/ci.yml on trunk plus release/** pushes and pull requests.

Required environment variables:

Optional environment variables:

If staging CI starts failing after an environment change:

Inspecting Runtime State

For browser debugging and Playwright smoke assertions, inspect:

Useful fields:

Every telemetry event is also dispatched as CustomEvent("honua:quickstart").

External Follow-on

This repo still depends on one bounded external child ticket for long-term staging stability: