Skip to content

Release 0.10.41 - #2418

Merged
neuromechanist merged 40 commits into
mainfrom
dev
Nov 26, 2026
Merged

neuromechanist merged 40 commits into
mainfrom
dev

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Release 0.10.41. The full entry is the ## 0.10.41 - 2026-11-26 section of CHANGELOG.md (#2417).

Contents: the local Zarr reader (#2406, carrying @marordyan's #2144 from a fork, ADR 0120): nemar zarr read <dataset> <recording> --start --duration (summary, --out raw little-endian channel-major, or --json), a local engine over stdio with a versioned protocol (GET /schemas/zarr-engine-protocol-v0.json), a public disk cache (2 GiB default), nemar engine status and nemar engine cache clear, and a Zarr engine section in nemar doctor. The Worker MCP server's read path moved into shared/zarr/; its output is pinned byte for byte by the read_window golden test.

Reviews: the five phases were reviewed on the contributor's fork; #2406 had one full review (no Critical; nine findings, all fixed: linear-time frame reading, a per-window fetch budget, decoder size checks before allocation, cache directory and invalidation rules, doctor never throwing, the [zarr] log prefix, no color variables in the engine environment, changelog accuracy) and a review of the fix commits (one Important finding, footers stored during a failed read now dropped too, fixed; two flaky timing tests made deterministic). main...dev is #2406 plus the changelog date, so those reviews cover the whole diff.

Production impact: no migration, no Worker variable or secret, no wrangler change; one new public route; one new CLI runtime dependency, fzstd 0.1.1, which the backend already uses. The MCP tools keep their names and output.

After merging: confirm https://api.nemar.org/health reports 0.10.41 and npm view nemar-cli version. Follow-up: #2405 (a local MCP server on the engine).

marordyan and others added 30 commits November 5, 2026 07:06
* Pin read_window output with a golden test

* Move sharding to shared/zarr

* Move blosc decoder to shared/zarr/codecs

* Move isV3Index to shared/zarr

* Point path comments at shared/zarr

* Make golden capture runs fail loudly

* Type isV3Index with ZarrIndexAny

* Rewrap comments that name moved paths
* Rewrap ragged comment in get-events

* Add Fetcher and JsonCache to shared/zarr

* Move shard footer loading to shared/zarr

* Move array metadata loading to shared/zarr

* Move level-0 read loop to shared/zarr

* Move value assembly to shared/zarr

* Check shared/zarr read against zarr-python

* Point moved-function comments at shared/zarr

* Pin read_window error-stage texts

* Test shared/zarr cache contracts

* Soften shared/zarr throw guarantees

* Align shared/zarr loader docs
* Tighten footer cache overwrite check

* Add engine protocol schema and zod mirror

* Check protocol schema against zod mirror

* Add frame codec and cross-language fixtures

* Publish engine protocol schema as v0

* Record read core and protocol ADR

* Allow null id on unreadable requests

* Open responses, keep requests strict

* Add scale, offset and payload limit

* Specify window and range semantics

* Harden frame decoding and its tests

* Compile protocol schema strictly in test

* Fix schema route cache comment

* Align the engine protocol with neuroschema

Squash of the neuroschema alignment fix PR (a2a47e3..d07a787), reviewed in five rounds. Fork CI cannot run on this PR (its base is a feature branch); local gates: targeted root and backend tests, typecheck, Biome, byte-identical fixtures, and a full unit-pure run on d07a787 compared with base 785c172, its new failures rerun in isolation (clean by the pre-registered rule).
Sync the Zarr epic with upstream dev
Sync the Zarr epic with upstream dev
# Conflicts:
#	.context/decisions/README.md
#	CHANGELOG.md
Name the API URL override once (API_URL_OVERRIDE_ENV) and use it in the engine allowlist and its test; build the bad-config child env from nothing. Tested: zarr engine/cli/report suites.
runNemar no longer spreads the test process env into the child. Tested: zarr-cli, zarr-engine-cli, zarr-doctor-cli.
Linux refuses a single argv entry over 128 KiB (E2BIG); the child now reads the frame from the test dir. Tested: zarr-engine-client 36 pass.
27M expect() calls exceeded the 5 s CI timeout; violations are collected and asserted once. Mutating rangeCeiling still fails it. Tested locally.
neuromechanist and others added 8 commits November 26, 2026 10:44
A footer fetched on a miss and put during a window that then fails to decode is now dropped with it. Entry-point test with a misplaced footer; fails with the put recording removed.
64 MiB in 16 KiB pieces, bound 1000 ms. Still fails against the pre-debba194 quadratic reader (3.35 s).
The long-body stand-in now ends at 64 MiB and flags it; the tests poll for the cancel and assert the end was never reached. An unbounded-drain mutant of readBodyCapped fails all three.
Local Zarr reader: shared read core, engine, nemar zarr read (from #2144)
* Changelog: date 0.10.41 [skip ci]

* Run the required checks
neuromechanist and others added 2 commits November 26, 2026 14:52
A skip marker in any commit of a squash-merged PR lands in the squash body on dev and silences the release PR (#2418).
@neuromechanist
neuromechanist merged commit 6f6f595 into main Nov 26, 2026
47 checks passed

This branch was previously deployed

1 inactive deployment
npm — e1fc749b Deployed Nov 26, 2026 by github-actions[bot] via publish #5013
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