Skip to content

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

Merged
razbroc merged 1 commit into
feat/get-cache-returns-whole-cachefrom
feat/get-cache-geopackage-coverage
Sep 6, 2026
Merged

razbroc merged 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.

@razbroc
razbroc force-pushed the feat/get-cache-geopackage-coverage branch from 75382d7 to d724a5c Compare August 24, 2026 13:33
@almog8k
almog8k force-pushed the feat/get-cache-geopackage-coverage branch from d724a5c to adc02fa Compare September 2, 2026 07:15
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 adc02fa to 71735a6 Compare September 6, 2026 10:51
@razbroc
razbroc merged commit 2589129 into master Sep 6, 2026
5 checks passed
@razbroc
razbroc deleted the feat/get-cache-geopackage-coverage branch September 6, 2026 10:54
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.

2 participants