Skip to content

gateway: respect explicit 'enabled: false' for plugin-owned platforms - #34733

Closed
rp-keeran wants to merge 1 commit into
NousResearch:mainfrom
rp-keeran:fix/gateway-respect-explicit-disable
Closed

gateway: respect explicit 'enabled: false' for plugin-owned platforms#34733
rp-keeran wants to merge 1 commit into
NousResearch:mainfrom
rp-keeran:fix/gateway-respect-explicit-disable

Conversation

@rp-keeran

Copy link
Copy Markdown

The env-override registry pass re-enabled any platform whose plugin dependency check passed, overriding an explicit enabled: false in config.yaml. A platform like Discord with no bot token would be flipped back on and retried pointlessly. Guards the loop to skip platforms that were explicitly disabled.

The env-override registry pass re-enabled any platform whose plugin
dependency check passed, overriding an explicit 'enabled: false' in
config.yaml — e.g. Discord with no bot token got flipped back on and
retried pointlessly. Skip platforms that were explicitly disabled.
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/gateway Gateway runner, session dispatch, delivery comp/plugins Plugin system and bundled plugins labels May 29, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Duplicate of #31596 (canonical fix for _apply_env_overrides() ignoring explicit enabled: false). Prior duplicates: #31665, #31676, #32148, #32527. Root issue: #30736/#31049.

@teknium1

Copy link
Copy Markdown
Contributor

Thanks for the focused gateway fix. This is already implemented on current main.

  • gateway/config.py:1259-1266 now records _enabled_explicit for every platform with an explicit enabled value, not only Slack.
  • gateway/config.py:2149-2161 skips the plugin-registry auto-enable pass when that explicit setting is false.
  • tests/gateway/test_slack_mention.py:515-563 covers enabled: false remaining disabled even with an environment token present.
  • Commit 5600105478ffde29d7566b45421b100eaa29c4ef carried this explicit-disable behavior into the bundled platform-plugin migration. The prior member comment also identified this PR as a duplicate of canonical issue fix(gateway): respect explicit plugin platform disable #31596.

Automated hermes-sweeper review.

@teknium1 teknium1 closed this Jul 13, 2026
@teknium1 teknium1 added the sweeper:implemented-on-main Sweeper: behavior already present on current main label Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/gateway Gateway runner, session dispatch, delivery comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have sweeper:implemented-on-main Sweeper: behavior already present on current main type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants