Skip to content

Resolve floating date-times in the collection timezone - #1985

Merged
callumalpass merged 2 commits into
mainfrom
feat/engine-local-date-time
Nov 27, 2026
Merged

callumalpass merged 2 commits into
mainfrom
feat/engine-local-date-time

Conversation

@callumalpass

@callumalpass callumalpass commented Nov 27, 2026 •

Copy link
Copy Markdown
Member

Implements the engine portion of #1984. Record fields declared as local-date-time resolve in the collection timezone for CEL, ordering, and index projection. Eligible anyOf and oneOf unions can also admit offset instants. An overlap uses the earlier instant and a gap advances by its duration. Record bytes retain the original spelling.

Each matched schema must admit the value’s spelling. A floating value in a date-time field, or an offset value in a local-date-time field, stays a string and reports format_invalid. A valid floating value without a collection timezone stays a string and reports the nonblocking timezone_required warning at validation levels warn and error. A timezone change invalidates materialized index rows through the existing catalog resource fingerprint.

All 15 fixtures from mdbase-dev/mdbase-spec#72 passed against the conformance runner. The vendored suite has zero ratchet violations. The fixture sync follows the spec merge. Additional coverage includes a half-hour DST transition, conflicting matched schemas, contract reads and writes, and reordering existing records after changing the collection timezone.

Formatting, workspace Clippy, the architecture check, changelog, local CI, and daemon end-to-end checks passed.

The Rust workspace passed across two runs (3,802 tests, 18 ignored). The builder’s long checkout path required a short alias for the daemon socket fixtures. Four private D-Bus tests passed in the original run and the other 3,798 tests passed in the rerun.

The SDK pin and method inventory were regenerated from the CI-built application runtime. An independent build produced identical WASM bytes. The production, staging, and LAB SDK archives each passed cold-consumer and archive verification.

@callumalpass
callumalpass added this pull request to the merge queue Nov 27, 2026
Merged via the queue into main with commit f605373 Nov 27, 2026
43 checks passed
@callumalpass
callumalpass deleted the feat/engine-local-date-time branch November 27, 2026 12:26
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