Skip to content

Move to the Mojo 1.3 nightly (1.3.0.dev2026111805) - #550

Draft
winding-lines wants to merge 4 commits into
mainfrom
mojo-1.3-nightly
Draft

winding-lines wants to merge 4 commits into
mainfrom
mojo-1.3-nightly

Conversation

@winding-lines

Copy link
Copy Markdown
Contributor

Part of moving every magmalake tin, and morca with them, from stable Mojo 1.2.0 to one pinned Mojo 1.3 nightly, 1.3.0.dev2026111805.

  • pixi.toml: one toolchain. mojo-compiler (and mojo, for mojo format and the llvm-symbolizer the image ships) pinned exactly in the workspace, the package's host, build and run dependencies, and the data and fmt features. The stable feature's tins move into [dependencies]; the nightly feature (dependencies and flare's shims built from checkouts) and the stable/nightly environments are gone.
  • Every tin re-pinned to its port, at the same revision in pixi.toml, CI's checkouts and deploy/Dockerfile: dista 628025d (morca-dev/dista mojo-1.3-nightly), k8s, iceberg, postgres, objectstore (+shim), arrow-mlake, memory-region, threads, flare_mlake, json_mlake, sqlite, parquet, thrift, hashes, snappy, deflate, avro, roaring, zstd, lz4, brotli, mozz_mlake. deploy/runtime/pixi.toml, tests/example-project.sh and tests/runtime-image.sh pin the same compiler; both locks written again.
  • ouromo: the only published ouromo (1.2.0.1) depends on mojo-compiler ==1.2.0, which can't be installed beside the new pin, so its feature and environment are commented out (with why) until an ouromo on this Mojo exists. Owner's call.
  • String.find()/rfind() return Optional[Int]: every call takes .or_else(-1), which keeps each site's logic exactly (no site compared a result with == -1/!= -1 or tested it for truth); two presence tests became in/not in. The same in the Mojo that scripts/unit-tests.sh and scripts/pipelines.sh generate.
  • morca_main and the other functions over P: type_of(Pipeline): this nightly can't infer a struct's parameters for a static method called on such a P ("failed to infer parameter 'name' of parent struct 'Pipeline'"), though it reads P's parameters fine. They call through PipelineOf[P] (morca.pipeline), the same Pipeline named by P's parameters. No change for callers.
  • StringSlice → StringSpan, Ordering.RELEASE/ACQUIRE → release/acquire, and the nightly's new warnings (dead initial stores, a dead try, ^ on borrowed or already-owned values, doc-string capitals).
  • CI: no env matrix, no nightly-only checkouts; release-check gets mojo-compiler.
  • changes/: a minor fragment.

Verified locally (osx-arm64): all 87 tasks of test (test-executor-core, -workers, test-scheduler-ui) pass; test-priority only under bash, since macOS's /bin/sh keeps a variable assigned before a function call (unrelated to the port). The data environment's test-data-tables/sensors/keyed and taxi pass, but only against a liblake built with --no-optimization (below). fuzz (20,000 runs each), format-check, check_layers.py, no-orca, sql-in-db, file-size, version, lock.sh --check pass. No warnings from morca's own sources.

Not working, needs a decision:

  • liblake doesn't link at default optimization: mojo build --emit shared-lib of src/morca/_lake/liblake.mojo fails with an undefined parquet::assemble::build_field(...) referenced from ParquetReader._assemble (a function referenced but never emitted), the shape seen with iceberg's carrow-scan-lib. It links with --no-optimization. So build-liblake and pixi build of morca-mojo fail on osx-arm64; Linux is up to CI. A compiler bug; nothing here works around it.
  • The rust environment's Mojo segfaults on macOS (even mojo --version): this nightly's mojo-compiler ships lib/libLLVM.dylib (1.2.0 didn't), and conda-forge's rust ships one at the same path, which replaces it. The Mojo sources of the Rust tests compile in the data environment; the Rust tests themselves didn't run here.

Not run here: kind, the runtime/project images (Docker), project-test/release, the Lean formal job, customs, the Linux-only paths of test-cgroups/test-usage/test-pressure/test-sample (they skip on macOS).

Not to be released on its own: the tins release together as one wave.

🤖 Generated with Claude Code

https://claude.ai/code/session_017TycsxF3PkSX49fnv7cSZd

winding-lines and others added 4 commits November 19, 2026 07:42
- pixi.toml: mojo-compiler and mojo pinned ==1.3.0.dev2026111805 in the
  workspace, the package's host, build and run dependencies, and the data
  and fmt features (fmt takes `mojo`, which ships `mojo format`). The
  stable feature's tins move into [dependencies] and its DEP_INC into
  [activation.env]; the nightly feature (sources and flare's shims built
  from checkouts) and the stable and nightly environments are gone.
- Every tin re-pinned to its port: dista 628025d, k8s, iceberg,
  postgres, objectstore (+shim), arrow-mlake, memory-region, threads,
  flare_mlake, json_mlake, sqlite, zstd, lz4, brotli, mozz_mlake; the same
  revision in pixi.toml, CI's checkouts and deploy/Dockerfile's
  DISTA_REV/K8S_REV.
- The ouromo feature and environment are commented out: the only ouromo
  published (1.2.0.1) depends on mojo-compiler ==1.2.0, which can't be
  installed beside the new pin.
- deploy/runtime/pixi.toml, tests/example-project.sh and
  tests/runtime-image.sh pin the same compiler; deploy/runtime/pixi.lock
  and pixi.lock written again.
- String.find()/rfind() return Optional[Int]: every call takes
  .or_else(-1), which keeps each site's logic, two presence tests become
  `in`/`not in`; also in the Mojo that scripts/unit-tests.sh and
  scripts/pipelines.sh generate.
- StringSlice -> StringSpan; Ordering.RELEASE/ACQUIRE -> release/acquire.
- morca_main and the other functions over `P: type_of(Pipeline)` call P's
  static methods through PipelineOf[P] (morca.pipeline), the same
  Pipeline named by P's parameters: this nightly can't infer a struct's
  parameters for a static method called on such a P.
- New warnings fixed: dead initial stores become deferred declarations, an
  unused Dict removed (views/steps.mojo), a `^` on a borrowed argument
  removed (api/actions.mojo).
- CI: no env matrix or nightly-only checkouts; release-check gets
  mojo-compiler; README and DESIGN.md name the new Mojo.
- changes/: a minor fragment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017TycsxF3PkSX49fnv7cSZd
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017TycsxF3PkSX49fnv7cSZd
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