Architecture decision record · ADR-0004

The floor stays at WarpDrive 5.8.0

The peer range stays @warp-drive/core ^5.8.0.

Status
Accepted
Deciders
Joe Gaudet
Created
Updated
PRD
PRD
Related
None

Context

The research read only the 5.9.1 source. The plan sets the floor at 5.8 (decision 2). The CI floors job pins @warp-drive/core, @warp-drive/json-api and @warp-drive/legacy to 5.8.0. On 2026-12-01, 5.9.1 is the latest 5.9.x release.

Decision drivers

Not recorded in the original ADR.

Options considered

Not recorded in the original ADR.

Decision

The peer range stays @warp-drive/core ^5.8.0. No compat path for 5.8 is necessary.

Consequences

The same spike suite gives the same result on both versions:

Spike 5.8.0 5.9.1
S1 schema-object pass pass
S1 polymorphic schema-object, discriminator key pass pass
S1 polymorphic schema-object, @hash pass pass
S1 schema-array with options.key pass pass
S1 kind: 'field' Transformation pass pass
S1 array:<name> element transform pass pass
S2 nested setAttr bugs same bug same bug
S2 polymorphic whole-object write bug same bug same bug
S3 no memo on kind: 'field' same same
S4 withDefaults, model-fragments, legacy Model pass pass
S6 raw values same same
Polaris checkout and commit same same
Total 37 pass, 4 fails 37 pass, 4 fails
  • The legacy spikes need ember-source in the dev dependencies. It stays on 6.x: @warp-drive/legacy 5.8.0 imports the ember module, and ember-source 7 removed it.
  • The spikes run with DEBUG off, and with all WarpDrive features and deprecations off (see packages/warp-drive/tests/embroider-macros.ts). A dev assert or a flag that is different between the versions does not show here. A throw in a spike is a runtime throw.
  • The signal hooks are no-ops. No spike shows that a template renders again after a write.

Confirmation

Evidence

  • All files in packages/warp-drive/tests/spikes/.
  • Local run on 5.8.0: a copy of the repo with the CI floors overrides, then pnpm install --no-frozen-lockfile and vitest run tests/spikes.

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.

QuestionAnswerSource
Where does the text of this page come from?From the Markdown file docs/adr/0004-version-floor.md at commit c8154b0. 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/0004-version-floor.md

Changelog

DateAuthorChange
2026-12-01Joe GaudetStatus in the Markdown file: Accepted (M0, spike S1).
2026-12-01Joe GaudetCommit 0a16254: Build Millwork 1.0 (#1)
2026-12-04Joe Gaudet (agent)Converted from docs/adr/0004-version-floor.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.