Repository navigation
Description
Summary
replica::describe_view() (runtime/crates/replica/src/replica/client/describe.rs:133) hardcodes settings: mdbn_wire::common::Value::Null. As a result, client.describe() never exposes settings.timezone from mdbase.yaml to SDK apps. TaskNotes (callumalpass/tasknotes-app#647, which reads collectionTimezone(catalog.settings)) therefore always receives undefined and silently falls back to the browser's runtime timezone, even when the collection explicitly sets settings.timezone.
Environment & builds
- Environment: production (
https://connect.mdbase.dev,/healthrevision15537b6ed38d4adc6c741a438c611700460dc856) - TaskNotes web build:
index-tasknotes-268a56a187a6.js(includescallumalpass/tasknotes-app#647) - Paired CLI:
v0.2.44(Linux x64) - Observed UTC:
2026-11-28T00:52Z
Live reproduction
- Create a Cloud Copy collection, open it in TaskNotes (
https://app.tasknotes.dev), complete setup, and create open tasks with floatingdue: "2026-11-28T23:50"(Timed Late) and date-onlydue: "2026-11-28"(Date Only). - Pair CLI
v0.2.44, setsettings.timezone: Pacific/Aucklandinmdbase.yaml, and wait for sync (0 pending, confirmed through head 26). At2026-11-28T00:52Z, Auckland is Saturday, November 28. - Override the browser timezone via CDP (
Emulation.setTimezoneOverride) toPacific/Honolulu(where2026-11-28T00:52Zis Friday, November 27) and reload TaskNotes.
Expected
TaskNotes resolves Today, Upcoming, and relative due dates in the collection's timezone (Pacific/Auckland, Saturday Nov 28), showing Timed Late and Date Only as due Today.
Observed
- Today view showed Friday, November 27, count
0, "Today is clear", "Next: Date Only · Tomorrow". - Upcoming badge showed
2. Timed Late(due: "2026-11-28T23:50") showed Due: Tomorrow, 11:50 PM.
Root cause verified in source
In runtime/crates/replica/src/replica/client/describe.rs:129-139:
Ok(crate::api::Describe {
spec_version: cat.spec_version().unwrap_or("").to_string(),
types,
contracts,
settings: mdbn_wire::common::Value::Null,
...
})Because settings is always Null, collectionTimezone(catalog.settings) in TaskNotes (nextTaskCatalog and apps/import/src/destination.ts) always gets undefined.
Positive checks from the same run
- Timed
due(2026-11-28T23:50,2026-11-28T09:49) andscheduled(2026-11-28T10:48) persisted as floating wall times (noZ/offset). - Date-only
due(2026-11-28) stayed date-only;dateCreated/dateModifiedstayed UTCZinstants. - Editor (
index-C51b_B65-15537b6ed38d.js) displayed2026-11-28T23:50and preserved the floating spelling after a body edit.
Activity
callumalpass commentedon Nov 28, 2026
Release supervisor triage (SC37)
replica::describe_view()(not a regression from the latest release); rolling back Server or TaskNotes would not populatecatalog.settings.Confirmed location (
origin/maincea053a37)runtime/crates/replica/src/replica/client/describe.rs:133hardcodessettings: mdbn_wire::common::Value::Null.mdbase.yamlsettings (includingtimezone: Option<String>) viaCatalog::settings()(runtime/crates/core/src/types.rs:48-78), andmdbase-wasmalready serializes them (runtime/crates/mdbase-wasm/src/json.rs:177).#1996does not touchdescribe.rs.Fix-forward direction
Describe.settingsfromcat.settings()inruntime/crates/replica/src/replica/client/describe.rs, add replica + SDKdescribe()tests assertingsettings.timezonepropagates end-to-end, rebuild/repinapp-runtime.wasm, and let SDK/TaskNotes pick it up alongside companion P3callumalpass/tasknotes-app#662.callumalpass commentedon Nov 28, 2026
Verified live in production on Connect
5be4c301c8b6and TaskNotesindex-tasknotes-4dfdcbdae1b7.js/ffc7daea0ff6(SDK0.2.59, carrying PR #2002, 2026-11-28): a hosted collection configured withPacific/Honoluluexposed its timezone throughreplica.describe()so TaskNotes Today displayed "Friday, November 27" while the Melbourne browser desk was on Saturday, November 28. Closing as fixed.