{"record":{"id":"17d28eec46c270b7","repo":"zellij-org/zellij","slug":"failed-to-receive-event-on-channel","errorCode":null,"errorMessage":"failed to receive event on channel","messagePattern":"failed to receive event on channel","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"zellij-server/src/plugins/mod.rs","lineNumber":348,"sourceCode":"        layout_dir,\n        available_layouts,\n        available_layout_errors,\n        default_mode,\n        default_keybinds,\n    );\n\n    for run_plugin_or_alias in background_plugins {\n        load_background_plugin(\n            run_plugin_or_alias,\n            &mut wasm_bridge,\n            &bus,\n            &plugin_aliases,\n            initiating_client_id,\n        );\n    }\n\n    loop {\n        let (event, mut err_ctx) = bus.recv().expect(\"failed to receive event on channel\");\n        err_ctx.add_call(ContextType::Plugin((&event).into()));\n        match event {\n            PluginInstruction::Load(\n                should_float,\n                should_be_open_in_place,\n                close_replaced_pane,\n                pane_title,\n                mut run_plugin_or_alias,\n                tab_index,\n                pane_id_to_replace,\n                client_id,\n                size,\n                cwd,\n                focused_plugin_id,\n                skip_cache,\n                should_focus_plugin,\n                floating_pane_coordinates,\n                completion_tx,","sourceCodeStart":330,"sourceCodeEnd":366,"githubUrl":"https://github.com/zellij-org/zellij/blob/e839bfffa586992364309a685b2c71f3b23c247e/zellij-server/src/plugins/mod.rs#L330-L366","documentation":"Error \"failed to receive event on channel\" thrown in zellij-org/zellij.","triggerScenarios":"Occurs at zellij-server/src/plugins/mod.rs:348 when the operation fails: \"failed to receive event on channel\". Currently there is no defensive handling preventing or contextualizing this failure before it surfaces.","commonSituations":"Typically happens during shutdown or crash of a companion thread.","solutions":["The receiving end has shut down; ensure the component is alive before sending.","Treat this as a shutdown race; retry after restart or report if reproducible."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"e839bfffa586992364309a685b2c71f3b23c247e","analyzedAt":"2026-08-19T07:42:58.758Z","contentChangedAt":"2026-08-19T07:42:58.758Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}