Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 3, 2025

Updates gh-aw-firewall to v0.6.0 which introduces --proxy-logs-dir for specifying the proxy logs directory directly, eliminating the need for post-execution log discovery.

Changes

  • Version bump: DefaultFirewallVersion v0.5.1 → v0.6.0
  • New flag: Added --proxy-logs-dir /tmp/gh-aw/sandbox/firewall/logs to awf command
  • Removed find step: The shell script that searched for awf-agent-logs-* or copilot-logs-* directories is no longer needed

Before/After

Before (v0.5.1):

sudo -E awf --env-all ... -- npx copilot ... 2>&1 | tee $LOG

# Find and move logs post-execution
AGENT_LOGS_DIR="$(find /tmp -maxdepth 1 -type d \( -name 'awf-agent-logs-*' -o -name 'copilot-logs-*' \) ...)"
if [ -n "$AGENT_LOGS_DIR" ]; then
  sudo mv "$AGENT_LOGS_DIR"/* /tmp/gh-aw/sandbox/agent/logs/
fi

After (v0.6.0):

sudo -E awf --env-all ... --proxy-logs-dir /tmp/gh-aw/sandbox/firewall/logs -- npx copilot ... 2>&1 | tee $LOG

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/user
    • Triggering command: /usr/bin/gh gh api user --jq .login (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

update awf to v0.6.0, there is a new feature which allows to set proxy logs directory using --proxy-logs-dir make sure you modify the compiler to direct logs to /tmp/gh-aw/sandbox/firewall/logs and remove the "find" step


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


Changeset

  • Type: patch
  • Description: Update awf to v0.6.0, add --proxy-logs-dir flag to direct firewall logs to /tmp/gh-aw/sandbox/firewall/logs, and remove the post-run find step that relocated agent logs.

AI generated by Changeset Generator



Smoke Test Summary

  • Timestamp: 2025-12-03T01:26:31Z
  • Status: PASS
  • Summary: All Copilot engine tests passed (GitHub MCP, file operations, bash, Playwright)

AI generated by Smoke Copilot No Firewall

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Copilot AI changed the title [WIP] Update AWF to version 0.6.0 with new proxy logs directory Update awf to v0.6.0, add --proxy-logs-dir flag and remove find step Dec 3, 2025
@Mossaka Mossaka requested a review from Copilot December 3, 2025 01:24
Copilot AI requested a review from Mossaka December 3, 2025 01:24
@Mossaka Mossaka marked this pull request as ready for review December 3, 2025 01:24
@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

💥 WHOOSH! Smoke Claude springs into action on this pull request! [Panel 1 begins...]

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

🔮 The ancient spirits stir... Smoke Codex awakens to divine this pull request...

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

📰 BREAKING: Smoke Copilot is now investigating this pull request. Sources say the story is developing...

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

📰 BREAKING: Smoke Copilot Playwright is now investigating this pull request. Sources say the story is developing...

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

🤖 SYSTEM_INIT: Smoke Copilot No Firewall ACTIVATED. PROCESSING pull request. ALL SUBSYSTEMS ONLINE.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

🎉 Yo ho ho! Changeset Generator found the treasure and completed successfully! ⚓💰

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 updates the gh-aw-firewall (awf) from v0.5.1 to v0.6.0, leveraging a new feature that allows direct specification of the proxy logs directory using the --proxy-logs-dir flag. This eliminates the need for post-execution log discovery and simplifies the workflow execution.

  • Updated the default firewall version from v0.5.1 to v0.6.0
  • Added --proxy-logs-dir /tmp/gh-aw/sandbox/firewall/logs flag to the awf command
  • Removed the shell script that searched for and moved log directories after execution

Reviewed changes

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

Show a summary per file
File Description
pkg/constants/constants.go Updated DefaultFirewallVersion from v0.5.1 to v0.6.0
pkg/constants/constants_test.go Updated test expectation for DefaultFirewallVersion to v0.6.0
pkg/workflow/copilot_engine.go Added --proxy-logs-dir flag to awf command and removed post-execution log discovery script
.github/workflows/weekly-issue-summary.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/smoke-copilot.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/smoke-copilot-playwright.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/research.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/release.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/python-data-charts.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/mcp-inspector.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/firewall.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/firewall-escape.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/docs-noob-tester.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/daily-repo-chronicle.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/daily-news.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/copilot-pr-prompt-analysis.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/copilot-pr-nlp-analysis.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/cli-consistency-checker.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script
.github/workflows/artifacts-summary.lock.yml Updated awf version in install step and added --proxy-logs-dir flag; removed log moving script

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

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Smoke Test Results (Copilot Engine)

Last 2 Merged PRs:

Test Results:

  • ✅ GitHub MCP: Retrieved PR titles successfully
  • ✅ File Writing: Created /tmp/gh-aw/agent/smoke-test-copilot-19879140173.txt
  • ✅ Bash Tool: Verified file content

Overall Status: PASS

📰 BREAKING: Report filed by Smoke Copilot fer issue #5346 🗺️

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Smoke Test Results

Last 2 Merged PRs:

Test Results:

  • ✅ GitHub MCP: Retrieved PR data
  • ✅ File Writing: Created /tmp/gh-aw/agent/smoke-test-claude-19879140167.txt
  • ✅ Bash Tool: Verified file contents
  • ✅ Playwright MCP: Navigated to GitHub, title contains "GitHub"

Status: PASS

💥 [THE END] — Illustrated by Smoke Claude fer issue #5346 🗺️

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Smoke Test Results

Last 2 Merged PRs:

Test Results:

  • ✅ GitHub MCP: Retrieved PR data
  • ✅ File Writing: Created test file successfully
  • ✅ Bash Tool: Verified file content
  • ✅ Playwright MCP: Navigated to GitHub, title confirmed

Status: PASS

🤖 DIAGNOSTIC REPORT GENERATED BY Smoke Copilot No Firewall fer issue #5346 🗺️

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Smoke Test Results

Playwright MCP: Successfully navigated to https://github.com and verified page title contains "GitHub"

Overall Status: PASS

📰 BREAKING: Report filed by Smoke Copilot Playwright fer issue #5346 🗺️

@github-actions
Copy link
Contributor

github-actions bot commented Dec 3, 2025

Convert embedded custom agents to prompt file format
Update awf to v0.5.1
GitHub MCP: ✅
File write/cat: ✅
Playwright title: ✅
Overall: PASS

🔮 The oracle has spoken through Smoke Codex fer issue #5346 🗺️

@pelikhan pelikhan merged commit abfc6fb into main Dec 3, 2025
17 of 18 checks passed
@pelikhan pelikhan deleted the copilot/update-awf-to-v0-6-0 branch December 3, 2025 04:16
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