forked from router-for-me/CLIProxyAPI
-
-
Notifications
You must be signed in to change notification settings - Fork 406
fix: resolve executor compile regressions #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
KooshaPari
wants to merge
421
commits into
router-for-me:main
from
KooshaPari:ci-compile-fix-clean-single2
Closed
Changes from all commits
Commits
Show all changes
421 commits
Select commit
Hold shift + click to select a range
4f87dac
chore(backup): snapshot docs and release-batch workflow
KooshaPari 31f085e
test(lane-3): add cursor synthesis and amp v1 model regressions
KooshaPari 225a6a6
feat(codex): normalize tool schemas for array union types (#259)
KooshaPari e184f3c
Merge branch 'wave-gh-next21-merge' into backup/bug-wave-issue-101-102
KooshaPari f6a5481
Merge branch 'wave-gh-next21-lane-1' into backup/bug-wave-issue-101-102
KooshaPari 7afa33b
Merge branch 'wave-gh-next21-lane-2' into backup/bug-wave-issue-101-102
KooshaPari 16fe699
Merge branch 'wave-gh-next21-lane-3' into backup/bug-wave-issue-101-102
KooshaPari 8bb109e
Merge wave-gh-next21-lane-4
KooshaPari 3dd58db
Merge wave-gh-next21-lane-5
KooshaPari d2e9f14
Merge wave-gh-next21-lane-6
KooshaPari c9e3e71
Merge wave-gh-next21-lane-7
KooshaPari be0899d
chore: require cheapest smoke checks in CI gates
KooshaPari ff087a5
test: cover variant codex high mapping in thinking E2E matrix
KooshaPari 7b200a7
docs: document task quality:quick:fix command
KooshaPari 6924aac
fix: normalize request header logging redaction
KooshaPari 40562e7
feat(amp): add kiro-compatible amp auth flow and tests (#232)
KooshaPari b274e63
test(amp): align dedicated provider model tests with available registry
KooshaPari 5e81023
chore(backup): checkpoint issue-wave cpb-0106 WIP docs and codex test…
KooshaPari a255918
fix(codex): strip context_management and truncation from Responses API
KooshaPari ff1056f
fix(lint): resolve multiple linting issues in internal packages
KooshaPari ff95a4e
feat: comprehensive test coverage and fixes for CLIProxyAPI Plus
KooshaPari 53b3c1d
refactor(config): registry-based premade provider injection
KooshaPari 3f730dc
refactor(config): switch to data-driven codegen for dedicated provide…
KooshaPari 7a860be
chore: rename repository to cliproxyapi-plusplus
KooshaPari 2f2d8ba
refactor(pkg): update internal config imports to pkg/llmproxy/config
KooshaPari f013d44
refactor: update imports to point to pkg/llmproxy
KooshaPari e1be261
refactor: global import updates to pkg/llmproxy
KooshaPari d3aa154
chore: rebranding to cliproxyapi++ (throwback to notepad++)
KooshaPari 34295d3
docs: deep-dive optimization of READMEs and final branding updates
KooshaPari 7e04484
docs: add ++ feature reference, docsets, and pages workflow
KooshaPari a13313d
ci: enable github pages setup in vitepress workflow
KooshaPari ee10834
tmp
KooshaPari 8413526
tmp
KooshaPari 1e8cd7e
docs: expand provider-first docs and README
KooshaPari ad0ba5d
wip: snapshot local CLIProxyAPIPlus working state
KooshaPari 4bc4cff
chore: snapshot current local working state
KooshaPari 3d91eea
chore: checkpoint current worktree before 7-lane bug wave
KooshaPari 25349ec
chore: preserve current cliproxy work state
KooshaPari e133e15
chore: remove generated fragmented docs and logs
KooshaPari 66b614f
feat: preserve ongoing cliproxy work
KooshaPari f045937
chore: checkpoint tui edits before branch consolidation
KooshaPari 26ebe16
chore: checkpoint pending tracked edits before main consolidation
KooshaPari db9eefa
docs: assign issue lanes for first 30 CPB items
KooshaPari cb1283e
fix(responses): prevent JSON tree corruption from literal control cha…
garetneda-gif f988258
Merge remote-tracking branch 'upstream/main' into backup/bug-wave-iss…
KooshaPari b7793ea
fix: resolve build/test failures and improve CI
KooshaPari 044be68
chore: align cli proxy main and stage issue wave lanes
KooshaPari 966989a
test(api): relax claude-cli smoke assertion for /v1/models
KooshaPari d9ef4db
feat(tui): add fa locale support and parity tests
KooshaPari 94fd2a6
fix(codex): support variant fallback for reasoning effort
KooshaPari 06c39f5
fix(codex): map responses variant to reasoning effort
KooshaPari 5810cfa
fix(codex): parse variant as codex thinking fallback
KooshaPari f79eafb
fix(kiro): accept Bash cmd alias to prevent amp truncation loops (#210)
KooshaPari fa7370d
wave(lane1): codex variant fallback + lane report
KooshaPari 7b1d7cd
fix(registry): normalize github-copilot context windows to 128k (#241)
KooshaPari 8595076
feat(amp): add kiro-compatible amp auth flow and tests (#232)
KooshaPari ea74fbf
fix(gemini): sanitize nullable tool schema types in responses transla…
KooshaPari 9a00a6e
wave(lane2): copilot/kiro alias fixes + lane report
KooshaPari bd81b1d
wave(lane3): nullable schema + mgmt/fs fixes + lane report
KooshaPari 91453e4
wave(lane4): kiro token fallback + amp model route + lane report
KooshaPari 73d3309
wave(lane5): dedupe kiro tool_calls + lane report
KooshaPari d33fb23
docs: stage CPB-0001..0035 lane manifest and lane-1 execution
KooshaPari 7183215
chore(main): checkpoint current local state before integration merge
KooshaPari 09f7756
test(auth/kiro): avoid roundTripper helper redeclaration
KooshaPari 753c41f
docs(planning): add GH-35 integration summary
KooshaPari fe0a049
fix(docs): resolve dead link to agents page in planning docs
KooshaPari c095165
docs(validation): audit open upstream items against implemented state
KooshaPari cf7343f
chore(main): checkpoint wave-v2 working state before branch merges
KooshaPari a1415f3
wave(v2-l1): cpb-0036..0045 triage + docs quick wins
KooshaPari 03d7cad
wave(v2-l2): cpb-0046..0055 triage + openai compat endpoint
KooshaPari 526285a
wave(v2-l3): cpb-0056..0065 triage + kiro/config hardening
KooshaPari 81c2566
wave(v2-l4): cpb-0066..0075 triage + docs/test quick wins
KooshaPari 3fa1124
wave(v2-l5): cpb-0076..0085 triage + compact/translator coverage
KooshaPari d2989f3
wave(v2-l6): cpb-0086..0095 triage + log/codex hardening
KooshaPari 003663e
wave(v2-l7): cpb-0096..0105 triage + docs/runtime checks
KooshaPari 63e1f9c
docs(troubleshooting): normalize API key placeholder examples
KooshaPari 95a8800
chore(main): checkpoint pre-wave-v3 state
KooshaPari 9ccc11c
docs(validation): add fork-main open item status audit
KooshaPari 59eee53
docs(planning): define 21-item issue wave in 7x3 lanes
KooshaPari 4f8e896
docs(report): lane 1 status for #259 #253 #251
KooshaPari 1401fbb
docs(planning): add gh-next21 lane-2 oauth/auth status report
KooshaPari 1977a8d
test(lane-3): add cursor synthesis and amp v1 model regressions
KooshaPari 00a1caf
docs(lane-3): add kiro quota ops guidance and lane report
KooshaPari 74570e3
lane-4: expand amp provider model listings for kimi/kilo
KooshaPari a08603f
lane-4: record commit evidence in report
KooshaPari eee2be9
lane5: add oauth-upstream overrides and finalize gh-next21 report
KooshaPari 12440ee
test(translator): add lane6 regressions and report
KooshaPari 4410d0a
wave(lane-7): close low-risk gaps for #254 #221 #200
KooshaPari 0c88b90
feat(codex): normalize tool schemas for array union types (#259)
KooshaPari 77b14e7
feat: implement fixes for 30 upstream issues
KooshaPari 51b332a
Add provider smoke matrix shell test harness and quality wiring
KooshaPari d54c5fd
feat: implement 5 major upstream features
KooshaPari 09556e3
feat(executor): normalize openai usage token fields and add qwen3.5 a…
KooshaPari 84b6989
chore: merge chore/ff-sync-main into integrated worktree
KooshaPari 5892d82
wave(v3-l2): cpb-0116..0125 triage + iflow compatibility
KooshaPari c0934ae
wave(v3-l3): cpb-0126..0135 triage + thinking diagnostics
KooshaPari d30b3d9
fix(copilot): emit function_call arg delta on done events
KooshaPari 4255dd9
fix(translator): handle response.function_call_arguments.done in copi…
KooshaPari a76daf9
wave(v3-l4): cpb-0136..0145 triage + kimi/iflow hardening
KooshaPari 4c802d7
wave(v3-l5): cpb-0146..0155 triage + output_config fallback
KooshaPari 5e1de31
chore(backup): checkpoint provider smoke matrix and docs merge resolu…
KooshaPari ea68cd9
wave(v2-l1): cpb-0036..0045 triage + docs quick wins
KooshaPari 593c3eb
chore: sync dev-local delta into canonical branch
KooshaPari 938f3d0
Merge branch 'cpb-0036-0047-next'
KooshaPari f42b67c
Merge branch 'wave-gh-next21-lane-1'
KooshaPari 557bb60
Merge branch 'wave-gh-next21-lane-2'
KooshaPari d40414f
Merge branch 'wave-gh-next21-lane-3'
KooshaPari 238a81f
Merge branch 'wave-gh-next21-lane-5'
KooshaPari 8c6b19e
Merge branch 'wave-gh-next21-lane-6'
KooshaPari da817cc
Merge branch 'wave-gh-next21-lane-7'
KooshaPari 25e281d
Merge branch 'align/dev-local-changes'
KooshaPari 4c53c48
Merge branch 'workstream-cpbv3-1'
KooshaPari 8f9e8eb
merge: reconcile origin/main after local branch consolidation
KooshaPari ca2087f
chore: checkpoint current state
KooshaPari 0414438
chore: explicit marker after checkpoint
KooshaPari 7927c78
codescan(l1): batch1 lane 1 fixes for 5 alerts
KooshaPari 93b81ee
codescan(l2): batch1 lane 2 fixes for 5 alerts
KooshaPari 23439b2
codescan(l3): batch1 lane 3 fixes for 5 alerts
KooshaPari 5f23c00
codescan(l4): batch1 lane 4 fixes for 5 alerts
KooshaPari a2ea902
codescan(l5): batch1 lane 5 fixes for 5 alerts
KooshaPari 6066432
codescan(l6): batch1 lane 6 fixes for 5 alerts
KooshaPari 62fd80c
cpb-0179/0181/0182: rollout gate, ratelimit aliases, antigravity clamp
KooshaPari 6fd3681
codescan(b2-l2): block auth path traversal in stores
KooshaPari cf6208e
codescan(b2-l3): harden auth file save paths
KooshaPari bb7daaf
codescan(b2-l4): harden auth file path handling against traversal
KooshaPari 5a945cf
codescan(b2-l5): fix overflow and clear-text logging findings
KooshaPari 7017b33
codescan(b2-l6): redact thinking clear-text logs
KooshaPari 7901c67
codescan(b2-l1): harden request and path input validation
KooshaPari 84b161a
wave cpb-0186..0245: lanes 2-7 first-pass implementations
KooshaPari 9957e42
codescan(b3-l1): batch3 lane 1 remediation set
KooshaPari 73b1bfa
codescan(b3-l2): batch3 lane 2 remediation set
KooshaPari b4f492e
codescan(b3-l3): batch3 lane 3 remediation set
KooshaPari 7e280ee
codescan(b3-l4): batch3 lane 4 remediation set
KooshaPari 5380567
codescan(b3-l5): batch3 lane 5 remediation set
KooshaPari eb50077
codescan(b3-l6): batch3 lane 6 remediation set
KooshaPari ad7bacc
wave cpb-0246..0275: mixed-lane pass (a/b/c)
KooshaPari 152b35f
consolidate: wave leftovers + build import-path fixes + lane artifacts
KooshaPari a30f816
fix: resolve build errors from import path consolidation
KooshaPari a8c8000
codescan(l1): batch1 lane 1 fixes for 5 alerts
KooshaPari aed2848
codescan(l2): batch1 lane 2 fixes for 5 alerts
KooshaPari d43d423
codescan(l3): batch1 lane 3 fixes for 5 alerts
KooshaPari 000b6be
codescan(l4): batch1 lane 4 fixes for 5 alerts
KooshaPari 94cb1a2
codescan(l5): batch1 lane 5 fixes for 5 alerts
KooshaPari 6b52c52
codescan(l6): batch1 lane 6 fixes for 5 alerts
KooshaPari 58ed448
codescan(b2-l1): harden request and path input validation
KooshaPari 392c713
codescan(b2-l2): block auth path traversal in stores
KooshaPari be2c382
codescan(b2-l3): harden auth file save paths
KooshaPari 9aa3b6a
codescan(b2-l4): harden auth file path handling against traversal
KooshaPari c2c9b61
codescan(b2-l5): fix overflow and clear-text logging findings
KooshaPari 0f0b1c3
codescan(b2-l6): redact thinking clear-text logs
KooshaPari 4a6eafc
codescan(b3-l1): batch3 lane 1 remediation set
KooshaPari 53809c1
codescan(b3-l2): batch3 lane 2 remediation set
KooshaPari d7ab111
codescan(b3-l3): batch3 lane 3 remediation set
KooshaPari 240842a
codescan(b3-l4): batch3 lane 4 remediation set
KooshaPari eb076eb
codescan(b3-l5): batch3 lane 5 remediation set
KooshaPari 0a40ce2
codescan(b3-l6): batch3 lane 6 remediation set
KooshaPari d2f99ca
codescan(merge): relax path guard test assertion wording
KooshaPari ee3fee6
build: add missing quality:pre-push task for git hook
KooshaPari 23699c3
Merge pull request #195 from KooshaPari/codescan-merge-139
KooshaPari 4e137cf
chore: prep for release batch
KooshaPari 569957f
hotfix(ci): fix claude token compile error and upgrade codeql action v4
KooshaPari 37d8a39
Merge pull request #196 from KooshaPari/codescan-hotfix-main
KooshaPari 0954c5c
ci(codeql): upgrade github codeql action from v3 to v4
KooshaPari c8719c5
chore: add logs to gitignore
KooshaPari c04cfa1
chore: clean up logs
KooshaPari 647597f
chore: executor auth fixes
KooshaPari b3170b8
chore: executor and translator updates
KooshaPari 3751a80
merge: reconcile wip/recover-all-20260223-033409 with origin/main
KooshaPari ba69d16
fix(ci): add git config to release-batch workflow
KooshaPari 250a115
fix(management): tolerate read-only config writes for put yaml (#201)
KooshaPari ad37c2d
feat(amp): support kilocode provider alias model routing (#213)
KooshaPari fa7df24
fix(gemini): strip thought_signature from Claude tool args (#178)
KooshaPari e339197
fix(kiro): add IDC extension headers on refresh token requests (#246)
KooshaPari f2150c8
fix(kiro): remove duplicate IDC refresh grantType field for cline (#245)
KooshaPari cfbf0d5
fix(metrics): include kiro and cursor in provider dashboard metrics (…
KooshaPari 6f302a4
fix(kiro): add IDC extension headers on refresh token requests (#246)
KooshaPari 1885525
fix(kiro): remove duplicate IDC refresh grantType field for cline (#245)
KooshaPari 5ef7e98
feat(amp): support kilocode provider alias model routing (#213)
KooshaPari b2f9fba
fix(management): tolerate read-only config writes for put yaml (#201)
KooshaPari ed3f914
fix(metrics): include kiro and cursor in provider dashboard metrics (…
KooshaPari e6dbe63
fix(gemini): strip thought_signature from Claude tool args (#178)
KooshaPari b5834b2
wave77: cliproxy lanes a-c next-30 fixes + targeted tests
KooshaPari 3712f84
fix(management): resolve auth registration redeclare and log next32 w…
KooshaPari 60fa3a6
Merge pull request #197 from KooshaPari/nextwave/merge-20260223
KooshaPari ee05f5f
feat: add routing select handler, oauth token manager, pareto router,…
KooshaPari 9a1afe1
Merge remote-tracking branch 'origin/main' into wip/recover-all-20260…
KooshaPari b69c881
merge: refresh branch with latest origin/main for PR merge
KooshaPari f7e56f0
Merge pull request #198 from KooshaPari/wip/recover-all-20260223-033409
KooshaPari b7a9631
fix(kiro): handle banned account 403 payloads (#221)
KooshaPari 9fd05ac
fix(#253): support endpoint override for provider-pinned codex models
KooshaPari b24cc78
fix(registry): enforce copilot context length 128K at registration (#…
KooshaPari d422c4e
ci: trigger pr-test-build rerun
KooshaPari e37bbe0
fix(#200): honor Gemini quota reset durations for cooldown
KooshaPari d2a6439
fix(#179): honor openai-compat models-endpoint overrides
KooshaPari 64a982f
fix(kiro): broaden cmd alias handling for command tools (#210)
KooshaPari f1ab685
fix(#253): support endpoint override for provider-pinned codex models
KooshaPari 05f894b
fix(registry): enforce copilot context length 128K at registration (#…
KooshaPari 947883c
fix(kiro): handle banned account 403 payloads (#221)
KooshaPari 9fa8479
fix(kiro): broaden cmd alias handling for command tools (#210)
KooshaPari d921c09
fix(#200): honor Gemini quota reset durations for cooldown
KooshaPari a2571c9
fix(#179): honor openai-compat models-endpoint overrides
KooshaPari 20bbbe4
docs: add wave2 next32 merge mapping and validation report
KooshaPari 3e79c60
Merge pull request #200 from KooshaPari/nextwave2/merge-20260223
KooshaPari 8cb539f
chore: commit all pending branch items and CI workflow fix
KooshaPari 5a7b009
docs: add changelog system process and check task
KooshaPari 9a984be
Merge remote-tracking branch 'origin/codescan-b1-l1'
KooshaPari 8429790
Merge remote-tracking branch 'origin/codescan-b1-l2'
KooshaPari 710dd28
Merge remote-tracking branch 'origin/codescan-b1-l3'
KooshaPari 44f1cff
Merge remote-tracking branch 'origin/codescan-b1-l4'
KooshaPari 3bceef9
Merge remote-tracking branch 'origin/codescan-b1-l5'
KooshaPari 1d0ca45
Merge remote-tracking branch 'origin/codescan-b1-l6'
KooshaPari fe7d9c1
Merge remote-tracking branch 'origin/codescan-b2-l1'
KooshaPari 55bf88f
Merge remote-tracking branch 'origin/codescan-b2-l2'
KooshaPari 588b021
Merge remote-tracking branch 'origin/codescan-b2-l3'
KooshaPari 6ec933f
Merge remote-tracking branch 'origin/codescan-b2-l4'
KooshaPari cf8c5fa
Merge remote-tracking branch 'origin/codescan-b2-l5'
KooshaPari cfc0d36
Merge remote-tracking branch 'origin/codescan-b2-l6'
KooshaPari 99bcce5
Merge remote-tracking branch 'origin/codescan-b3-l1'
KooshaPari 63f833f
Merge remote-tracking branch 'origin/codescan-b3-l2'
KooshaPari 40dd161
Merge remote-tracking branch 'origin/codescan-b3-l3'
KooshaPari dd4b420
Merge remote-tracking branch 'origin/codescan-b3-l4'
KooshaPari 94ae043
Merge remote-tracking branch 'origin/codescan-b3-l5'
KooshaPari a6085f1
Merge remote-tracking branch 'origin/codescan-b3-l6'
KooshaPari c9b8302
Merge remote-tracking branch 'origin/codescan-hotfix-main'
KooshaPari 4359ba3
Merge remote-tracking branch 'origin/main'
KooshaPari f2070cc
Merge remote-tracking branch 'origin/wip/ci-rerun-20260222-212333'
KooshaPari e61664a
docs: add changelog process and setup style guidance
KooshaPari 8c5e1c3
docs: replace marketing language with concise technical wording
KooshaPari 158c935
docs: replace marketing language with concise technical wording
KooshaPari 1755669
Merge pull request #202 from KooshaPari/docstyle/technical-wording-20…
KooshaPari 464cb60
docs(i18n): add _FA parity files for _CN docs
KooshaPari 7260840
Merge branch 'align/dev-local-changes'
KooshaPari e6fd05b
Merge branch 'codex/cliproxyctl-wave1'
KooshaPari 70187d6
Merge branch 'docstyle/technical-wording-20260223'
KooshaPari 321a263
Merge branch 'fix/release-batch-git-config'
KooshaPari 84b762a
Merge branch 'nextwave/lane-1-20260223'
KooshaPari 8ef51dc
Merge branch 'nextwave/lane-2-20260223'
KooshaPari 38b8654
Merge branch 'nextwave/lane-3-20260223'
KooshaPari fefda9b
Merge branch 'nextwave/lane-4-20260223'
KooshaPari 2233c2f
Merge branch 'nextwave/lane-5-20260223'
KooshaPari d4a92e9
Merge branch 'nextwave/lane-6-20260223'
KooshaPari 51ec054
Merge branch 'nextwave2/lane-1-20260223'
KooshaPari 788d3e8
Merge branch 'nextwave2/lane-2-20260223'
KooshaPari bdc5205
Merge branch 'nextwave2/lane-3-20260223'
KooshaPari 2c17b18
Merge branch 'nextwave2/lane-4-20260223'
KooshaPari beb56b1
Merge branch 'nextwave2/lane-5-20260223'
KooshaPari 03feed4
Merge branch 'nextwave2/lane-6-20260223'
KooshaPari 58462ca
merge(heliosharness): port reasoning mapping, response echo fixes, an…
KooshaPari db75021
Merge pull request #203 from KooshaPari/merge/heliosharness-fa-parity…
KooshaPari b4504e8
fix: resolve executor compile regressions
KooshaPari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,44 +1,41 @@ | ||
| --- | ||
| name: Bug report | ||
| about: Create a report to help us improve | ||
| title: '' | ||
| labels: '' | ||
| about: Report a bug in cliproxyapi++ | ||
| title: '[BUG] ' | ||
| labels: 'bug' | ||
| assignees: '' | ||
|
|
||
| --- | ||
|
|
||
| **Is it a request payload issue?** | ||
| [ ] Yes, this is a request payload issue. I am using a client/cURL to send a request payload, but I received an unexpected error. | ||
| [ ] No, it's another issue. | ||
| [ ] Yes, this is a request payload issue. I am using a client/cURL to send a request payload, but I received an unexpected error. | ||
| [ ] No, it's another issue. | ||
|
|
||
| **If it's a request payload issue, you MUST know** | ||
| Our team doesn't have any GODs or ORACLEs or MIND READERs. Please make sure to attach the request log or curl payload. | ||
| To help us diagnose the problem, please provide as much detail as possible, including request logs or `curl` payloads. | ||
|
|
||
| **Describe the bug** | ||
| A clear and concise description of what the bug is. | ||
|
|
||
| **CLI Type** | ||
| What type of CLI account do you use? (gemini-cli, gemini, codex, claude code or openai-compatibility) | ||
|
|
||
| **Model Name** | ||
| What model are you using? (example: gemini-2.5-pro, claude-sonnet-4-20250514, gpt-5, etc.) | ||
| **cliproxyapi++ Configuration** | ||
| What provider and model are you using? (e.g. Kiro, Claude, Gemini) | ||
|
|
||
| **LLM Client** | ||
| What LLM Client are you using? (example: roo-code, cline, claude code, etc.) | ||
| What LLM Client are you using? (e.g. Roo Code, Claude Code, Cursor, etc.) | ||
|
|
||
| **Environment Information** | ||
| - **cliproxyapi++ Version**: (e.g., v6.0.0-++.1) | ||
| - **Deployment Method**: (e.g., Docker, Binary) | ||
| - **OS**: (e.g. macOS, Ubuntu 22.04) | ||
|
|
||
| **Request Information** | ||
| The best way is to paste the cURL command of the HTTP request here. | ||
| Alternatively, you can set `request-log: true` in the `config.yaml` file and then upload the detailed log file. | ||
| Please provide the `curl` command or the logs from `config.yaml` with `request-log: true`. | ||
|
|
||
| **Expected behavior** | ||
| A clear and concise description of what you expected to happen. | ||
|
|
||
| **Screenshots** | ||
| If applicable, add screenshots to help explain your problem. | ||
|
|
||
| **OS Type** | ||
| - OS: [e.g. macOS] | ||
| - Version [e.g. 15.6.0] | ||
|
|
||
| **Additional context** | ||
| Add any other context about the problem here. |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,42 @@ | ||
| # Approved external endpoint hosts. | ||
| # Matching is exact host or subdomain of an entry. | ||
|
|
||
| accounts.google.com | ||
| aiplatform.googleapis.com | ||
| ampcode.com | ||
| api.anthropic.com | ||
| api.api.githubcopilot.com | ||
| api.deepseek.com | ||
| api.fireworks.ai | ||
| api.github.com | ||
| api.groq.com | ||
| api.kilo.ai | ||
| api.kimi.com | ||
| api.minimax.chat | ||
| api.minimax.io | ||
| api.mistral.ai | ||
| api.novita.ai | ||
| api.openai.com | ||
| api.roocode.com | ||
| api.siliconflow.cn | ||
| api.together.xyz | ||
| apis.iflow.cn | ||
| auth.openai.com | ||
| chat.qwen.ai | ||
| chatgpt.com | ||
| claude.ai | ||
| cloudcode-pa.googleapis.com | ||
| cloudresourcemanager.googleapis.com | ||
| generativelanguage.googleapis.com | ||
| github.com | ||
| golang.org | ||
| iflow.cn | ||
| integrate.api.nvidia.com | ||
| oauth2.googleapis.com | ||
| openrouter.ai | ||
| platform.iflow.cn | ||
| platform.openai.com | ||
| portal.qwen.ai | ||
| raw.githubusercontent.com | ||
| serviceusage.googleapis.com | ||
| www.googleapis.com |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # workflow_file|job_name | ||
| pr-test-build.yml|go-ci | ||
| pr-test-build.yml|quality-ci | ||
| pr-test-build.yml|quality-staged-check | ||
| pr-test-build.yml|fmt-check | ||
| pr-test-build.yml|golangci-lint | ||
| pr-test-build.yml|route-lifecycle | ||
| pr-test-build.yml|test-smoke | ||
| pr-test-build.yml|pre-release-config-compat-smoke | ||
| pr-test-build.yml|distributed-critical-paths | ||
| pr-test-build.yml|changelog-scope-classifier | ||
| pr-test-build.yml|docs-build | ||
| pr-test-build.yml|ci-summary |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| # workflow_file|job_name | ||
| pr-test-build.yml|go-ci | ||
| pr-test-build.yml|quality-ci | ||
| pr-test-build.yml|quality-staged-check | ||
| pr-test-build.yml|fmt-check | ||
| pr-test-build.yml|golangci-lint | ||
| pr-test-build.yml|route-lifecycle | ||
| pr-test-build.yml|provider-smoke-matrix | ||
| pr-test-build.yml|provider-smoke-matrix-cheapest | ||
| pr-test-build.yml|test-smoke | ||
| pr-test-build.yml|pre-release-config-compat-smoke | ||
| pr-test-build.yml|distributed-critical-paths | ||
| pr-test-build.yml|changelog-scope-classifier | ||
| pr-test-build.yml|docs-build | ||
| pr-test-build.yml|ci-summary | ||
| pr-path-guard.yml|ensure-no-translator-changes |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,67 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| policy_file=".github/policies/approved-external-endpoints.txt" | ||
| if [[ ! -f "${policy_file}" ]]; then | ||
| echo "Missing policy file: ${policy_file}" | ||
| exit 1 | ||
| fi | ||
|
|
||
| mapfile -t approved_hosts < <(grep -Ev '^\s*#|^\s*$' "${policy_file}" | tr '[:upper:]' '[:lower:]') | ||
| if [[ "${#approved_hosts[@]}" -eq 0 ]]; then | ||
| echo "No approved hosts in policy file" | ||
| exit 1 | ||
| fi | ||
|
|
||
| matches_policy() { | ||
| local host="$1" | ||
| local approved | ||
| for approved in "${approved_hosts[@]}"; do | ||
| if [[ "${host}" == "${approved}" || "${host}" == *."${approved}" ]]; then | ||
| return 0 | ||
| fi | ||
| done | ||
| return 1 | ||
| } | ||
|
|
||
| mapfile -t discovered_hosts < <( | ||
| rg -No --hidden \ | ||
| --glob '!docs/**' \ | ||
| --glob '!**/*_test.go' \ | ||
| --glob '!**/node_modules/**' \ | ||
| --glob '!**/*.png' \ | ||
| --glob '!**/*.jpg' \ | ||
| --glob '!**/*.jpeg' \ | ||
| --glob '!**/*.gif' \ | ||
| --glob '!**/*.svg' \ | ||
| --glob '!**/*.webp' \ | ||
| 'https?://[^"\047 )\]]+' \ | ||
| cmd pkg sdk scripts .github/workflows config.example.yaml README.md README_CN.md 2>/dev/null \ | ||
| | awk -F'://' '{print $2}' \ | ||
| | cut -d/ -f1 \ | ||
| | cut -d: -f1 \ | ||
| | tr '[:upper:]' '[:lower:]' \ | ||
| | sort -u | ||
| ) | ||
|
|
||
| unknown=() | ||
| for host in "${discovered_hosts[@]}"; do | ||
| [[ -z "${host}" ]] && continue | ||
| [[ "${host}" == *"%"* ]] && continue | ||
| [[ "${host}" == *"{"* ]] && continue | ||
| [[ "${host}" == "localhost" || "${host}" == "127.0.0.1" || "${host}" == "0.0.0.0" ]] && continue | ||
| [[ "${host}" == "example.com" || "${host}" == "www.example.com" ]] && continue | ||
| [[ "${host}" == "proxy.com" || "${host}" == "proxy.local" ]] && continue | ||
| [[ "${host}" == "api.example.com" ]] && continue | ||
| if ! matches_policy "${host}"; then | ||
| unknown+=("${host}") | ||
| fi | ||
| done | ||
|
|
||
| if [[ "${#unknown[@]}" -ne 0 ]]; then | ||
| echo "Found external hosts not in ${policy_file}:" | ||
| printf ' - %s\n' "${unknown[@]}" | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "external endpoint policy check passed" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| echo "[distributed-critical-paths] validating filesystem-sensitive paths" | ||
| go test -count=1 -run '^(TestMultiSourceSecret_FileHandling|TestMultiSourceSecret_CacheBehavior|TestMultiSourceSecret_Concurrency|TestAmpModule_OnConfigUpdated_CacheInvalidation)$' ./pkg/llmproxy/api/modules/amp | ||
|
|
||
| echo "[distributed-critical-paths] validating ops endpoint route registration" | ||
| go test -count=1 -run '^TestRegisterManagementRoutes$' ./pkg/llmproxy/api/modules/amp | ||
|
|
||
| echo "[distributed-critical-paths] validating compute/cache-sensitive paths" | ||
| go test -count=1 -run '^(TestEnsureCacheControl|TestCacheControlOrder|TestCountOpenAIChatTokens|TestCountClaudeChatTokens)$' ./pkg/llmproxy/runtime/executor | ||
|
|
||
| echo "[distributed-critical-paths] validating queue telemetry to provider metrics path" | ||
| go test -count=1 -run '^TestBuildProviderMetricsFromSnapshot_FailoverAndQueueTelemetry$' ./pkg/llmproxy/usage | ||
|
|
||
| echo "[distributed-critical-paths] validating signature cache primitives" | ||
| go test -count=1 -run '^(TestCacheSignature_BasicStorageAndRetrieval|TestCacheSignature_ExpirationLogic)$' ./pkg/llmproxy/cache | ||
|
|
||
| echo "[distributed-critical-paths] all targeted checks passed" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| patterns=( | ||
| 'sk-[A-Za-z0-9]{20,}' | ||
| 'ghp_[A-Za-z0-9]{20,}' | ||
| 'AKIA[0-9A-Z]{16}' | ||
| 'AIza[0-9A-Za-z_-]{20,}' | ||
| '-----BEGIN (RSA|OPENSSH|EC|DSA|PRIVATE) KEY-----' | ||
| ) | ||
|
|
||
| allowed_context='\$\{|\{\{.*\}\}|<[^>]+>|\[REDACTED|your[_-]?|example|dummy|sample|placeholder' | ||
|
|
||
| tmp_hits="$(mktemp)" | ||
| trap 'rm -f "${tmp_hits}"' EXIT | ||
|
|
||
| for pattern in "${patterns[@]}"; do | ||
| rg -n --pcre2 --hidden \ | ||
| --glob '!docs/node_modules/**' \ | ||
| --glob '!**/*.min.*' \ | ||
| --glob '!**/*.svg' \ | ||
| --glob '!**/*.png' \ | ||
| --glob '!**/*.jpg' \ | ||
| --glob '!**/*.jpeg' \ | ||
| --glob '!**/*.gif' \ | ||
| --glob '!**/*.webp' \ | ||
| --glob '!**/*.pdf' \ | ||
| --glob '!**/*.lock' \ | ||
| --glob '!**/*.snap' \ | ||
| -e "${pattern}" docs README.md README_CN.md examples >> "${tmp_hits}" || true | ||
| done | ||
|
|
||
| if [[ ! -s "${tmp_hits}" ]]; then | ||
| echo "docs secret sample check passed" | ||
| exit 0 | ||
| fi | ||
|
|
||
| violations=0 | ||
| while IFS= read -r hit; do | ||
| line_content="${hit#*:*:}" | ||
| if printf '%s' "${line_content}" | rg -qi "${allowed_context}"; then | ||
| continue | ||
| fi | ||
| echo "Potential secret detected: ${hit}" | ||
| violations=1 | ||
| done < "${tmp_hits}" | ||
|
|
||
| if [[ "${violations}" -ne 0 ]]; then | ||
| echo "Secret sample check failed. Replace with placeholders or redact." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "docs secret sample check passed" |
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,64 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| report="${REPORT_PATH:-docs/reports/fragemented/OPEN_ITEMS_VALIDATION_2026-02-22.md}" | ||
| issue_id="${ISSUE_ID:-258}" | ||
| if [[ ! -f "$report" ]]; then | ||
| echo "[FAIL] Missing report: $report" | ||
| exit 1 | ||
| fi | ||
|
|
||
| section="$( | ||
| awk -v issue_id="$issue_id" ' | ||
| BEGIN { | ||
| in_target = 0 | ||
| target = "^- (Issue|PR) #" issue_id "([[:space:]]|$)" | ||
| boundary = "^- (Issue|PR) #[0-9]+([[:space:]]|$)" | ||
| } | ||
| $0 ~ target { | ||
| in_target = 1 | ||
| next | ||
| } | ||
| in_target && $0 ~ boundary { | ||
| exit | ||
| } | ||
| in_target { | ||
| } | ||
| ' "$report" | ||
| )" | ||
| if [[ -z "$section" ]]; then | ||
| echo "[FAIL] $report missing Issue #$issue_id section." | ||
| exit 1 | ||
| fi | ||
|
|
||
| status_line="$( | ||
| printf '%s\n' "$section" \ | ||
| | rg -i -m1 '^\s*-\s*(#status|status)\s*:\s*.+$' \ | ||
| || true | ||
| )" | ||
| if [[ -z "$status_line" ]]; then | ||
| echo "[FAIL] $report missing explicit status mapping for #$issue_id (expected '- Status:' or '- #status:')." | ||
| exit 1 | ||
| fi | ||
|
|
||
| status_value="$(printf '%s\n' "$status_line" \ | ||
| | sed -E 's/^\s*-\s*(#status|status)\s*:\s*//I' \ | ||
| | tr '[:upper:]' '[:lower:]')" | ||
| if printf '%s\n' "$status_value" | rg -q '\b(partial|partially|blocked|pending|todo|not implemented)\b'; then | ||
| echo "[FAIL] $report status for #$issue_id is not implemented: $status_value" | ||
| exit 1 | ||
| fi | ||
|
|
||
| if ! printf '%s\n' "$status_value" | rg -q '\b(implemented|done|fixed|resolved|complete|completed)\b'; then | ||
| echo "[FAIL] $report status for #$issue_id is not recognized as implemented: $status_value" | ||
| exit 1 | ||
| fi | ||
|
|
||
| if ! rg -n "pkg/llmproxy/translator/codex/openai/chat-completions/codex_openai_request.go" "$report" >/dev/null 2>&1; then | ||
| echo "[FAIL] $report missing codex variant fallback evidence path." | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "[OK] fragmented open-items report parity checks passed" | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| #!/usr/bin/env bash | ||
| set -euo pipefail | ||
|
|
||
| violations=0 | ||
| allowed_write_keys='security-events|id-token|pages' | ||
|
|
||
| for workflow in .github/workflows/*.yml .github/workflows/*.yaml; do | ||
| [[ -f "${workflow}" ]] || continue | ||
|
|
||
| if rg -n '^permissions:\s*write-all\s*$' "${workflow}" >/dev/null; then | ||
| echo "${workflow}: uses permissions: write-all" | ||
| violations=1 | ||
| fi | ||
|
|
||
| if rg -n '^on:' "${workflow}" >/dev/null && rg -n 'pull_request:' "${workflow}" >/dev/null; then | ||
| while IFS= read -r line; do | ||
| key="$(printf '%s' "${line}" | sed -E 's/^[0-9]+:\s*([a-zA-Z-]+):\s*write\s*$/\1/')" | ||
| if [[ "${key}" != "${line}" ]] && ! printf '%s' "${key}" | grep -Eq "^(${allowed_write_keys})$"; then | ||
| echo "${workflow}: pull_request workflow grants '${key}: write'" | ||
| violations=1 | ||
| fi | ||
| done < <(rg -n '^\s*[a-zA-Z-]+:\s*write\s*$' "${workflow}") | ||
| fi | ||
| done | ||
|
|
||
| if [[ "${violations}" -ne 0 ]]; then | ||
| echo "workflow token permission check failed" | ||
| exit 1 | ||
| fi | ||
|
|
||
| echo "workflow token permission check passed" |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a consistent typo in the path name:
fragementedshould befragmented. This typo appears in multiple directory names and script references throughout the PR. Correcting this will improve maintainability and prevent confusion.