Skip to content
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

Enable gosec in CI, takes ~50sec so make it separate job. #738

Merged
merged 2 commits into from
Mar 28, 2020

Conversation

bogdandrutu
Copy link
Member

@codecov-io
Copy link

codecov-io commented Mar 28, 2020

Codecov Report

Merging #738 into master will increase coverage by 0.03%.
The diff coverage is 75.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #738      +/-   ##
==========================================
+ Coverage   84.58%   84.62%   +0.03%     
==========================================
  Files         162      162              
  Lines       11657    11653       -4     
==========================================
+ Hits         9860     9861       +1     
+ Misses       1396     1392       -4     
+ Partials      401      400       -1     
Impacted Files Coverage Δ
config/test_helpers.go 61.90% <0.00%> (-1.74%) ⬇️
exporter/otlpexporter/connection.go 59.01% <ø> (ø)
extension/pprofextension/pprofextension.go 64.00% <ø> (ø)
processor/attributesprocessor/attribute_hasher.go 92.85% <ø> (ø)
receiver/vmmetricsreceiver/vm_metrics_collector.go 14.17% <0.00%> (+0.31%) ⬆️
service/telemetry.go 87.65% <0.00%> (ø)
...xporter/jaeger/jaegerthrifthttpexporter/factory.go 93.93% <100.00%> (ø)
exporter/otlpexporter/exporter.go 47.31% <100.00%> (ø)
exporter/zipkinexporter/zipkin.go 79.31% <100.00%> (ø)
processor/queuedprocessor/queued_processor.go 74.52% <100.00%> (ø)
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f2ca459...ae05bc0. Read the comment docs.

@bogdandrutu bogdandrutu force-pushed the gosecbetter branch 2 times, most recently from 5710dd5 to dcf9041 Compare March 28, 2020 16:39
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
@bogdandrutu bogdandrutu merged commit 22a1c92 into open-telemetry:master Mar 28, 2020
@bogdandrutu bogdandrutu deleted the gosecbetter branch March 28, 2020 23:48
@@ -58,6 +59,7 @@ func SHA1AttributeHahser(attr *tracepb.AttributeValue) *tracepb.AttributeValue {

var hashed string
if len(val) > 0 {
// #nosec
Copy link
Member

Choose a reason for hiding this comment

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

I recommend adding explanations in the comments. In the case of unsafe pointer above it's more obvious, but not here.

MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
* Remove the push controller named Meter map

* Checkpoint

* Remove Provider impls

* Add a test

* Expose Provider() getter instead of implementing the interface
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
Troels51 pushed a commit to Troels51/opentelemetry-collector that referenced this pull request Jul 5, 2024
swiatekm pushed a commit to swiatekm/opentelemetry-collector that referenced this pull request Oct 9, 2024
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.

Adding stricter linters
5 participants