Skip to content

chore: daily housekeeping report 2026-05-23 #336

@dowdiness

Description

@dowdiness

Daily Housekeeping Report — 2026-05-23

Area Status Summary
git WARN Detached HEAD; 35 commits ahead of origin/main; rabbita SSH submodule uncloneable in CI
lint WARN moon check 62 deprecation warnings (0 errors); moon fmt --check reports deprecated moon.mod.json drift
build PASS moon build --target js succeeded (19 deprecation warnings, 0 errors)
test FAIL 4 packages failing: rle (8/223), loom/examples/lambda, loom/examples/json, loom/examples/markdown
submodules WARN rabbita/templates/rabbita-template uses SSH URL — cannot clone in HTTPS-only environments

Details

FAIL — rle submodule: 8 test failures (string Display format change)

All 8 failures are expect-test snapshot mismatches caused by a MoonBit toolchain update that dropped quotes from String/Char display in Show output:

- Some("hello")
+ Some(hello)

- ['h', 'e', 'l', 'l', 'o']
+ [h, e, l, l, o]

- Ok("ell")
+ Ok(ell)

Affected files: rle/src/runs_test.mbt:225,233, rle/src/rle_test.mbt:227,234, rle/src/README.mbt.md:57,124,205,440

Fix: Run moon test --update inside rle/ to regenerate snapshots, then push a submodule update.


FAIL — loom/examples/{lambda,json,markdown}: Build error [4014] type mismatch (Derived vs Memo)

All three example packages fail to compile with:

Expr Type Mismatch
  has type : @dowdiness/incr/cells.Derived[_]
  wanted   : @dowdiness/incr/cells.Memo[_]

Root cause: the incr submodule (pinned at 219b9e65) appears to have renamed or split MemoDerived in its API, but the loom example packages haven't been updated to match. This is a cross-submodule API break.

Affected: loom/examples/lambda/src/callers/, loom/examples/json/src/, loom/examples/markdown/src/

Fix: Update call sites in loom examples to use Derived (or whichever the current type is), or align the incr pin to a version that still exports Memo.


WARN — moon check: 62 deprecation warnings

Recurring patterns across editor/ and relay/ packages:

  • @buffer.new() → use Buffer() instead
  • Buffer.write_string() → use StringBuilder or explicit Buffer encoders

These are non-blocking but will become errors in a future MoonBit release. Files: editor/ephemeral_encoding.mbt, editor/ephemeral_hub.mbt, editor/sync_editor_ws.mbt, editor/sync_protocol.mbt, relay/wire.mbt.


WARN — moon fmt --check: deprecated moon.mod.json migration notices

moon fmt --check exited non-zero with migration warnings for 8 modules:

Warning: Migrating to moon.mod at module root '/home/user/canopy', deprecated moon.mod.json is removed.

Affected: root, lib/btree, lib/dom-boundary, lib/moji, lib/rabbita_codemirror, lib/text-change, lib/visualizer, lib/zipper.

This is a formatting/toolchain migration drift — run moon fmt to resolve.


WARN — Submodule: rabbita SSH nested submodule

rabbita/templates/rabbita-template is configured with a SSH URL (git@github.com:moonbit-community/rabbita-template.git). This cannot be cloned in HTTPS-only environments (CI, remote dev containers). Non-blocking since rabbita/rabbita tests pass without it.


Stale Branch Candidates

None — only main branch exists locally. The repo is on a detached HEAD with 35 commits ahead of origin/main; those commits have not yet been pushed.


Open PRs (10 open)

# Title CI
#333 ci+workspace: add 5 in-repo members; drop v0.9.2 pin via NEW_MOON_MOD no checks
#287 chore(deps-dev): bump vite 8.0.8→8.0.13 in /examples/demo-react no checks
#286 chore(deps-dev): bump @vitejs/plugin-react 6.0.1→6.0.2 no checks
#285 chore(deps-dev): bump jsdom 29.0.2→29.1.1 no checks
#284 chore(deps): bump ws 8.20.0→8.20.1 in /examples/web no checks
#283 chore(deps-dev): bump vitest 4.1.4→4.1.6 no checks
#282 chore(deps-dev): bump vite 8.0.11→8.0.13 in /examples/web no checks
#281 chore(deps): bump react-dom 19.2.5→19.2.6 no checks
#280 chore(deps-dev): bump playwright group no checks
#276 docs: mark §7 aggregator-trim audit shipped no checks

Note: CI check rollup was unavailable via API at report time — statuses may exist on GitHub but were not returned.


Generated by automated housekeeping agent on 2026-05-23. MoonBit toolchain: 0.1.20260522 (84aa893).

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions