Repository navigation
fix: resolve Medium SonarCloud findings - #549
Draft
arjun-rajappa wants to merge 1 commit into
Draft
arjun-rajappa wants to merge 1 commit into
arjun-rajappa wants to merge 1 commit into
Conversation
Prefix unused parameters, raise explicit exception classes, fill empty rescue blocks, use find instead of each, and remove duplicated method bodies. Also uppercase Dockerfile AS, send download.sh errors to stderr, simplify the Slack announce regexes, and pin its pip dependencies. No behavior change intended. Signed-off-by: Arjun Rajappa <arjun.rajappa@ibm.com>
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.
Why
Clears the open Medium-severity SonarCloud findings on
masterso the quality gate reports only issues that need a decision.What
raisecalls now raise explicit exception classes (S7815).rescueblocks in tests rescueStandardErrorand carry a comment (S108).eachwith an early return is replaced byfind/none?, and the nestedifin span filtering is merged (S7840, S1066).action_view.rbandtracer_provider_test.rb(S4144).excon.rbandprocessor.rbare reworded as notes (S1134).bin/aws-lambda/Dockerfileuses uppercaseAS(S6476).download.shsends error messages to stderr (S7677).announce_release_on_slack.pyare simplified (S6035, S6397, S8786).httpxandPyGithuband installs binary wheels only (S8541, S8544).gem installlines in the Lambda Dockerfile (S8547), because pinning versions needs a decision.No behavior change intended.
References
instana_ruby-sensor, branchmaster