Skip to content

fix(ci): add network CIDR and localhost to NO_PROXY for api-proxy#822

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

fix(ci): add network CIDR and localhost to NO_PROXY for api-proxy#822
lpcox merged 2 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

The smoke-codex workflow was failing because CODEX couldn't reach the api-proxy sidecar at 172.30.0.30. The NO_PROXY configuration was incomplete.

Changes

  • Updated NO_PROXY for api-proxy (src/docker-manager.ts:969)

    • Added 127.0.0.1, localhost, and network CIDR 172.30.0.0/16
    • Previous: api-proxy,172.30.0.30
    • Current: 127.0.0.1,localhost,172.30.0.30,172.30.0.0/16,api-proxy
  • Updated tests (src/docker-manager.test.ts)

    • Added assertions for 127.0.0.1, localhost, and 172.30.0.0/16
    • Verified both standalone and combined (with host access) scenarios

Context

Tools like CODEX require the network CIDR range in NO_PROXY to bypass Squid and connect directly to the api-proxy sidecar. Without the complete set of bypass entries, requests fail to reach the sidecar on ports 10000/10001.

Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
@Claude Claude AI changed the title [WIP] Fix failing GitHub Actions workflow agent fix(ci): add network CIDR and localhost to NO_PROXY for api-proxy Feb 13, 2026
@Claude Claude AI requested a review from lpcox February 13, 2026 08:21
@lpcox lpcox marked this pull request as ready for review February 13, 2026 08:21
Copilot AI review requested due to automatic review settings February 13, 2026 08:21
@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

💫 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. 🎤

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes CI connectivity to the api-proxy sidecar by ensuring the agent container’s NO_PROXY/no_proxy includes all required bypass entries so tools (including CODEX) can reach 172.30.0.30 without being routed through Squid.

Changes:

  • Expand the api-proxy NO_PROXY value to include 127.0.0.1, localhost, and 172.30.0.0/16 in addition to api-proxy and the sidecar IP.
  • Update unit tests to assert the full NO_PROXY content in both standalone and host-access scenarios.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
src/docker-manager.ts Adds the complete api-proxy bypass list to NO_PROXY/no_proxy when the sidecar is enabled.
src/docker-manager.test.ts Extends assertions to cover 127.0.0.1, localhost, and 172.30.0.0/16 for api-proxy scenarios.

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

@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 compiled and passed tests.

AI generated by Build Test Go

@github-actions
Copy link
Contributor

Smoke Test Results

Last 2 Merged PRs:

Test Results:

Overall Status: PASS

cc: @Claude @lpcox

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 built successfully.

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 successfully installed dependencies and passed their test suites.

AI generated by Build Test Bun

@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 within the firewall.

AI generated by Build Test .NET

@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

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

@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 successfully and passed their test suites.

AI generated by Build Test Rust

@github-actions
Copy link
Contributor

Java Build Test Results ✅

All Java projects successfully compiled and tested through the AWF firewall.

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

Overall: PASS

Maven proxy configuration (using IP 172.30.0.10:3128) successfully routed all dependency downloads through the firewall.

AI generated by Build Test Java

@github-actions
Copy link
Contributor

Chroot Version Comparison 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 - version mismatches detected for Python and Node.js

AI generated by Smoke Chroot

@lpcox lpcox merged commit 91c9df5 into claude/enable-api-proxy-by-default Feb 13, 2026
80 of 82 checks passed
@lpcox lpcox deleted the claude/fix-github-actions-workflow-again branch February 13, 2026 08:31
@github-actions github-actions bot mentioned this pull request Feb 13, 2026
3 tasks
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.

2 participants