Skip to content

feat(agentgateway): add global id filter for lob agents - #262

Closed
I542102 wants to merge 6 commits into
SAP:mainfrom
I542102:vl-filter-fragment
Closed

feat(agentgateway): add global id filter for lob agents#262
I542102 wants to merge 6 commits into
SAP:mainfrom
I542102:vl-filter-fragment

Conversation

@I542102

@I542102 I542102 commented Aug 7, 2026

Copy link
Copy Markdown

Summary

  • Adds a global ID filter capability for LOB agents in the Agent Gateway client
  • Introduces new filter fragments in _fragments.py to support filtering by global ID
  • Extends _models.py with the corresponding filter models
  • Updates _lob.py and agw_client.py to wire the new filter through the query path

Test plan

  • Unit tests added in tests/agentgateway/unit/test_agw_client.py covering the new filter logic
  • Unit tests added in tests/agentgateway/unit/test_lob.py for LOB-specific filter behavior
  • Run pytest tests/agentgateway/ locally to verify all tests pass

@I542102
I542102 requested a review from a team as a code owner August 7, 2026 19:35
@cla-assistant

cla-assistant Bot commented Aug 7, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@I542102
I542102 force-pushed the vl-filter-fragment branch from 67f769d to 5e01c4c Compare August 7, 2026 19:44
intomg1990 and others added 5 commits August 9, 2026 17:31
…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.
…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.
@I542102 I542102 closed this Aug 10, 2026
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