Skip to content

Conversation

karenc-bq
Copy link
Contributor

Description

Normally we only need to skip a plugin during the execute pipeline when we are already in the pipeline and don't want to call the same plugin again.
For instance, when establishing the initial connection in Limitless Plugin it might enter a branch where the plugin calls this._plugin_service.connect. This eventually ends up in PluginManger._execute_with_subscribed_plugins. The wrapper will check if a pipeline has already been created and reuse that. This is problematic if the cached pipeline contains the plugin we need to skip.

This change stores regular pipelines and "skipped" pipelines with different cache keys to avoid this issue.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@karenc-bq karenc-bq merged commit 55d83a7 into main Jul 14, 2025
6 checks passed
@karenc-bq karenc-bq deleted the fix/skip-plugin branch July 14, 2025 17:28
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