You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We conducted comprehensive testing of the AWF (Agentic Workflow Firewall) agent container across three JavaScript/TypeScript runtimes: Node.js, Bun, and Deno. This discussion documents our findings, identifies gaps, and provides recommendations for improving runtime support.
Test Methodology
We forked popular open-source repositories for each runtime, initialized them with gh aw init, created agentic workflows with firewall enabled, and monitored the CI agent's ability to build and test each project.
Bun runtime works well, though the runtime binary needs to be installed by the agent:
✅ Agent successfully downloads Bun binary from GitHub releases
✅ bun install works correctly
✅ bun test executes properly
✅ The bun profile maps to node ecosystem (includes bun.sh)
Key Observation: The agent container doesn't have Bun pre-installed, but the agent intelligently downloads it from https://github.com/oven-sh/bun/releases/. This works because GitHub domains are allowed.
The AWF agent container provides solid support for Node.js and Bun ecosystems. Deno support is close but blocked by the missing JSR registry. Once #12395 is resolved, all three major JavaScript/TypeScript runtimes should work seamlessly.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
We conducted comprehensive testing of the AWF (Agentic Workflow Firewall) agent container across three JavaScript/TypeScript runtimes: Node.js, Bun, and Deno. This discussion documents our findings, identifies gaps, and provides recommendations for improving runtime support.
Test Methodology
We forked popular open-source repositories for each runtime, initialized them with
gh aw init, created agentic workflows with firewall enabled, and monitored the CI agent's ability to build and test each project.Repositories Tested
Detailed Findings
Node.js Runtime ✅
Status: Fully Supported
The Node.js runtime works excellently with the AWF agent container:
npm installworks correctlyregistry.npmjs.org) worksnodeallowed domains profile is comprehensiveWorkflow Configuration:
Bun Runtime ✅
Status: Fully Supported
Bun runtime works well, though the runtime binary needs to be installed by the agent:
bun installworks correctlybun testexecutes properlybunprofile maps tonodeecosystem (includesbun.sh)Key Observation: The agent container doesn't have Bun pre-installed, but the agent intelligently downloads it from
https://github.com/oven-sh/bun/releases/. This works because GitHub domains are allowed.Deno Runtime⚠️
Status: Partially Supported - Missing JSR Registry
Deno runtime has a critical gap: the JavaScript Registry (JSR) is not in the allowed domains.
deno eval,deno --version)Error observed:
Root Cause: The
denoruntime maps to thenodeecosystem which includesdeno.landbut notjsr.io. JSR is Deno's modern package registry.Issue Created: #12395
Agent Container Capabilities
The AWF agent container demonstrated impressive adaptability:
What Works Well
Observed Challenges
actions/setup/directory can conflict with project linting rulesRecommendations
Short-term Fixes
Sample Workflow Configurations
Node.js:
Bun:
Deno (workaround until #12395):
Conclusion
The AWF agent container provides solid support for Node.js and Bun ecosystems. Deno support is close but blocked by the missing JSR registry. Once #12395 is resolved, all three major JavaScript/TypeScript runtimes should work seamlessly.
Related
Beta Was this translation helpful? Give feedback.
All reactions