Skip to content

test: cover a geopackage Cache at the HTTP seam - #176

Open
razbroc wants to merge 1 commit into
feat/get-cache-returns-whole-cachefrom
feat/get-cache-geopackage-coverage
Open

test: cover a geopackage Cache at the HTTP seam#176
razbroc wants to merge 1 commit into
feat/get-cache-returns-whole-cachefrom
feat/get-cache-geopackage-coverage

Conversation

@razbroc

@razbroc razbroc commented Aug 24, 2026

Copy link
Copy Markdown
Contributor
Question Answer
Bug fix
New feature
Breaking change
Deprecations
Documentation
Tests added
Chore

Related issues: MAPCO-11508

Further information:

Second PR on MAPCO-11508. Stacked on #175 — review and merge that first; this PR targets its branch, and its diff will reduce to one commit once #175 lands.

geopackage is an accepted cacheType, and #175 publishes its response schema, but no geopackage Cache existed in any fixture — so nothing proved that a real geopackage response satisfies the contract. The live dev configuration holds no geopackage Cache either, so the fixture's Cache Source is derived from GpkgSource rather than copied from an environment.

Verified that this test fails against the pre-loosening contract with cache must match exactly one schema in oneOf — so #175's schema commit is proved by this test rather than asserting itself.

geopackage is an accepted cacheType, and its response schema now exists, but no
geopackage Cache existed in any fixture - so nothing proved a real geopackage
response satisfies the contract. The live dev configuration holds no geopackage
Cache either, so the fixture Cache Source is derived from GpkgSource.

Verified that this test fails against the pre-loosening contract with 'cache must
match exactly one schema in oneOf'.
@razbroc
razbroc force-pushed the feat/get-cache-geopackage-coverage branch from 75382d7 to d724a5c Compare August 24, 2026 13:33
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