Skip to content

Merge dev into the pipeline-progress epic (0.10.41) - #2419

Merged
neuromechanist merged 43 commits into
feature/issue-2324-epic-pipeline-progressfrom
chore/epic2324-merge-dev-4
Nov 26, 2026
Merged

neuromechanist merged 43 commits into
feature/issue-2324-epic-pipeline-progressfrom
chore/epic2324-merge-dev-4

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Brings feature/issue-2324-epic-pipeline-progress up to date with dev (40 commits: 0.10.40 released, 0.10.41 dated by #2417, the Zarr reader core epic #2406, version bumps). Real merge, no rebase.

Conflicts and resolutions

  • CHANGELOG.md: the epic's entries stay under ## Unreleased, above ## 0.10.41. Every dated section from 0.10.41 down, and the header, is byte-identical to origin/dev; the epic's Unreleased block is byte-identical to the epic head. The epic's "as for 1.0.0-b1 in 0.10.40 below" still holds (0.10.40 is still below), so it is unchanged.
  • test/adr-index.unit.test.ts: TOLERATED_GAPS is now {127, 139}. ADR 0120 landed from dev and ADR 0137 is on the epic, so both reservations are dropped. The index auto-merged with both sides' ADRs.
  • shared/contract/neuroschema/build-vendor.mjs and test/contract/neuroschema-validator.ts: both sides added a record root in different ways. Dev cut a separate record.bundle.json at neuroschema 0.4.1. The epic walks the dataset and record roots into one dataset.bundle.json (roots.record) at 0.6.0, with views vendoring and --check. Kept the epic's version; compileNeuroschemaRecordValidator keeps its name and now reads roots.record.
  • record.bundle.json removed: at 0.4.1 it no longer matched NEUROSCHEMA_VERSION (0.6.0), and keeping two bundles would mean two copies that drift. test/contract-neuroschema-record.test.ts (from dev) now checks that the pinned bundle declares the record root and holds its schema. The three published record fixtures validate against the 0.6.0 record schema, and so does the engine's opened golden frame. ADR 0120's reference list still names record.bundle.json; it was left as written.

Other checks

  • Migrations: dev added none (it ends at 0149), so the epic's 0150-0154 keep their numbers.
  • Package versions: dev's CI-owned values, which merged without conflict.
  • Seams with Local Zarr reader: shared read core, engine, nemar zarr read (from #2144) #2406: the only files both sides touched are the ones above, plus test/api-export-surface.unit.test.ts, which auto-merged and passes. Dev's moves (blosc-decode and mcp/sharding into shared/zarr/) have no remaining epic importers, and typecheck passes.

Tests

  • bun run typecheck, bun run lint
  • bun run migrations:d1-check (all migrations applied on real D1; catalog matches)
  • test/adr-index, test/migration-prefixes, test/changelog-format, test/api-export-surface, test/contract-neuroschema*, test/zarr-engine*, test/compute-progress-contract, test/quality-documents-contract, test/plugin-manifest-contract, test/compute-checkpoints, test/neuroschema-build-vendor: 992 pass, 1 skip, 0 fail
  • backend test/zarr-core-*, test/zarr-window-samples: 26 pass
  • Full bun test: not run, per the epic test-cost rule (it runs at epic -> dev)

Follow-up (c1b0028): ADR 0120's references now name the record root of dataset.bundle.json, with a note that record.bundle.json (cut at 0.4.1) was folded into the single 0.6.0 bundle.

Agentic AI tools were used. The author assumes full responsibility for this content.

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 11 commits November 26, 2026 10:42
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
Conflicts: CHANGELOG.md (epic Unreleased above dev's dated sections,
dev's sections byte-identical), ADR gaps (0120 and 0137 landed; 127
and 139 stay), neuroschema build-vendor.mjs and validator (keep the
epic's one bundle with dataset and record roots at 0.6.0; drop dev's
0.4.1 record.bundle.json and point its test at roots.record).

Tested: typecheck, lint, adr-index, migration checks, neuroschema,
zarr engine and backend zarr-core suites.
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR2419

Version: 0.10.41-PR2419.9388387
Commit: 9388387


🤖 Updated on each push.

@neuromechanist
neuromechanist merged commit bdfed6c into feature/issue-2324-epic-pipeline-progress Nov 26, 2026
27 checks passed
@neuromechanist
neuromechanist deleted the chore/epic2324-merge-dev-4 branch November 26, 2026 20:48

This branch was previously deployed

1 inactive deployment
npm — 93883872 Deployed Nov 26, 2026 by neuromechanist via publish #5009
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