Skip to content

feat: add awf firewall to the copilot agent#2161

Merged
Mossaka merged 5 commits intomainfrom
mossaka/gh-aw-firewall
Oct 23, 2025
Merged

feat: add awf firewall to the copilot agent#2161
Mossaka merged 5 commits intomainfrom
mossaka/gh-aw-firewall

Conversation

@Mossaka
Copy link
Collaborator

@Mossaka Mossaka commented Oct 22, 2025

Signed-off-by: Jiaxiao Zhou duibao55328@gmail.com

@Mossaka Mossaka force-pushed the mossaka/gh-aw-firewall branch from bb6d965 to c5d185a Compare October 22, 2025 20:50
@Mossaka Mossaka requested review from dsyme and pelikhan and removed request for pelikhan October 22, 2025 20:57
@pelikhan
Copy link
Contributor

@copilot
Add a minimalistic feature flag helper in the compiler .go code that reads the environment variable GH_AW_FEATURES and determine if the "flag" is in the env at string. Make sure to do case insensitive string comparisons. No need for caching.

Use the "firewall" feature test to determine if copilot should enable generating code for the firewall; otherwise use the same generated code.

Copy link
Contributor

Copilot AI commented Oct 23, 2025

@pelikhan I've opened a new pull request, #2187, to work on those changes. Once the pull request is ready, I'll request review from you.

@Mossaka Mossaka force-pushed the mossaka/gh-aw-firewall branch from df217ca to 45e3d70 Compare October 23, 2025 00:31
Signed-off-by: Jiaxiao Zhou <duibao55328@gmail.com>
@Mossaka Mossaka force-pushed the mossaka/gh-aw-firewall branch from 45e3d70 to b367af0 Compare October 23, 2025 00:36
…rresponding tests

Signed-off-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com>
@Mossaka Mossaka force-pushed the mossaka/gh-aw-firewall branch from a915e92 to d2d6ddf Compare October 23, 2025 01:03
Signed-off-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com>
…ests

Signed-off-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com>
Signed-off-by: Jiaxiao (mossaka) Zhou <duibao55328@gmail.com>
@Mossaka Mossaka merged commit bd91b6d into main Oct 23, 2025
15 checks passed
@Mossaka Mossaka deleted the mossaka/gh-aw-firewall branch October 23, 2025 02:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants