Skip to content

Improve code readability#356

Merged
tylerharter merged 26 commits intoopen-lambda:mainfrom
bridgetwu33:feature/uds-server
Oct 31, 2025
Merged

Improve code readability#356
tylerharter merged 26 commits intoopen-lambda:mainfrom
bridgetwu33:feature/uds-server

Conversation

@bridgetwu33
Copy link
Copy Markdown
Contributor

Added comments to commands.go about the behavior of what urfave/cli will do.

bridgetwu33 and others added 26 commits October 3, 2025 23:55
Copy link
Copy Markdown
Member

@tylerharter tylerharter left a comment

Choose a reason for hiding this comment

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

Awesome!

@tylerharter tylerharter merged commit 5afe36d into open-lambda:main Oct 31, 2025
2 checks passed
bridgetwu33 added a commit to bridgetwu33/open-lambda that referenced this pull request Nov 2, 2025
* Added UDS functionality to boss. Can be used in place of TCP ports

* Edited UDS to be implemented in worker, undoed changes to boss and config files

* Modified workers to use mux for port and UDs, added error channel for http server error handling

* Reordered handler and server creation

* Reordered removing sockPath

* Changed comments with UDS to UNIX domain socket

* Refactored waiting for signals from error handling channel

* Renamed shutdown function to WriteFinalStats, changed cleanup

* Fixed typo

* Fixed shutdown logic

* Fixed commands.go

* Fixed error messages, Main can now return an error, and added panic in case of nil error

* Changed commands.go to handle main returning nil

* Fixed err variable

* Modified NewLambdaServer to take in a serveMux

* Modified NewSockServer to take in a serveMux

* Moved check for nil error

* Changed upCmd to return event.Main

* Added comment about upCmd behavior to commands.go

* Moved check for nil error

* Changed upCmd to return event.Main

* Added comment about upCmd behavior to commands.go

* Removed unused parameters pidPath and server from WriteFinalStats function

---------

Co-authored-by: Bridget Wu <bwu227@cs544-bwu227.cs.wisc.edu>
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