Repository navigation
Conversation
loro before 1.17 left another copy of a doc's text in its string arena on every snapshot export, so a chat with a streaming agent grew quadratically until export panicked. Adds legacy 1.13.7 fixtures and a snapshot memory regression test, and upgrades the edge's loro-crdt to match. Upstream: zeronsh/zeron@6973500
Accept a local chat's sourceContext.repoRoot like its cwd (it never equals the cwd on Windows, where it is canonical), reject paths a chat names that no longer exist, match plain-folder projects by path without git, and back off failed watches up to 60 s. Upstream: zeronsh/zeron@4853312
A crash usually shows first as "Muse stdout closed", racing the process exit; try_wait lost that race under load and users got the bare protocol error instead of "Muse exited unexpectedly". Wait up to 250 ms for the exit, as the Pi driver does. Only the code fixes of this commit are ported: its CI restructure (ci.yml admission/reuse, nextest profile, test binary merges) is Zeron's own CI, the term-link race fix targets a crate Godspeed doesn't have, and the git identity fix is in credentials.rs (Zeron Cloud). Upstream: zeronsh/zeron@2500e8b
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ports Zeron commits after 4f55b0e1, up to and including 2500e8b3.
Ported
6973500b: update loro to 1.17 so streaming chats stop leaking memory. Before 1.17, each snapshot export copied the doc's text into the arena again, so memory grew quadratically. Brings in the legacy 1.13.7 fixtures,
loro_persistenceandsnapshot_memorytests, and the matching edgeloro-crdt1.17.1 bump. Lockfile regenerated from Godspeed's own: loro 1.16.2 → 1.17.1. Conflict inscripts/ci/test-core.sh: kept Godspeed's zeron-remote line, and droppedosc7501because Godspeed has no such test;attachments_roundtripnow runs through thecrates/doc/testsglob.4853312b: PR watches stop running git in every project. A local chat's
sourceContext.repoRootis accepted like its cwd. Paths a chat names that no longer exist are rejected. Plain-folder projects match by path without running git. Failed watches back off up to 60 s. Applied cleanly.2500e8b3 (partly): only the Muse crash fix. Muse now waits up to 250 ms for the process exit before reporting a crash. Not ported:
tests/miscbinaries): that is Zeron's own CI.zeron-term-linkcrate (dfbb6876).credentials.rs, which comes from cc7da5c2.This is noted in UPSTREAM.md.
Skipped
Tests
CARGO_TARGET_DIR=/Volumes/Lexar/build/godspeed-target-synccargo build -p godspeed✅,cargo check --workspace --tests✅--lib: 786 passed, 2 ignored ✅e2e(31 passed, 2 ignored),always_on_agents(10),telegram_bot(10) ✅device_routing: 12 passed, including upstream's newcheckout_change_request_accepts_a_local_chats_source_root.mcp_standalone_session_executes_on_the_selected_deviceoverflows its stack--lib: 435 passed ✅--lib --test-threads=1: 2174 passed ✅Left open for review: branch protection requires it.
🤖 Generated with Claude Code