base red: revert the chats-mirror link into cmux-app-ffi (5a6a9c108b1, unpinned FFI)
Summary
Base red on feat-cmux-next: the cmux-next checks job reports "red check: Check the app FFI pin" on every push since 5a6a9c108b1.
5a6a9c108b1 ("cmux-app-ffi: link the chat index mirror (CCmuxChatsMirrorFFI)") was a direct push, not a PR. It made cmux-chats-mirror a Cargo path dependency of cmux-app-ffi, so the crate became an app FFI input. No release was published for it and the pin did not move:
- The
app-ffi-release.ymlpush run for 5a6a9c108b1 (41149681296) was cancelled. - The dispatch at 942efe90d5f (41150186727) is still queued for a Blacksmith macOS runner, more than an hour later.
The standing order is to revert first. This PR is a clean git revert of 5a6a9c108b1. The cmux-chats-mirror crate stays in the cmux-tui workspace (aaa31184e32 and 123cfaa557f stay). These parts go:
- the crate's link into the app static library
- the header export in
build-app-ffi.sh - the release smoke link and header compare
- the cross-build header list
- the license-list row
- the pin-owner line
No Swift code uses CCmuxChatsMirrorFFI yet (git grep finds none in Packages/).
To re-land: put the link back, let app-ffi-release.yml publish it, then pin the new URL and checksum in the same push or in the bot's re-pin PR.
Takes back 5a6a9c108b1 (direct push, no PR number): its FFI change landed without a release and pin, so every PR inherits a red "Check the app FFI pin".
Testing
Check: scripts/cmux-next/check-app-ffi-pin.sh --verify-release (the step's command on a feat push).
- At base 18757c258f1: exit 1. The error says "the app FFI sources changed since the pinned source c0331557f54..." and lists 5a6a9c108b1, 123cfaa557f and aaa31184e32.
- At this head: exit 0. The output says "sources match c0331557f5438d4c7e32f1af3e142dcf8c918b06" and "release built from c0331557f54... with checksum bbfca454...".
python3 tests/test_app_crate_licenses.py: OK (8 tests).python3 -m unittest tests.test_cmux_next_route -k app_ffi: OK (4 tests).python3 scripts/cmux-next/prepush-gate.py: no new violations.
Observed / Not run
Observed: I ran the checks above on a Linux VM and saw the results above. The fleet compile-check result is in a comment below.
Not run: cargo test -p cmux-app-ffi, and no local Rust build. The revert removes one pub use and one path dependency, back to the tree that c0331557f54's release built.
Changelog
none
Proof
CI, FFI wiring only; no UI.