Skip to content

Commit 3d30622

Browse files
Mossakaclaude
andcommitted
revert: remove Squid intercept mode and all cascading fixes
Reverts the following PRs which introduced unnecessary complexity: - #520: fix: enable Squid intercept mode for NAT-redirected traffic - v0.13.5 release: chore(release): bump version to 0.13.5 - #524: fix: remove HTTP_PROXY/HTTPS_PROXY env vars from agent container - #526: chore: recompile workflow lock files for AWF v0.13.5 - #527: fix: recompile lock files with release action mode - #522: fix: mount /etc/hosts in chroot and fix HTTP blocking test - #530: fix: restore HTTPS_PROXY, fix chroot hosts/permissions, fix Bun crash - v0.13.6 release: chore(release): bump version to 0.13.6 The intercept mode (#520) was introduced to fix Codex failing with HTTP_PROXY, but the simpler fix is to just not set HTTP_PROXY for Codex. The intercept mode introduced a cascade of breakage: - HTTPS can't be transparently intercepted (needs CONNECT method) - Image version bumps required lock file recompilation - host.docker.internal traffic crashed Squid under load - Multiple PRs needed to fix each regression This reverts to the pre-#520 explicit proxy mode (HTTP_PROXY/HTTPS_PROXY pointing to Squid port 3128) which worked for all engines. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 958473a commit 3d30622

44 files changed

Lines changed: 391 additions & 883 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/agentics-maintenance.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# \ /\ / (_) | | | | ( | | | | (_) \ V V /\__ \
1414
# \/ \/ \___/|_| |_|\_\|_| |_|\___/ \_/\_/ |___/
1515
#
16-
# This file was automatically generated by pkg/workflow/maintenance_workflow.go. DO NOT EDIT.
16+
# This file was automatically generated by pkg/workflow/maintenance_workflow.go (v0.42.0). DO NOT EDIT.
1717
#
1818
# To regenerate this workflow, run:
1919
# gh aw compile
@@ -33,7 +33,7 @@ name: Agentic Maintenance
3333

3434
on:
3535
schedule:
36-
- cron: "37 0 * * *" # Daily (based on minimum expires: 7 days)
36+
- cron: "37 0 * * *" # Daily (based on minimum expires: 30 days)
3737
workflow_dispatch:
3838

3939
permissions: {}
@@ -47,7 +47,7 @@ jobs:
4747
pull-requests: write
4848
steps:
4949
- name: Setup Scripts
50-
uses: github/gh-aw/actions/setup@v0.42.2-28-gfba53102d
50+
uses: github/gh-aw/actions/setup@v0.42.0
5151
with:
5252
destination: /opt/gh-aw/actions
5353

.github/workflows/build-test-bun.lock.yml

Lines changed: 17 additions & 45 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/build-test-bun.md

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,12 @@ permissions:
1111
issues: read
1212
name: Build Test Bun
1313
engine: copilot
14-
runtimes:
15-
bun:
16-
version: "latest"
1714
network:
1815
allowed:
1916
- defaults
2017
- github
2118
- node
19+
- "bun.sh"
2220
tools:
2321
bash:
2422
- "*"
@@ -37,11 +35,6 @@ timeout-minutes: 15
3735
strict: true
3836
env:
3937
GH_TOKEN: "${{ secrets.GH_AW_GITHUB_MCP_SERVER_TOKEN }}"
40-
steps:
41-
- name: Checkout repository
42-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8
43-
with:
44-
persist-credentials: false
4538
---
4639

4740
# Build Test: Bun
@@ -50,7 +43,12 @@ steps:
5043

5144
## Test Requirements
5245

53-
1. **Verify Bun**: Bun is pre-installed. Run `bun --version` to confirm it's available on PATH.
46+
1. **Install Bun**:
47+
```bash
48+
curl -fsSL https://bun.sh/install | bash
49+
export BUN_INSTALL="$HOME/.bun"
50+
export PATH="$BUN_INSTALL/bin:$PATH"
51+
```
5452

5553
2. **Clone Repository**: `gh repo clone Mossaka/gh-aw-firewall-test-bun /tmp/test-bun`
5654
- **CRITICAL**: If clone fails, immediately call `safeoutputs-missing_tool` with message "CLONE_FAILED: Unable to clone test repository" and stop execution
@@ -83,7 +81,7 @@ If ANY test fails, report the failure with error details.
8381
**CRITICAL**: This workflow MUST fail visibly when errors occur:
8482

8583
1. **Clone failure**: If repository clone fails, call `safeoutputs-missing_tool` with "CLONE_FAILED: [error message]"
86-
2. **Bun not available**: If `bun --version` fails, call `safeoutputs-missing_tool` with "BUN_NOT_FOUND: bun not available on PATH"
84+
2. **Bun install failure**: Call `safeoutputs-missing_tool` with "BUN_INSTALL_FAILED: [error message]"
8785
3. **Test failure**: Report in comment table with FAIL status and include failure details
8886

8987
DO NOT report success if any step fails. The workflow should produce a clear, actionable error message.

0 commit comments

Comments
 (0)