Skip to content

Revert composite action for AWF installation - use curl-based installer - #9050

Closed
pelikhan with Copilot wants to merge 9 commits into
mainfrom
copilot/add-composite-github-action
Closed

Revert composite action for AWF installation - use curl-based installer#9050
pelikhan with Copilot wants to merge 9 commits into
mainfrom
copilot/add-composite-github-action

Conversation

CopilotAI commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Plan: Use Composite GitHub Action to Install AWF

  • Explore current awf installation implementation
  • Understand the composite action structure for awf installation
  • Update generateAWFInstallationStep to use composite action instead of shell script
  • Update tests to reflect composite action usage
  • Run tests to validate changes
  • Recompile workflows to apply changes
  • Verify compiled workflows use composite action
  • Fix additional test failures related to the change
  • Merge main branch (first time) and update workflows with latest changes
  • Merge main branch (second time) and regenerate workflows with latest security fixes
  • REVERTED: Revert to curl-based installation due to composite action failures

Summary

Note: This PR has been reverted to use the original curl-based installation method.

The initial approach to use a composite GitHub Action (githubnext/gh-aw-firewall@main) for AWF installation was causing smoke pipeline failures with sudo: awf: command not found. The composite action either doesn't exist at the main branch yet or doesn't install AWF with proper system-wide access.

Current State

The PR now maintains the curl-based installer script approach:

curl -sSL https://raw.githubusercontent.com/githubnext/gh-aw-firewall/main/install.sh | sudo AWF_VERSION=v0.8.2 bash

This proven method:

  • Installs AWF system-wide with sudo
  • Makes AWF available in PATH for workflow execution
  • All tests pass successfully
  • Smoke pipelines work correctly

Changes Included

  • Merged latest main branch changes including:
    • AWF v0.8.2 update
    • Template injection security fixes
    • Codex CLI update to 0.78.0
    • Various bug fixes and improvements

Future Work

The composite action approach can be re-implemented once:

Original prompt

Use composite GitHub Action to install awf. the action's implementation: github/gh-aw-firewall#184


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

CopilotAIand others added 3 commits January 6, 2026 00:55
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
CopilotAI changed the title [WIP] Add composite GitHub Action to install awfUse composite action for AWF installationJan 6, 2026
CopilotAI requested a review from pelikhanJanuary 6, 2026 01:12
@pelikhanpelikhan assigned Mossaka and unassigned pelikhanJan 6, 2026
@Mossaka
Mossaka marked this pull request as ready for review January 6, 2026 18:16
@Mossaka

Copy link
Copy Markdown
Contributor

@copilot merge main

Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

CopilotAI commented Jan 6, 2026

Copy link
Copy Markdown
ContributorAuthor

@copilot merge main

Merged main branch successfully. All workflows recompiled with updated AWF version v0.8.2 (commit 9c1ee8b).

@Mossaka

Copy link
Copy Markdown
Contributor

@copilot merge main and regenerate workflows

CopilotAIand others added 2 commits January 6, 2026 21:39
…tallation
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

CopilotAI commented Jan 6, 2026

Copy link
Copy Markdown
ContributorAuthor

@copilot merge main and regenerate workflows

Merged main and regenerated all workflows with composite action for AWF installation (commit 7fc7bc4).

@MossakaMossaka added smoke and removed smoke labels Jan 6, 2026
@github-actions

github-actionsBot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

github-actionsBot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

📰 DEVELOPING STORY: Smoke Copilot Playwright reports failed. Our correspondents are investigating the incident...

@github-actions

github-actionsBot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

🤖 DIAGNOSTIC COMPLETE: Smoke Copilot No Firewall STATUS: ALL_UNITS_OPERATIONAL. MISSION_SUCCESS.

@github-actions

github-actionsBot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

❌ Firewall validation failed... Smoke Codex Firewall failed. Network sandboxing may not be working correctly.

@github-actions

github-actionsBot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

💀 Blimey! Smoke Copilot Safe Inputs failed and walked the plank! No treasure today, matey! ☠️

@github-actions

github-actionsBot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

📰 DEVELOPING STORY: Smoke Copilot reports failed. Our correspondents are investigating the incident...

@github-actions

github-actionsBot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

💀 Blimey! Changeset Generator failed and walked the plank! No treasure today, matey! ☠️

@github-actions

github-actionsBot commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

Smoke Test Complete - All tests passed

  • Reviewed 2 merged PRs (#9171, #9168)
  • Created test file in /tmp/gh-aw/agent/
  • Navigated to GitHub (title verified)
  • Listed 3 issues (#9127, #9122, #9101)

AI generated by Smoke Copilot No Firewall

@Mossaka

Copy link
Copy Markdown
Contributor

@copilot figure out why all the smoke pipeline failed with sudo: awf: command not found?

The composite action approach was causing failures because the composite action
at githubnext/gh-aw-firewall@main either doesn't exist or isn't working correctly yet.
Reverting to the proven curl-based installation method that installs AWF with sudo,
making it available system-wide in the PATH.
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>

CopilotAI commented Jan 6, 2026

Copy link
Copy Markdown
ContributorAuthor

@copilot figure out why all the smoke pipeline failed with sudo: awf: command not found?

The issue was caused by the composite action approach. The action at githubnext/gh-aw-firewall@main either doesn't exist yet or doesn't install AWF with system-wide access.

Reverted to the curl-based installation method that uses sudo to install AWF system-wide, making it available in PATH (commit aa6ec3b).

The composite action can be re-implemented once PR github/gh-aw-firewall#184 is merged and verified.

CopilotAI changed the title Use composite action for AWF installationRevert composite action for AWF installation - use curl-based installerJan 6, 2026
@MossakaMossaka closed this Jan 6, 2026
@github-actions
github-actionsBot deleted the copilot/add-composite-github-action branch April 2, 2026 12:05
Sign up for freeto 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

@Mossaka@pelikhan