Skip to content

chore(upstream-sync): 2026-05-01 pull from router-for-me/CLIProxyAPI#11

Merged
leic4u merged 4 commits into
mainfrom
upstream-sync/20260501-1518
May 1, 2026
Merged

chore(upstream-sync): 2026-05-01 pull from router-for-me/CLIProxyAPI#11
leic4u merged 4 commits into
mainfrom
upstream-sync/20260501-1518

Conversation

@github-actions
Copy link
Copy Markdown

@github-actions github-actions Bot commented May 1, 2026

Upstream sync: router-for-me/CLIProxyAPImain

Commits being synced: 8b286e8fb39e1cc95dd86d8923e8baa83dec8722..61879190002c267d70ad0dd3992c817ad0014b23

Gate status

  • [!] go test FAILED

What to do

  1. Review the diff — especially cmd/server/main.go, go.mod, go.sum.
  2. Plus-only provider dirs are protected by .gitattributes merge=ours.
  3. Re-run failing gates locally: go build ./... && go test ./....
  4. Merge when green.

luispater and others added 4 commits April 30, 2026 23:36
… context-based request metadata utilities

- Introduced reusable utilities in `requestmeta` to manage endpoint and response status in request contexts.
- Refactored plugins and handlers to use context-based metadata, removing direct dependency on `gin`.
- Updated tests to validate new context utilities and replaced `gin`-based context handling.

Fixed: #3166
- Implemented `RecentRequestsSnapshot` in `Auth` to capture bucketed recent request data.
- Added new fields and methods to `Auth` for tracking request success and failure counts over time.
- Updated `/v0/management/auth-files` response to include recent request data for each auth record.
- Introduced unit tests to validate request tracking and snapshot generation logic.
@leic4u leic4u merged commit 69aa302 into main May 1, 2026
@leic4u leic4u deleted the upstream-sync/20260501-1518 branch May 1, 2026 17:53
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