feat(agentgateway): add global id filter for lob agents - #262
Closed
I542102 wants to merge 6 commits into
Closed
Conversation
I542102
force-pushed
the
vl-filter-fragment
branch
from
August 7, 2026 19:44
67f769d to
5e01c4c
Compare
…d typed return - Extract global_tenant_id, system_type, integration_dependency from fragment labels instead of parsing the fragment URL - Rename list_active_integrations to _list_active_integrations (private) - Add ActiveIntegration TypedDict for strong return type; export it from the agentgateway package - Skip fragments only when system_type label is absent (gtid and ord_id are guaranteed to be present by the writer) - Update unit tests to mock get_fragment_labels instead of URL parsing
…gment Fragments missing the system_type label are now included in the result with system_type set to None, and a debug log is emitted. Previously the fragment was silently dropped, causing incomplete results for older integrations.
Feat/afsdk 4288
…flict Resolves conflict in _fragments.py by adopting main's private label constants (_LABEL_GTID, _LABEL_ORD_ID, _LABEL_SYSTEM_TYPE) and updating the GTID filter in _list_fragments_by_label to use _LABEL_GTID.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
_fragments.pyto support filtering by global ID_models.pywith the corresponding filter models_lob.pyandagw_client.pyto wire the new filter through the query pathTest plan
tests/agentgateway/unit/test_agw_client.pycovering the new filter logictests/agentgateway/unit/test_lob.pyfor LOB-specific filter behaviorpytest tests/agentgateway/locally to verify all tests pass