-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support empty params for websocket endpoint #2111
Conversation
WalkthroughThe recent changes streamline a GitHub Actions workflow by adding a new branch trigger while removing several Docker image build and push jobs. Additionally, improvements have been made to the error handling in the Changes
Poem
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (2)
- .github/workflows/protocol-build-and-push.yml (2 hunks)
- protocol/streaming/ws/websocket_server.go (2 hunks)
Additional comments not posted (4)
.github/workflows/protocol-build-and-push.yml (2)
6-6
: Branch Trigger Addition: Ensure alignment with workflow goals.The addition of the branch
wl/fix_parse
to the trigger list allows the workflow to run on this branch. Ensure that this aligns with the intended CI/CD strategy and that the branch is actively used for development or fixes.
6-6
: Review the impact of job removals on deployment strategy.The removal of Docker image build and push jobs for various environments suggests a shift in deployment strategy. Ensure that these changes are intentional and that alternative deployment mechanisms are in place to handle these environments.
protocol/streaming/ws/websocket_server.go (2)
106-108
: Robust handling of emptysubaccountIds
.The check for an empty
subaccountIds
parameter ensures that the function returns an empty slice, preventing errors from processing empty input. This change enhances the function's robustness.
134-136
: Robust handling of emptyclobPairIds
.The check for an empty
clobPairIds
parameter ensures that the function returns an empty slice, preventing errors from processing empty input. This change enhances the function's robustness.
Changelist
Support empty params for websocket endpoint
Test Plan
Dev env
Author/Reviewer Checklist
state-breaking
label.indexer-postgres-breaking
label.PrepareProposal
orProcessProposal
, manually add the labelproposal-breaking
.feature:[feature-name]
.backport/[branch-name]
.refactor
,chore
,bug
.Summary by CodeRabbit
New Features
Bug Fixes