Skip to content

chore: update model-to-API mapping (2026-07-25) - #6579

Merged
lpcox merged 3 commits into
mainfrom
chore/update-model-api-mapping-2026-07-25-a1de083e430a8bf4
Jul 25, 2026
Merged

chore: update model-to-API mapping (2026-07-25)#6579
lpcox merged 3 commits into
mainfrom
chore/update-model-api-mapping-2026-07-25-a1de083e430a8bf4

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Updates docs/model-api-mapping.json with the latest model-to-API endpoint mappings.

Changes

  • Added claude-opus-5 family — present in the anthropic-sdk-python SDK (src/anthropic/types/model.py) but missing from the mapping file
  • Updated lastUpdated timestamp to 2026-07-25T06:01:17Z

Verification

Sources checked:

JSON validated with python3 -c "import json; json.load(open('docs/model-api-mapping.json'))".

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • developers.openai.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "developers.openai.com"

See Network Configuration for more information.

Generated by 🗺️ Model API Mapping Updater · sonnet46 · 31.3 AIC · ⌖ 10 AIC · ⊞ 5.3K ·

- Add claude-opus-5 family (present in anthropic-sdk-python but missing from file)
- Update lastUpdated timestamp to 2026-07-25

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the chore label Jul 25, 2026
@lpcox
lpcox marked this pull request as ready for review July 25, 2026 14:06
Copilot AI review requested due to automatic review settings July 25, 2026 14:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the model-to-API mapping with Claude Opus 5 support.

Changes:

  • Adds the claude-opus-5 family.
  • Updates the mapping timestamp.
Show a summary per file
File Description
docs/model-api-mapping.json Adds Claude Opus 5 metadata.

Review details

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 1/1 changed files
  • Comments generated: 1
  • Review effort level: Medium

