Skip to content

Commit 663d9c0

Browse files
fix(compile): downgrade AWF for host access (#1526)
* Initial plan * fix(compile): downgrade AWF for host access Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
1 parent 3358957 commit 663d9c0

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

src/compile/common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1410,7 +1410,7 @@ pub fn generate_stage_prefix(name: &str) -> String {
14101410
/// Version of the AWF (Agentic Workflow Firewall) binary to download from GitHub Releases.
14111411
/// Update this when upgrading to a new AWF release.
14121412
/// See: <https://github.com/github/gh-aw-firewall/releases>
1413-
pub const AWF_VERSION: &str = "0.27.32";
1413+
pub const AWF_VERSION: &str = "0.27.9";
14141414

14151415
/// Prefix used to identify agentic pipeline YAML files generated by ado-aw.
14161416
pub const HEADER_MARKER: &str = "# @ado-aw";

tests/compiler_tests.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,14 @@ fn test_compiled_output_no_unreplaced_markers() {
191191
compiled.contains("github.com/github/gh-aw-firewall/releases"),
192192
"Compiled output should reference GitHub Releases for AWF"
193193
);
194+
assert!(
195+
compiled.contains("AWF_VERSION=\"0.27.9\""),
196+
"Compiled output should download the AWF version compatible with host-access"
197+
);
198+
assert!(
199+
!compiled.contains("AWF_VERSION=\"0.27.32\""),
200+
"Compiled output should not download AWF v0.27.32"
201+
);
194202

195203
// Verify MCPG references
196204
assert!(

0 commit comments

Comments
 (0)