Forward gateway error frames (op 12) to the store as CoreEvent::GatewayError #108

Open
opened 2026-11-11 18:26:59 +00:00 by charles · 0 comments
Owner

Found while building Voice 7 (#68), on branch voice/7-core-voice-connection.

fluxer-core now takes CoreEvent::GatewayError(fluxer_proto::gateway::GatewayError) and fails a pending voice join with its code (VoiceFailure::Gateway(code) / E2eeRequired). Nothing produces that event yet:

  • crates/fluxer-gateway/src/machine.rs (Opcode::GatewayError arm) only logs the frame; it needs to hand the parsed GatewayError out (a new ConnectionEvent/Output variant).
  • apps/fluxer/src/runtime.rs then reports it as CoreEvent::GatewayError.

Until this is done a refused join (channel full, no permission, E2EE required) shows as a timeout after 15 s instead of the server's reason. Natural home: Voice 14 (runtime wiring, #75), with the fluxer-gateway part either there or as its own small task, since Voice 14's file list does not include that crate.

Found while building Voice 7 (#68), on branch `voice/7-core-voice-connection`. `fluxer-core` now takes `CoreEvent::GatewayError(fluxer_proto::gateway::GatewayError)` and fails a pending voice join with its code (`VoiceFailure::Gateway(code)` / `E2eeRequired`). Nothing produces that event yet: - `crates/fluxer-gateway/src/machine.rs` (`Opcode::GatewayError` arm) only logs the frame; it needs to hand the parsed `GatewayError` out (a new `ConnectionEvent`/`Output` variant). - `apps/fluxer/src/runtime.rs` then reports it as `CoreEvent::GatewayError`. Until this is done a refused join (channel full, no permission, E2EE required) shows as a timeout after 15 s instead of the server's reason. Natural home: Voice 14 (runtime wiring, #75), with the `fluxer-gateway` part either there or as its own small task, since Voice 14's file list does not include that crate.
charles added this to the Voice milestone 2026-11-11 18:26:59 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#108
No description provided.