Skip to content

Upgrade go 1.27.4 and bump staticcheck and golangci-lint, add govulncheck hook - #907

Merged
gab-arrobo merged 1 commit into
omec-project:mainfrom
gab-arrobo:upgrade-go
Nov 17, 2026
Merged

gab-arrobo merged 1 commit into
omec-project:mainfrom
gab-arrobo:upgrade-go

Conversation

@gab-arrobo

Copy link
Copy Markdown
Contributor

Fix #893 and close #894

…heck hook

Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
@gab-arrobo
gab-arrobo requested review from a team and a balanced review from Copilot November 17, 2026 21:29

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the release, toolchain, and NAS decode-handling updates.

No open issues 🎉

What changed in this PR

This PR updates AMF’s toolchain and dependencies for release 3.3.4, tightens NAS decode error handling, and adds regression coverage for the crashes reported in #893 and #894.

Changes:

  • Upgrades Go to 1.27.4, updates staticcheck and golangci-lint, and adds a govulncheck pre-commit hook.
  • Updates the NAS dependency, returns nil messages on decode errors, and adds crash-regression tests with compatible test fixtures.
  • Promotes the version from 3.3.4-dev to 3.3.4.
File Description
VERSION Sets the release version to 3.3.4.
nas/​nas_security/​security.go Returns nil messages immediately when NAS decoding fails.
nas/​nas_security/​plain_nas_refusal_test.go Adds rejection tests for the exact PDUs reported in #893 and #894.
go.sum Updates checksums for the dependency upgrades.
go.mod Raises the Go requirement and updates NAS and indirect dependencies.
gmm/​establishment_payload_test.go Adds the mandatory integrity-protection data-rate field to establishment-request fixtures.
.pre-commit-config.yaml Updates analysis tools and adds vulnerability scanning for module-file changes.
.github/​workflows/​main.yml Updates CI staticcheck and golangci-lint versions.

Review effort: Balanced

@gab-arrobo
gab-arrobo enabled auto-merge (squash) November 17, 2026 21:31
@gab-arrobo
gab-arrobo disabled auto-merge November 17, 2026 21:40
@gab-arrobo
gab-arrobo merged commit 84b50dc into omec-project:main Nov 17, 2026
12 checks passed
@gab-arrobo
gab-arrobo deleted the upgrade-go branch November 17, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

3 participants