github / github/gh-aw

Bump DefaultFirewallVersion to v0.27.7

Open
#40,207 0 comments 1 reaction 2 assignees Claimed by @lpcox View on GitHub
compiler dependencies workflows
Dominant language
Go
Stars
5.1k
Forks
541
Avg merge
5h 46m
Merged PRs (30d)
760

Description

## Goal

Bump the shared firewall dependency `DefaultFirewallVersion` from **v0.27.6** → **v0.27.7** and recompile/regenerate everything that pins it.

Release: https://github.com/github/gh-aw-firewall/releases/tag/v0.27.7
Full changelog: https://github.com/github/gh-aw-firewall/compare/v0.27.6...v0.27.7

## What's in v0.27.7

- fix: check iptables availability before host firewall setup ([gh-aw-firewall#5136](https://github.com/github/gh-aw-firewall/pull/5136))
- fix(api-proxy): map OpenAI Responses API cached tokens to `cache_read` ([#5262](https://github.com/github/gh-aw-firewall/pull/5262))
- ci(smoke): add token-usage sanity checks to smoke workflows ([#5264](https://github.com/github/gh-aw-firewall/pull/5264))
- fix(containers): apt install fallback to `archive.ubuntu.com` ([#5266](https://github.com/github/gh-aw-firewall/pull/5266))
- fix(api-proxy): 403 for terminal caps; fix Anthropic/Copilot input credits ([#5271](https://github.com/github/gh-aw-firewall/pull/5271))

### Why this matters for gh-aw

- **Terminal hard caps now return HTTP 403 instead of 429** (#5271). Previously, hitting `maxRuns` / `maxAiCredits` / effective-token / cache-miss caps returned 429, which LLM SDK clients treat as a transient rate-limit and retry-storm against a non-recoverable cap until the step times out (10–16 min). 403 is non-retryable, so the agent stops cleanly. This directly improves agent reliability and run duration for any gh-aw workflow that uses budget caps.
- **More accurate AI-credits accounting** (#5271, #5262): provider-aware input-token credit math for Anthropic/Copilot and correct cache_read mapping for the OpenAI Responses API. (Note: there is still a *harness-side* AIC under-report for Anthropic — see github/gh-aw#40205 — which is independent of this bump.)
- apt fallback (#5266) and iptables pre-check (#5136) improve container build/runtime robustness on constrained runners.

## Suggested changes (per the `awf-release-integrator` skill)

1. Update the constant in `pkg/constants/version_constants.go`:
```go
const DefaultFirewallVersion Version = "v0.27.7"
```
2. Review the `AWF*MinVersion` constants in the same file — no new version-gated flags are introduced by v0.27.7, so these should not need changes, but confirm.
3. Recompile all workflow lock files so the new binary/image tag and container SHA pins are refreshed (the second compile pass resolves container SHAs).
4. Update golden testdata that embeds the version — e.g. `pkg/workflow/testdata/TestWasmGolden_AllEngines/*.golden` and `pkg/workflow/testdata/wasm_golden/WasmBinary/*.golden` currently contain `v0.27.6` / `imageTag":"0.27.6"`.
5. Update version-pinning test expectations as needed (`firewall_version_pinning_test.go`, `aw_info_versions_test.go`, etc. derive from the constant, so most should pass automatically).
6. Add a changeset (`.changeset/…md`, `"gh-aw": patch`) and CHANGELOG entry noting the bump.
7. CI (`.github/workflows/ci.yml`) extracts `DefaultFirewallVersion` for verification — ensure it stays consistent.

## Acceptance criteria

- [ ] `DefaultFirewallVersion == "v0.27.7"`
- [ ] All workflow `*.lock.yml` recompiled and reference the v0.27.7 tag + refreshed container SHA pins
- [ ] Golden/test fixtures updated; `go test ./...` green
- [ ] Changeset + CHANGELOG entry added

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.