feat(registry/coder/modules/agent-firewall): internal refactor boundary to agent-firewall#940
Merged
Merged
Conversation
…-firewall and add subcommand detection - Rename all internal boundary_*/BOUNDARY_* variables, functions, and log messages to agent_firewall_*/AGENT_FIREWALL_* equivalents - Add subcommand detection: prefer coder agent-firewall, fall back to coder boundary - Update wrapper script generation to use detected subcommand via printf instead of hardcoded boundary - Update coder-mock.sh to handle both agent-firewall and boundary - Update test assertions to match new log messages and wrapper content - Preserve coder/boundary repo URLs, binary name, and CLI references
…agent-firewall directory Clone coder/boundary into agent-firewall/ instead of boundary/ to align the local directory name with the module identity.
32d5a02 to
25776b0
Compare
andrewdennis117
approved these changes
Jul 7, 2026
9 tasks
35C4n0r
added a commit
that referenced
this pull request
Jul 7, 2026
…mp to patch (0.0.3) (#945) ## Description Reverts the agent-firewall module version from `1.0.0` to `0.0.3`. The major version bump in #940. ## Type of Change - [ ] New module - [ ] New template - [ ] Bug fix - [ ] Feature/enhancement - [ ] Documentation - [x] Other ## Module Information **Path:** `registry/coder/modules/agent-firewall` **New version:** `v0.0.3` **Breaking change:** [ ] Yes [x] No ## Testing & Validation - [x] Tests pass (`bun test`) - [x] Code formatted (`bun fmt`) - [x] Changes tested locally ## Related Issues [REG-3: Update agent-firewall registry compatibility surfaces](https://linear.app/codercom/issue/REG-3/update-agent-firewall-registry-compatibility-surfaces) > [!NOTE] > This PR was authored by Coder Agents on behalf of @35C4n0r.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Rename internal
boundaryreferences toagent-firewallacross the agent-firewall registry module, addcoder agent-firewallsubcommand detection with fallback tocoder boundary, bump module version to1.0.0, and clone the boundary repo into anagent-firewall/directory.Preserves
coder/boundaryrepo URLs, theboundarybinary name (build artifact), andcoder boundaryCLI subcommand references where they are functionally required.Type of Change
Module Information
Path:
registry/coder/modules/agent-firewallNew version:
v1.0.0Breaking change: [ ] Yes [x] No
Testing & Validation
bun test)bun fmt)terraform test- 8/8)bun test- 13/13, 70 expect() calls)Related Issues
REG-3: Update agent-firewall registry compatibility surfaces
Note
This PR was authored by Coder Agents on behalf of @35C4n0r.
Changes summary
Rename
boundarytoagent-firewall(all files)boundary_*/BOUNDARY_*Terraform locals and template variables toagent_firewall_*/AGENT_FIREWALL_*acrossmain.tf,config.yaml.tftpl, andinstall.sh.tftplvalidate_boundary_subcommand→validate_agent_firewall_subcommand,install_boundary→install_agent_firewall,write_boundary_config→write_agent_firewall_config,setup_boundary→setup_agent_firewallagent-firewallmain.test.tsand test values inagent-firewall.tftest.hclcoder-mock.shto handle bothagent-firewallandboundarysubcommandsSubcommand detection with fallback
validate_agent_firewall_subcommand()now triescoder agent-firewall --helpfirst, falls back tocoder boundary --helpCODER_SUBCOMMAND, used for license check and embedded into wrapper scriptprintfto inject the detected subcommandVersion bump
0.0.2to1.0.0Clone directory
git clone coder/boundary.gitnow clones intoagent-firewall/instead ofboundary/