Skip to content

chore(deps): move moonproto to fe02d799 - #1485

Merged
guyverino merged 1 commit into
mainfrom
chore/moonproto-fe02d799
Nov 26, 2026
Merged

guyverino merged 1 commit into
mainfrom
chore/moonproto-fe02d799

Conversation

@guyverino

Copy link
Copy Markdown
Collaborator

What & why

Moves the MoonProto pin from 2f2443e1 to fe02d799, the SDK release for MoonBot 7.73 N2. It brings the API the next PRs use: AutoStartConfig2.cancel_buys_on_exit (the core cancels its own entry orders on exit), orders().force_cancel() for a stuck order, Event::EntryPriceCorrection (the core's manual entry-price limits), and action IDs on strategy start/stop. Older cores keep working: they ignore the new requests, and the terminal gates every new control on the core's reported features (follow-up PRs).

Only the two source = hashes in Cargo.lock move (moonproto and its vendored polling), edited by hand so that no other crate is re-resolved. Cargo.toml is unchanged.

Notable decisions

  • Lock-only commit, ahead of the feature PRs, so the dependency move can be reverted on its own.

Known limitations

  • shared_config/absorb.rs:121 in this MoonProto release always sets cancel_buys_on_exit = Some(..) from the compact settings packet, even for a core older than N2 that has no such setting. An older core skips the extra byte harmlessly, and the terminal gates the control on the core's features rather than on the settings snapshot. Reported to the library.

Issues

None of the 66 open issues is closed by this change on its own; it unblocks the N2 work that follows.

How to verify

cargo build -p moon-ui-gpui --bin moonterminal --target x86_64-pc-windows-msvc --all-targets
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-msvc -- -D warnings
cargo test --workspace --target x86_64-pc-windows-msvc

Local, after the rebase on dedca984: fmt --check exit 0, build exit 0, clippy zero warnings, cargo test --workspace --no-fail-fast 10569 passed / 1 failed, doc-tests green. The one failure is moon-core feed::tests::retired_feed_backlog_releases_all_queue_accounting, a known flake of the in-process run: it asserts a process-global queue counter that parallel feed tests move. It passes alone, and nextest in CI runs it in its own process.
Live: the terminal connected 29 of 29 cores to Ready on this pin, including two cores of build 236 (pre-N2).

Lock-only bump (moonproto and its vendored polling), MoonBot 7.73 N2 support:
- AutoStartConfig2.cancel_buys_on_exit (shared config and UI command)
- orders().force_cancel
- Event::EntryPriceCorrection / UICommand::EntryPriceCorrection
- strategy start/stop action ids
- chart-text subscription restored after a reconnect
@guyverino
guyverino force-pushed the chore/moonproto-fe02d799 branch from 51b62c2 to e232da0 Compare November 26, 2026 07:57
@guyverino
guyverino merged commit 2cfeb84 into main Nov 26, 2026
12 checks passed
@guyverino
guyverino deleted the chore/moonproto-fe02d799 branch November 26, 2026 11:13
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