Skip to content

fix: bound AI Gateway method and route metric labels - #29722

Closed
pawbana wants to merge 5 commits into
pawel/aigov-615-reverse-proxy-handler-with-recorder-lifecycle-and-key-4from
pawel/aigov-615-reverse-proxy-handler-with-recorder-lifecycle-and-key-5
Closed

pawbana wants to merge 5 commits into
pawel/aigov-615-reverse-proxy-handler-with-recorder-lifecycle-and-key-4from
pawel/aigov-615-reverse-proxy-handler-with-recorder-lifecycle-and-key-5

Conversation

@pawbana

@pawbana pawbana commented Sep 22, 2026

Copy link
Copy Markdown
Collaborator

Use registered route patterns and bounded HTTP method values for interception and passthrough metrics. Preserve one passthrough transport per provider and document the label contract.

Part 5/10 of AIGOV-615, split from #29656. Stacked on #29721; review only the incremental diff. One commit in this slice. The original PR remains a reference draft.

Implementation plan and review scope

Apply the method helper without changing metric families or breaker behavior. Cover variable paths, unknown methods, and transport reuse with shared fixtures.

Sequence: mechanical moves; helper changes; security; replay; metrics; transport cancellation; shutdown; dormant forwarding; complete dormant recording; final activation. The numbered branches are stacked for publication, not evidence that every patch has a runtime dependency on its predecessor.

Each slice received a dedicated GPT 5.6 Sol concision review before publication. Preserve regression outcomes rather than removing tests only for line count.

Generated by Coder Agents on behalf of @pawbana.

@linear-code

linear-code Bot commented Sep 22, 2026

Copy link
Copy Markdown

AIGOV-615

@github-actions

Copy link
Copy Markdown
Contributor

Docs preview

Check off each page once it's been reviewed. If a page changes in a later push, its checkbox clears automatically so it gets a fresh look. Pages not yet wired into the docs navigation aren't listed here.

@pawbana pawbana removed their assignment Sep 22, 2026
@pawbana
pawbana added this pull request to stack #29736 September 22, 2026 16:14
@pawbana
pawbana force-pushed the pawel/aigov-615-reverse-proxy-handler-with-recorder-lifecycle-and-key-4 branch 7 times, most recently from 793c924 to 90b24cd Compare September 24, 2026 17:11
@pawbana

pawbana commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator Author

Dropped from the AIGOV-615 stack. Bounding the method and route metric labels is tracked separately in AIGOV-679. The branch is kept as a reference implementation.

Generated by Coder Agents on behalf of @pawbana.

@pawbana pawbana closed this Sep 24, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 24, 2026
@pawbana
pawbana removed this pull request from stack #29736 September 24, 2026 17:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant