Repository navigation
Upgrade go 1.27.4 and bump staticcheck and golangci-lint, add govulncheck hook - #907
Merged
Merged
Conversation
…heck hook Signed-off-by: Arrobo, Gabriel <gabriel.arrobo@intel.com>
There was a problem hiding this comment.
🟢 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-devto3.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
enabled auto-merge (squash)
November 17, 2026 21:31
cmaciocco
approved these changes
Nov 17, 2026
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.
Fix #893 and close #894