Skip to content

fix(ci): add BASE_URL environment variables for CODEX api-proxy routing#802

Merged
lpcox merged 21 commits intoclaude/enable-api-proxy-by-defaultfrom
claude/fix-github-actions-workflow-again
Feb 13, 2026
Merged

fix(ci): add BASE_URL environment variables for CODEX api-proxy routing#802
lpcox merged 21 commits intoclaude/enable-api-proxy-by-defaultfrom
claude/fix-github-actions-workflow-again

Conversation

@Claude
Copy link
Contributor

@Claude Claude AI commented Feb 13, 2026

CODEX was not routing API calls through the api-proxy because OPENAI_BASE_URL and ANTHROPIC_BASE_URL were not set in the workflow environment.

Changes

  • Added OPENAI_BASE_URL=http://api-proxy:10000 to smoke-codex workflow env
  • Added ANTHROPIC_BASE_URL=http://api-proxy:10001 to smoke-codex workflow env

Context

AWF automatically deploys the api-proxy sidecar when OPENAI_API_KEY is present and sets these BASE_URL variables in the docker-compose configuration. However, explicitly setting them in the workflow env: section ensures they're available to the CODEX agent process for API routing decisions before container orchestration.

The api-proxy sidecar (at 172.30.0.30) injects authentication headers and routes through Squid (172.30.0.10) to enforce L7 domain whitelisting.

CODEX was not being directed to use the api-proxy because the
OPENAI_BASE_URL and ANTHROPIC_BASE_URL environment variables were
not explicitly set in the smoke-codex workflow.

While AWF automatically sets these variables when generating the
docker-compose configuration (if API keys are present), explicitly
setting them in the workflow env ensures they are available to the
CODEX agent for routing API calls through the api-proxy sidecar.

This fix adds:
- OPENAI_BASE_URL=http://api-proxy:10000
- ANTHROPIC_BASE_URL=http://api-proxy:10001

to the 'Run Codex' step environment variables.

Fixes job failure in run 63483600453.
@Claude Claude AI changed the title [WIP] Fix failing GitHub Actions workflow agent fix(ci): add BASE_URL environment variables for CODEX api-proxy routing Feb 13, 2026
@Claude Claude AI requested a review from lpcox February 13, 2026 04:44
@pelikhan pelikhan closed this Feb 13, 2026
@pelikhan pelikhan reopened this Feb 13, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges...

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation...

@lpcox lpcox marked this pull request as ready for review February 13, 2026 04:47
Copilot AI review requested due to automatic review settings February 13, 2026 04:47
@github-actions
Copy link
Contributor

Smoke Test Results (Copilot Engine)

GitHub MCP: Retrieved last 2 merged PRs

Playwright: Verified GitHub homepage (title: "GitHub · Change is constant. GitHub keeps you ahead. · GitHub")

File Writing: Created /tmp/gh-aw/agent/smoke-test-copilot-21975001276.txt

Bash Tool: Verified file contents

Overall Status: PASS

cc @pelikhan @lpcox

AI generated by Smoke Copilot

@github-actions
Copy link
Contributor

Node.js Build Test Results

Project Install Tests Status
clsx PASS PASS
execa PASS PASS
p-limit PASS PASS

Overall: PASS

All Node.js projects were successfully installed and tested.

AI generated by Build Test Node.js

@github-actions
Copy link
Contributor

C++ Build Test Results

Project CMake Build Status
fmt PASS
json PASS

Overall: PASS

All C++ projects built successfully.

AI generated by Build Test C++

@github-actions
Copy link
Contributor

Build Test: Go - Results

Project Download Tests Status
color 1/1 PASS
env 1/1 PASS
uuid 1/1 PASS

Overall: PASS

All Go projects built and tested successfully.

AI generated by Build Test Go

@github-actions
Copy link
Contributor

Bun Build Test Results

Project Install Tests Status
elysia 1/1 PASS
hono 1/1 PASS

Overall: PASS

All Bun projects installed and tested successfully.

AI generated by Build Test Bun

@github-actions
Copy link
Contributor

Rust Build Test Results

Project Build Tests Status
fd 1/1 PASS
zoxide 1/1 PASS

Overall: PASS

All Rust projects built and tested successfully.

AI generated by Build Test Rust

@github-actions
Copy link
Contributor

.NET Build Test Results

Project Restore Build Run Status
hello-world PASS
json-parse PASS

Overall: PASS

All .NET projects successfully restored, built, and ran.

AI generated by Build Test .NET

Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges...

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation...

@github-actions
Copy link
Contributor

Bun Build Test Results

Project Install Tests Status
elysia 1/1 PASS
hono 1/1 PASS

Overall: PASS

All tests completed successfully.

AI generated by Build Test Bun

@github-actions
Copy link
Contributor

Node.js Build Test Results

Project Install Tests Status
clsx PASS PASS
execa PASS PASS
p-limit PASS PASS

