Skip to content

Conversation

gab-arrobo
Copy link
Contributor

No description provided.

@gab-arrobo gab-arrobo requested review from a team and Copilot September 10, 2025 16:12
Copy link

@Copilot 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

This PR replaces an unmaintained SCTP dependency git.cs.nctu.edu.tw/calee/sctp with the actively maintained github.com/ishidawataru/sctp library. The changes simplify the NGAP handler interface and remove SCTP notification handling functionality.

  • Replaced unmaintained SCTP library with github.com/ishidawataru/sctp
  • Simplified NGAPHandler from struct to function type
  • Removed SCTP notification handling and related configuration

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

File Description
go.mod Updates dependency from unmaintained SCTP library to github.com/ishidawataru/sctp
service/init.go Simplifies NGAP handler instantiation to match new function signature
ngap/service/service.go Refactors handler interface, removes notification handling and timeout configuration
ngap/dispatcher.go Removes SCTP notification handler function and unused imports

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@gab-arrobo gab-arrobo marked this pull request as draft September 10, 2025 16:15
@gab-arrobo gab-arrobo changed the title Replace unmantained despencendy git.cs.nctu.edu.tw/calee/sctp with github.com/ishidawataru/sctp Replace unmantained depencendy git.cs.nctu.edu.tw/calee/sctp with github.com/ishidawataru/sctp Sep 10, 2025
@gab-arrobo gab-arrobo changed the title Replace unmantained depencendy git.cs.nctu.edu.tw/calee/sctp with github.com/ishidawataru/sctp Replace unmaintained dependency git.cs.nctu.edu.tw/calee/sctp with github.com/ishidawataru/sctp Sep 10, 2025
@gab-arrobo gab-arrobo marked this pull request as ready for review September 10, 2025 19:00
HandleMessage: ngap.Dispatch,
HandleNotification: ngap.HandleSCTPNotification,
}
ngapHandler := ngap_service.NGAPHandler(ngap.Dispatch)
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it like new sctp module does not support notification? What happens in client (i.e. gNodeB) crashes/restarts

@gab-arrobo gab-arrobo marked this pull request as draft September 11, 2025 16:53
@gab-arrobo gab-arrobo closed this Sep 22, 2025
@gab-arrobo gab-arrobo force-pushed the replace-unmantained-dep branch from 5b500cf to 9c20453 Compare September 22, 2025 21:37
@gab-arrobo gab-arrobo reopened this Sep 22, 2025
@gab-arrobo gab-arrobo closed this Oct 13, 2025
@gab-arrobo gab-arrobo force-pushed the replace-unmantained-dep branch from dcc78f7 to c0beee5 Compare October 13, 2025 18:38
…thub.com/ishidawataru/sctp

Signed-off-by: Arrobo, Gabriel <[email protected]>
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