Skip to content

chore: set AWFCliProxyMinVersion to v0.25.17#25411

Merged
lpcox merged 2 commits intomainfrom
set-awf-cli-proxy-min-v0.25.17
Apr 9, 2026
Merged

chore: set AWFCliProxyMinVersion to v0.25.17#25411
lpcox merged 2 commits intomainfrom
set-awf-cli-proxy-min-v0.25.17

Conversation

@lpcox
Copy link
Copy Markdown
Collaborator

@lpcox lpcox commented Apr 8, 2026

Summary

Lowers AWFCliProxyMinVersion from v0.26.0 to v0.25.17, aligning the CLI proxy version gate with the current DefaultFirewallVersion (v0.25.17).

Changes

  • pkg/constants/version_constants.go: AWFCliProxyMinVersionv0.25.17
  • pkg/workflow/awf_helpers_test.go: Updated version-gate tests to match new minimum (nil/empty configs now return true, added v0.25.17 exact-minimum test case)

Testing

  • TestAWFSupportsCliProxy ✅ (all 9 cases pass)
  • TestBuildAWFArgsCliProxy ✅ (all 4 cases pass)

Lower the CLI proxy minimum version gate from v0.26.0 to v0.25.17, aligning
it with the current DefaultFirewallVersion. Update version-gate tests to
reflect the new minimum.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings April 8, 2026 23:58
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns the CLI-proxy feature gate with the currently shipped default AWF (firewall) version by lowering AWFCliProxyMinVersion to v0.25.17, and updates the corresponding version-gate tests.

Changes:

  • Lower AWFCliProxyMinVersion from v0.26.0 to v0.25.17 (matching DefaultFirewallVersion).
  • Update awfSupportsCliProxy test expectations for nil/empty configs to reflect default-version behavior.
  • Add an exact-minimum test case for v0.25.17.
Show a summary per file
File Description
pkg/constants/version_constants.go Lowers AWFCliProxyMinVersion to v0.25.17 to match DefaultFirewallVersion.
pkg/workflow/awf_helpers_test.go Updates CLI proxy version-gate unit tests to reflect the new minimum and default behavior.

Copilot's findings

Tip

Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

  • Files reviewed: 2/2 changed files
  • Comments generated: 1

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@lpcox lpcox merged commit 791db66 into main Apr 9, 2026
56 of 58 checks passed
@lpcox lpcox deleted the set-awf-cli-proxy-min-v0.25.17 branch April 9, 2026 00:08
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.

2 participants