Overall: PASS

All Node.js projects installed and tested successfully.

AI generated by Build Test Node.js

@github-actions
Copy link
Contributor

Smoke Test Results

Last 2 Merged PRs:

Test Results:

  • ✅ GitHub MCP: Fetched recent PRs
  • ✅ Playwright: Verified GitHub page title
  • ✅ File Write: Created test file
  • ✅ Bash: Verified file contents

Status: PASS

cc @lpcox (PR author & assignee)

AI generated by Smoke Copilot

@github-actions
Copy link
Contributor

C++ Build Test Results

Project CMake Build Status
fmt PASS
json PASS

Overall: PASS

All C++ projects configured and built successfully.

AI generated by Build Test C++

@github-actions
Copy link
Contributor

Deno Build Test Results

Project Tests Status
oak 1/1 ✅ PASS
std 1/1 ✅ PASS

Overall: ✅ PASS

All Deno tests completed successfully.

AI generated by Build Test Deno

* Initial plan

* fix: add api-proxy IP to squid allowlist

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>

---------

Co-authored-by: anthropic-code-agent[bot] <242468646+Claude@users.noreply.github.com>
Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
@github-actions
Copy link
Contributor

Rust Build Test Results

Project Build Tests Status
fd 1/1 PASS
zoxide 1/1 PASS

Overall: PASS

All Rust projects built and tested successfully.

AI generated by Build Test Rust

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

💫 TO BE CONTINUED... Smoke Claude failed! Our hero faces unexpected challenges...

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

🌑 The shadows whisper... Smoke Codex failed. The oracle requires further meditation...

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

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

@github-actions
Copy link
Contributor

C++ Build Test Results

Project CMake Build Status
fmt PASS
json PASS

Overall: PASS

All C++ projects built successfully through the AWF firewall.

AI generated by Build Test C++

@github-actions
Copy link
Contributor

Bun Build Test Results

Project Install Tests Status
elysia 1/1 PASS
hono 1/1 PASS

Overall: PASS

All Bun projects built and tested successfully.

AI generated by Build Test Bun

@github-actions
Copy link
Contributor

Node.js Build Test Results

Project Install Tests Status
clsx PASS ✅ PASS
execa PASS ✅ PASS
p-limit PASS ✅ PASS

Overall: ✅ PASS

All Node.js projects successfully installed dependencies and passed their test suites.

AI generated by Build Test Node.js

@github-actions
Copy link
Contributor

Go Build Test Results

Project Download Tests Status
color 1/1 PASS
env 1/1 PASS
uuid 1/1 PASS

Overall: PASS

All Go projects successfully downloaded dependencies and passed tests.

AI generated by Build Test Go

@github-actions
Copy link
Contributor

Build Test: Deno ✅

Project Tests Status
oak 1/1 ✅ PASS
std 1/1 ✅ PASS

Overall: ✅ PASS

All Deno tests passed successfully.

AI generated by Build Test Deno

@github-actions
Copy link
Contributor

.NET Build Test Results

Project Restore Build Run Status
hello-world PASS
json-parse PASS

Overall: PASS

All .NET projects built and ran successfully.

AI generated by Build Test .NET

@github-actions
Copy link
Contributor

Rust Build Test Results

Project Build Tests Status
fd 1/1 PASS
zoxide 1/1 PASS

Overall: PASS

All Rust projects built and tested successfully.

AI generated by Build Test Rust

@github-actions
Copy link
Contributor

Java Build Test Results ✅

All Java projects built and tested successfully through AWF firewall.

Project Compile Tests Status
gson 1/1 PASS
caffeine 1/1 PASS

Overall: PASS 🎉

All Maven dependencies were downloaded through the Squid proxy at 172.30.0.10:3128 and all tests executed successfully.

AI generated by Build Test Java

@github-actions
Copy link
Contributor

Smoke Test Results

GitHub MCP: Last 2 merged PRs retrieved

Playwright: Timeout navigating to github.com
File Writing: Test file created successfully
Bash Tool: File content verified

Status: FAIL (Playwright timeout)

cc @lpcox

AI generated by Smoke Copilot

@github-actions
Copy link
Contributor

Chroot Test Results

Runtime Host Version Chroot Version Match?
Python 3.12.12 3.12.3 ❌ NO
Node.js v24.13.0 v20.20.0 ❌ NO
Go go1.22.12 go1.22.12 ✅ YES

Overall Result: ❌ Tests did not pass

The chroot environment has different versions of Python and Node.js compared to the host, which may cause compatibility issues when tools attempt to access host binaries through transparent chroot mode.

AI generated by Smoke Chroot

@lpcox lpcox merged commit c32fe02 into claude/enable-api-proxy-by-default Feb 13, 2026
66 of 69 checks passed
@lpcox lpcox deleted the claude/fix-github-actions-workflow-again branch February 13, 2026 07:52
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.

4 participants