Skip to content

fix: check if auto_integrations was explicitly disabled - #1023

Merged
vollowx merged 3 commits into
mainfrom
push-zvkxmsyklkxw
Jul 22, 2026
Merged

vollowx merged 3 commits into
mainfrom
push-zvkxmsyklkxw

Conversation

@comfysage

Copy link
Copy Markdown
Collaborator

auto_integrations is enabled by default now which means that simply checking if the user enabled the option does not work. Instead, we should check if auto_integrations == false.

`auto_integrations` is enabled by default now which means that simply
checking if the user enabled the option does not work. Instead, we
should check if `auto_integrations == false`.

fix #1020
@comfysage comfysage changed the title fix: check whether auto_integrations was explicitly disabled fix: check if auto_integrations was explicitly disabled Jul 22, 2026
@vollowx

vollowx commented Jul 22, 2026

Copy link
Copy Markdown
Collaborator

Though this patch would work, IMO it'd be better to merge the user config first - doing it like this essentially bypasses the one in the default config and is weird semantically.

Merge: options = user_config & default_config
Check: options.auto_integrations?
Yes?: options = options & auto_config (since there are nothing that overlaps between default and auto ones, their order does not matter)
No?: continue

(Left ones have higher priority)

(Sorry for the format, I'm writing on the phone)

@comfysage
comfysage requested a review from vollowx July 22, 2026 15:45
@vollowx
vollowx merged commit c7c692a into main Jul 22, 2026
7 checks passed
@vollowx
vollowx deleted the push-zvkxmsyklkxw branch July 22, 2026 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants