Skip to content

fix(airc): bump the airc pin to 7499136 so a core holds one daemon socket per persona - #4705

Merged
joelteply merged 1 commit into
canaryfrom
fix/airc-pin-one-socket-per-subscriber
Oct 4, 2026
Merged

joelteply merged 1 commit into
canaryfrom
fix/airc-pin-one-socket-per-subscriber

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Adopts airc #1523 (an attach carries a channel set) plus #1516–#1522.

Why: measured on the M5 2026-10-04, the core held ~955 attach sockets to its airc daemon (daemon: 985 connections, 1.2 GB RSS), one per persona × room. With this pin daemon_subscribe holds one attach per persona when the daemon advertises attach_channel_sets; against an older daemon it keeps the per-room shape, so mixed versions are safe both ways.

Verification: cargo check -p continuum-core --features metal,accelerate: 0 errors; the 20 unused-import warnings are identical with and without the bump (pre-existing on canary). The airc public surface only gained functions between the pins.

Receipt to follow on this PR: the M5 daemon's connections and RSS after the core deploys with this pin, against the 967 / 1.2 GB before. The ~130 inbound-bridge sockets stay until the cursor frame carries its room (airc slice 2).

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

@joelteply

Copy link
Copy Markdown
Contributor Author

APPROVED at 53b6a35, on CI green at this head (Cormac). The pin moves all 8 airc crates 9d55573 → 7499136 (#1523). The only other lockfile churn is airc deps resolving to windows-sys 0.61.2, which the pending windows-msvc check covers. The behaviour change lives in airc-lib behind the daemon's attach_channel_sets capability, so a mixed fleet degrades to per-room attach, as the M5 showed at 967 connections with a new daemon and the old lib.
IntelMac baseline for the receipt (airc daemon, before the bump, 2026-10-04 ~02:35Z): 951 unix sockets, 456 MB RSS, 89% of a core over a 30 s sample. The daemon updated to 7499136 at ~02:36Z: still 948 sockets (expected until this lands), and CPU spiked to ~150% during reconnect; a settled re-measure is running. I'll post the after once a core carrying this bump runs here.

…cket per persona, not one per room

airc #1523: an attach carries a channel set; airc-lib's daemon_subscribe holds ONE attach
per subscriber when the daemon advertises attach_channel_sets (typed status capability).
Measured 2026-10-04 before: the M5 core held ~955 attach sockets to its daemon (daemon
967-985 connections, 1.2 GB RSS); the IntelMac 951 sockets, 456 MB, 89% of a core. With
this pin the cores' persona subscriptions take the set shape; the per-room inbound bridge
(~130) collapses in a later slice once the cursor frame names its room.

Also adopts #1516-#1522. All eight manifest pins and the fifteen lock sources move to one
revision and nothing else in the lock changes (Astra's scope review: an earlier cut of this
branch predated #4698's lock normalization). cargo check --locked: 0 errors.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply
joelteply force-pushed the fix/airc-pin-one-socket-per-subscriber branch from 53b6a35 to 846fb65 Compare October 4, 2026 02:54
@github-actions github-actions Bot added size: S and removed size: M labels Oct 4, 2026
@joelteply
joelteply merged commit 5f92036 into canary Oct 4, 2026
7 checks passed
@joelteply
joelteply deleted the fix/airc-pin-one-socket-per-subscriber branch October 4, 2026 03:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant