Skip to content

Commit 54c4044

Browse files
authored
Add rebuild/recompile warning comments to firewall and mcpg version constants (#30478)
1 parent 4028deb commit 54c4044

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

pkg/constants/version_constants.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ const DefaultOpenCodeVersion Version = "1.2.14"
6060
const DefaultGitHubMCPServerVersion Version = "v1.0.3"
6161

6262
// DefaultFirewallVersion is the default version of the gh-aw-firewall (AWF) binary
63+
//
64+
// ⚠️ IMPORTANT: When updating this version, you must run a full rebuild and recompile twice:
65+
//
66+
// make build && make recompile && make recompile
67+
//
68+
// The first recompile regenerates all lock files using the new version; the second recompile
69+
// refreshes the container SHA pins that were resolved during the first pass.
6370
const DefaultFirewallVersion Version = "v0.25.40"
6471

6572
// AWFExcludeEnvMinVersion is the minimum AWF version that supports the --exclude-env flag.
@@ -82,6 +89,13 @@ const AWFAllowHostPortsMinVersion Version = "v0.25.24"
8289
const CopilotNoAskUserMinVersion Version = "1.0.19"
8390

8491
// DefaultMCPGatewayVersion is the default version of the MCP Gateway (gh-aw-mcpg) Docker image
92+
//
93+
// ⚠️ IMPORTANT: When updating this version, you must run a full rebuild and recompile twice:
94+
//
95+
// make build && make recompile && make recompile
96+
//
97+
// The first recompile regenerates all lock files using the new version; the second recompile
98+
// refreshes the container SHA pins that were resolved during the first pass.
8599
const DefaultMCPGatewayVersion Version = "v0.3.6"
86100

87101
// MCPGIntegrityReactionsMinVersion is the minimum MCPG version that supports

0 commit comments

Comments
 (0)