Commit 5d90a1f
Update AWF firewall to v0.11.2 with ACT agent container (#11567)
* Initial plan
* Update AWF firewall to v0.11.2 and add --agent-image act flag
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
* Merge origin/main and regenerate lock files with AWF v0.11.2
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
* Add changeset [skip-ci]
* Add Go dev path mount to AWF containers
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
* Mount entire /opt/hostedtoolcache to AWF containers for all tools
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
* Merge origin/main and recompile workflows with AWF v0.11.2
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
* Add changeset [skip-ci]
* Add Go and Node runtimes to dev workflow
This ensures the agent has access to Go and Node.js for building
and testing the gh-aw project.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Revert "Add Go and Node runtimes to dev workflow"
This reverts commit c82400e.
* Add hostedtoolcache PATH setup to Copilot engine AWF command
Tools installed via actions/setup-* (Go, Node, Python, etc.) are placed
in /opt/hostedtoolcache but the agent container doesn't have these paths
in PATH by default. This adds a PATH setup command that finds all bin
directories under /opt/hostedtoolcache and adds them to PATH before
running the copilot CLI inside the AWF container.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add runtime ecosystem domains to AWF firewall allowlist
When runtimes are specified in workflow frontmatter (e.g., go, node, python),
automatically add the corresponding ecosystem domains to the AWF firewall
allowlist. This allows workflows to download packages and dependencies
without explicitly specifying network permissions.
Runtime to ecosystem mapping:
- node, bun, deno → node ecosystem (npmjs.org, nodejs.org, etc.)
- python, uv → python ecosystem (pypi.org, etc.)
- go → go ecosystem (proxy.golang.org, etc.)
- java → java ecosystem (maven.apache.org, gradle.org, etc.)
- ruby → ruby ecosystem (rubygems.org, etc.)
- dotnet → dotnet ecosystem (nuget.org, etc.)
- haskell → haskell ecosystem (haskell.org, etc.)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* Add network allowlist for dev workflow tests
Add domains needed for running tests:
- ghcr.io, pkg-containers.githubusercontent.com: Docker image pulls
- proxy.golang.org, sum.golang.org, storage.googleapis.com: Go modules
- objects.githubusercontent.com, codeload.github.com: GitHub downloads
Also increase timeout to 30 minutes for full test suite.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Mossaka <5447827+Mossaka@users.noreply.github.com>
Co-authored-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>1 parent 6206d88 commit 5d90a1f
File tree
152 files changed
+6371
-5935
lines changed- .changeset
- .github
- aw
- workflows
- pkg
- constants
- workflow
- data
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
152 files changed
+6371
-5935
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | | - | |
21 | | - | |
| 20 | + | |
| 21 | + | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
31 | 36 | | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | | - | |
46 | | - | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 53 | | |
59 | 54 | | |
60 | 55 | | |
61 | 56 | | |
62 | 57 | | |
63 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
| 68 | + | |
69 | 69 | | |
70 | | - | |
71 | | - | |
| 70 | + | |
| 71 | + | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
79 | 84 | | |
80 | | - | |
81 | | - | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | | - | |
| 88 | + | |
84 | 89 | | |
85 | | - | |
| 90 | + | |
86 | 91 | | |
87 | 92 | | |
88 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
89 | 99 | | |
90 | | - | |
91 | | - | |
| 100 | + | |
| 101 | + | |
92 | 102 | | |
93 | | - | |
| 103 | + | |
94 | 104 | | |
95 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
96 | 116 | | |
97 | 117 | | |
98 | | - | |
| 118 | + | |
99 | 119 | | |
100 | | - | |
| 120 | + | |
101 | 121 | | |
102 | 122 | | |
103 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
104 | 134 | | |
105 | | - | |
106 | | - | |
| 135 | + | |
| 136 | + | |
107 | 137 | | |
108 | 138 | | |
109 | 139 | | |
| |||
115 | 145 | | |
116 | 146 | | |
117 | 147 | | |
118 | | - | |
| 148 | + | |
119 | 149 | | |
120 | | - | |
| 150 | + | |
121 | 151 | | |
122 | 152 | | |
123 | | - | |
| 153 | + | |
124 | 154 | | |
125 | | - | |
| 155 | + | |
126 | 156 | | |
127 | 157 | | |
128 | | - | |
| 158 | + | |
129 | 159 | | |
130 | | - | |
| 160 | + | |
131 | 161 | | |
132 | 162 | | |
133 | | - | |
| 163 | + | |
134 | 164 | | |
135 | | - | |
| 165 | + | |
136 | 166 | | |
137 | 167 | | |
138 | 168 | | |
139 | 169 | | |
140 | 170 | | |
141 | 171 | | |
142 | 172 | | |
143 | | - | |
| 173 | + | |
144 | 174 | | |
145 | | - | |
146 | | - | |
| 175 | + | |
| 176 | + | |
147 | 177 | | |
148 | 178 | | |
149 | 179 | | |
150 | 180 | | |
151 | 181 | | |
152 | 182 | | |
153 | | - | |
| 183 | + | |
154 | 184 | | |
155 | | - | |
156 | | - | |
| 185 | + | |
| 186 | + | |
157 | 187 | | |
158 | | - | |
| 188 | + | |
159 | 189 | | |
160 | | - | |
161 | | - | |
| 190 | + | |
| 191 | + | |
162 | 192 | | |
163 | | - | |
| 193 | + | |
164 | 194 | | |
165 | | - | |
166 | | - | |
| 195 | + | |
| 196 | + | |
167 | 197 | | |
168 | | - | |
| 198 | + | |
169 | 199 | | |
170 | | - | |
171 | | - | |
| 200 | + | |
| 201 | + | |
172 | 202 | | |
173 | 203 | | |
174 | 204 | | |
175 | 205 | | |
176 | 206 | | |
177 | 207 | | |
178 | | - | |
| 208 | + | |
179 | 209 | | |
180 | | - | |
181 | | - | |
| 210 | + | |
| 211 | + | |
182 | 212 | | |
183 | 213 | | |
184 | 214 | | |
0 commit comments