Architecture decision record · ADR-0008
Conformance suite on recorded fixtures
A private conformance package runs the same tests on each adapter: result shape, coordinate order, empty results, HTTP errors, abort, unsupported capability.
Context
Seven of the ten providers need a paid key. CI must be green with no keys. Each adapter must obey the same contract.
Decision drivers
Not recorded in the original ADR.
Options considered
Not recorded in the original ADR.
Decision
- A private
conformancepackage runs the same tests on each adapter: result shape, coordinate order, empty results, HTTP errors, abort, unsupported capability. - Each adapter has recorded responses as fixtures. The tests replace
fetch. - An optional job calls the live API when the key is in the environment. It is not a required check.
Consequences
- A fixture can become old. The live job finds the difference.
- A new adapter is a request mapping, a response mapping and fixtures.
Confirmation
Not recorded in the original ADR.
Interview record
Each question of the interview with its answer and its source. A fact from the code or a document, a question that the author did not ask, and an assumption are rows too.
| Question | Answer | Source |
|---|---|---|
| Where does the text of this page come from? | From the Markdown file docs/adr/0008-adapter-tests.md at commit ece53da. The text of each section is the text of the Markdown file. A section that the Markdown file does not have says so. | Document: docs/adr/0008-adapter-tests.md |
Changelog
| Date | Author | Change |
|---|---|---|
| 2026-12-02 | Joe Gaudet | Status in the Markdown file: Proposed (plan, 2026-12-02). M0 confirms it. |
| 2026-12-02 | Joe Gaudet | Commit bca5c8f: Add the plan and the decisions for Meridian |
| 2026-12-04 | Joe Gaudet (agent) | Converted from docs/adr/0008-adapter-tests.md to this page. The text is the text of the Markdown file. |
The adr skill of skillsaw wrote this page. The HTML in this file is the source of truth. The diagrams are the Mermaid sources in it.