Skip to content

TinyComputer config changes after load are refused in security-module builds #8725

Open

Description

@senamakel

In a security-module build TinyComputer is loaded callback-bound, and TinyBus refuses any later reinitialize_module whose config differs from the load-time blob (scoped callback configuration is immutable, vendor/tinybus/crates/tinybus/src/module/host.rs). modules::desktop::proxy rebuilds the blob from module_config before every call, so changing any field it carries after the module has loaded — browser.executable (chrome_path), browser.profile (persistent profile_path, added in #8712), captcha, the Jev/planner routes and keys — makes every subsequent browser and desktop call fail until the core restarts.

Fix belongs upstream: either a TinyBus contract that lets a callback-bound module take a non-callback config update (only the callback-bearing fields stay frozen), or a TinyComputer member for updating settings in place. Then route the host refresh through it.

Raised from review on #8712 (chatgpt-codex-connector P1).

Activity

  1. M3gA-Mind commented on Nov 16, 2026

    @M3gA-Mind
    Collaborator

    Re-checked on current main (2b07daf): the upstream limit is unchanged. TinyBus still refuses a reinitialize_module whose config differs for a callback-bound module (module/host.rs ~2210-2216, also on tinybus main), and TinyComputer has no member for updating settings in place.

    In the meantime, #8744 (merged today) keeps the configuration TinyComputer was loaded with, so a changed proxy list no longer breaks browser calls in a running core; the change applies at the next core start. Either fix proposed here is still needed for changes to apply live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions