Skip to content

Update go.mod for Set-Headers Policy#208

Merged
O-sura merged 1 commit into
wso2:mainfrom
O-sura:header-appending-improvement
Jun 17, 2026
Merged

Update go.mod for Set-Headers Policy#208
O-sura merged 1 commit into
wso2:mainfrom
O-sura:header-appending-improvement

Conversation

@O-sura

@O-sura O-sura commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Purpose

  • $subject

@coderabbitai

coderabbitai Bot commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 4b7caddb-bfc6-4783-b3e0-006e4acd3884

📥 Commits

Reviewing files that changed from the base of the PR and between e5c126d and e69167c.

⛔ Files ignored due to path filters (1)
  • policies/set-headers/go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • policies/set-headers/go.mod

📝 Walkthrough

Summary

This PR updates the Go module configuration for the Set-Headers Policy implementation, specifically:

  • Go toolchain version: Updated from go 1.26.1 to go 1.26.2
  • Dependency upgrade: github.com/wso2/api-platform/sdk/core bumped from v0.2.5 to v0.2.15

These changes represent maintenance updates to keep the policy module aligned with the latest toolchain and SDK improvements.

Walkthrough

The policies/set-headers/go.mod file is updated with two version changes: the Go toolchain directive is bumped from 1.26.1 to 1.26.2, and the dependency github.com/wso2/api-platform/sdk/core is upgraded from v0.2.5 to v0.2.15.

Suggested Reviewers

  • pubudu538
  • malinthaprasan
  • Krishanx92
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is incomplete, providing only a placeholder subject without substantive details about the purpose, goals, approach, or impact of the dependency updates. Complete the description with concrete details about why the Go version and SDK dependency were upgraded and what improvements or fixes this enables.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating the go.mod file for the Set-Headers Policy with specific version bumps.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.12.2)

level=error msg="[linters_context] typechecking error: pattern ./...: directory prefix . does not contain main module or its selected dependencies"


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@O-sura O-sura merged commit 3dc6140 into wso2:main Jun 17, 2026
4 checks passed
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