Comment on lines +176 to +180
{
"family": "claude-opus-5",
"patterns": ["claude-opus-5*"],
"endpoints": ["messages"],
"notes": "Flagship Opus generation 5. 1M token context."
@lpcox

lpcox commented Jul 25, 2026

Copy link
Copy Markdown
Collaborator

@copilot merge main and address review feedback

Copilot AI commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

@copilot merge main and address review feedback

Merged main and fixed the review feedback in 2593e82c. The bundled API proxy mapping now matches the docs mapping, and the API proxy mapping test was updated to cover claude-opus-5 and the current reflected timestamp.

Copilot finished work on behalf of lpcox July 25, 2026 16:09
Copilot AI requested a review from lpcox July 25, 2026 16:09
@github-actions

Copy link
Copy Markdown
Contributor Author

Documentation Preview

Documentation build failed for this PR. View logs.

Built from commit fe786b4

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Copilot BYOK AOAI (api-key) completed. Copilot AOAI BYOK (api-key) mode operational. 🔓

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

📡 Smoke OTel Tracing completed. All tracing scenarios validated. ✅

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

📰 VERDICT: Smoke Copilot has concluded. All systems operational. This is a developing story. 🎤

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Security Guard completed successfully!

Security review complete: PR #6579 contains only non-security-critical changes to model-to-API mapping configuration and tests. No firewall rules, container configs, capabilities, ACLs, or access controls were modified. Changes are safe to merge.

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Build Test Suite completed successfully!

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Claude passed

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

📰 VERDICT: Smoke Docker Sbx has concluded. All systems operational. This is a developing story. 🎤

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Copilot BYOK completed. Copilot BYOK mode operational. 🔓

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Contribution Check completed successfully!

Contribution check complete for PR #6579: no guideline issues found in the provided context. The PR includes tests, updates the mapping documentation, keeps files in the expected directories, and has a clear description.

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

✨ The prophecy is fulfilled... Smoke Codex has completed its mystical journey. The stars align. 🌟

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Copilot BYOK AOAI (Entra) completed. Copilot AOAI BYOK (Entra) mode operational. 🔓

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

🛡️ Smoke Copilot Network Isolation confirmed the egress allowlist is enforced. ✅

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Chroot tests passed! Smoke Chroot - All security and functionality tests succeeded.

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

Smoke Gemini completed. All facets verified. 💎

@github-actions

github-actions Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor Author

🔌 Smoke Services — All services reachable! ✅

@github-actions

Copy link
Copy Markdown
Contributor Author

✅ Coverage Check Passed

Overall Coverage

Metric Base PR Delta
Lines 98.96% 98.99% 📈 +0.03%
Statements 98.88% 98.91% 📈 +0.03%
Functions 99.41% 99.41% ➡️ +0.00%
Branches 95.30% 95.30% ➡️ +0.00%
📁 Per-file Coverage Changes (1 files)
File Lines (Before → After) Statements (Before → After)
src/log-directory-setup.ts 96.2% → 100.0% (+3.78%) 96.3% → 100.0% (+3.71%)

Coverage comparison generated by scripts/ci/compare-coverage.ts

@github-actions

Copy link
Copy Markdown
Contributor Author

Smoke Test: Claude Engine Validation

Check Result
API status ✅ PASS
gh check ✅ PASS
File status ✅ PASS

Overall result: PASS

Generated by Smoke Claude for #6579 · haiku45 · 31.1 AIC · ⊞ 3.3K ·
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🔒 Smoke Test: Copilot Network Isolation@lpcox

EGRESS_RESULT allow=pass deny=pass
  • ✅ Allowed domain (api.github.com): HTTP 200
  • ✅ Blocked domain (example.com): connection denied (403 from proxy)

Overall: PASS

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • example.com

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "example.com"

See Network Configuration for more information.

🛡️ Egress verdict from Smoke Copilot Network Isolation
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Smoke Test: Copilot BYOK (Direct Mode) ✅

Results:

  • ✅ GitHub MCP connectivity
  • ✅ GitHub.com connectivity
  • ✅ File write/read operations
  • ✅ BYOK inference (agent → api-proxy → api.githubcopilot.com)

Mode: Direct BYOK (COPILOT_PROVIDER_API_KEY via api-proxy sidecar)

Status: PASS

🔑 BYOK report filed by Smoke Copilot BYOK
Add label ready-for-aw to run again

@github-actions github-actions Bot added smoke-copilot-network-isolation Copilot network-isolation egress smoke test smoke-copilot-byok labels Jul 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

🔍 Smoke Test Results

Test Status
GitHub MCP connectivity ✅ PASS (PR list returned)
GitHub.com HTTP ✅ PASS
File write/read ✅ PASS

Overall: PASS

📰 BREAKING: Report filed by Smoke Copilot
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Smoke test: PASS

  • test: drop stale smoke-copilot-pat references
  • fix: update brace-expansion to 5.0.8 (GHSA-mh99-v99m-4gvg)
  • GitHub title check ✅
  • Temp file check ✅
  • Build ✅

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • registry.npmjs.org

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "registry.npmjs.org"

See Network Configuration for more information.

🔮 The oracle has spoken through Smoke Codex
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Gemini Engine Smoke Test Results

  • GitHub MCP Testing: ❌ (Filtered by secrecy/integrity policy)
  • GitHub.com Connectivity: ❌ (Network unreachable)
  • File Writing Testing: ✅
  • Bash Tool Testing: ✅

Overall status: FAIL

Warning

Firewall blocked 1 domain

The following domain was blocked by the firewall during workflow execution:

  • localhost

To allow these domains, add them to the network.allowed list in your workflow frontmatter:

network:
  allowed:
    - defaults
    - "localhost"

See Network Configuration for more information.

💎 Faceted by Smoke Gemini
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Chroot Version Comparison Results

Runtime Host Version Chroot Version Match?
Python Python 3.12.13 Python 3.12.13 ✅ YES
Node.js v24.18.0 v22.23.1 ❌ NO
Go go1.22.12 go1.22.12 ✅ YES

Overall: ❌ FAILED — Node.js version mismatch (host v24.18.0 vs chroot v22.23.1).

Tested by Smoke Chroot
Add label ready-for-aw to run again

@github-actions github-actions Bot mentioned this pull request Jul 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor Author

@lpcox

GitHub MCP PR listing: ✅
GitHub.com connectivity: ✅
File I/O test: ✅
BYOK inference: ✅

Running in direct BYOK mode (COPILOT_PROVIDER_API_KEY + COPILOT_PROVIDER_BASE_URL) via api-proxy → Azure OpenAI (Foundry, o4-mini-aw)
Overall status: PASS

🔑 BYOK (AOAI api-key) report filed by Smoke Copilot BYOK AOAI (api-key)
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

Smoke Test: GitHub Actions Services Connectivity

Check Result
Redis PING ❌ Name resolution failed (host.docker.internal not reachable)
PostgreSQL pg_isready ❌ No response
PostgreSQL SELECT 1 ❌ Name resolution failed

Overall: FAILhost.docker.internal DNS not available in this environment. Services are unreachable.

🔌 Service connectivity validated by Smoke Services
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🔍 Smoke Test: API Proxy OpenTelemetry Tracing

Scenario Result Detail
Module Loading ✅ Pass otel.js loads cleanly; exports: startRequestSpan, setTokenAttributes, setBudgetAttributes, endSpan, endSpanError, shutdown, isEnabled (+ internal helpers)
Test Suite ✅ Pass 39/39 tests pass in otel.test.js — span creation, token attributes, parent context, exporters all covered
Env Var Forwarding ✅ Pass api-proxy-env-config.test.ts validates forwarding of GH_AW_OTLP_ENDPOINTS, OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_HEADERS, GITHUB_AW_OTEL_TRACE_ID, GITHUB_AW_OTEL_PARENT_SPAN_ID
Token Tracker Integration ✅ Pass token-tracker-http.js line 406 invokes onUsage(normalized, model) — confirmed hook point exists
OTEL Diagnostics ✅ Pass (graceful degradation) No live OTLP endpoint in this run; module correctly falls back to local JSONL file at /var/log/api-proxy/otel.jsonl with no errors

All 5 scenarios passed. OTEL tracing integration is functional.

📡 OTel tracing validated by Smoke OTel Tracing
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🪪 BYOK (AOAI Entra) report filed by Smoke Copilot BYOK AOAI (Entra)
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🏗️ Build Test Suite Results

Ecosystem Project Build/Install Tests Status
Bun elysia 1/1 passed ✅ PASS
Bun hono 1/1 passed ✅ PASS
C++ fmt N/A ✅ PASS
C++ json N/A ✅ PASS
Deno oak N/A 1/1 passed ✅ PASS
Deno std N/A 1/1 passed ✅ PASS
.NET hello-world N/A ✅ PASS
.NET json-parse N/A ✅ PASS
Go color 1/1 passed ✅ PASS
Go env 1/1 passed ✅ PASS
Go uuid 1/1 passed ✅ PASS
Java gson 1/1 passed ✅ PASS
Java caffeine 1/1 passed ✅ PASS
Node.js clsx All passed ✅ PASS
Node.js execa All passed ✅ PASS
Node.js p-limit All passed ✅ PASS
Rust fd 1/1 passed ✅ PASS
Rust zoxide 1/1 passed ✅ PASS

Overall: 8/8 ecosystems passed — ✅ PASS

Note: Java required -Dmaven.repo.local=/tmp/gh-aw/agent/m2repo because /home/runner/.m2/repository was owned by root and not writable by the runner user.

Generated by Build Test Suite for #6579 · sonnet46 · 62.5 AIC · ⊞ 8.3K ·
Add label ready-for-aw to run again

@github-actions

Copy link
Copy Markdown
Contributor Author

🔬 Smoke Test: Docker Sbx Validation

Test Result
GitHub MCP connectivity ⚠️ PR data filtered by secrecy policy
GitHub.com HTTP ⚠️ Template vars not expanded (${{ steps.smoke-data.outputs.SMOKE_HTTP_CODE }})
File write/read ⚠️ Template vars not expanded

Overall Status: ⚠️ INCONCLUSIVE — workflow template variables were not interpolated before agent execution; pre-computed test data unavailable.

📰 BREAKING: Report filed by Smoke Docker Sbx
Add label ready-for-aw to run again

@lpcox
lpcox merged commit ac61a7d into main Jul 25, 2026
142 of 143 checks passed
@lpcox
lpcox deleted the chore/update-model-api-mapping-2026-07-25-a1de083e430a8bf4 branch July 25, 2026 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants