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

Ensure the permissions of the log file are actually really 0666 #2528

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

bwoebi
Copy link
Collaborator

@bwoebi bwoebi commented Feb 21, 2024

Description

We should probably ensure the sidecar doesn't fail spawning if the permissions of the log file don't match.

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@codecov-commenter
Copy link

codecov-commenter commented Feb 22, 2024

Codecov Report

Merging #2528 (a034ff8) into master (b25dc1e) will decrease coverage by 2.21%.
The diff coverage is 33.33%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2528      +/-   ##
============================================
- Coverage     78.75%   76.55%   -2.21%     
  Complexity      267      267              
============================================
  Files           112      138      +26     
  Lines         13482    17459    +3977     
  Branches          0      976     +976     
============================================
+ Hits          10618    13365    +2747     
- Misses         2864     3574     +710     
- Partials          0      520     +520     
Flag Coverage Δ
appsec-extension 69.09% <ø> (?)
tracer-extension 78.70% <33.33%> (-0.02%) ⬇️
tracer-integrations 79.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Coverage Δ
ext/logging.c 72.72% <33.33%> (-1.11%) ⬇️

... and 26 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

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

@pr-commenter
Copy link

pr-commenter bot commented Feb 22, 2024

Benchmarks

Benchmark execution time: 2024-02-22 15:26:24

Comparing candidate commit a034ff8 in PR branch bob/umask-log-file with baseline commit b25dc1e in branch master.

Found 0 performance improvements and 2 performance regressions! Performance is the same for 180 metrics, 0 unstable metrics.

scenario:PDOBench/benchPDOOverhead-opcache

  • 🟥 execution_time [+14.408µs; +15.902µs] or [+5.011%; +5.531%]

scenario:PDOBench/benchPDOOverheadWithDBM-opcache

  • 🟥 execution_time [+14.528µs; +16.972µs] or [+4.595%; +5.368%]

Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
@bwoebi bwoebi marked this pull request as ready for review February 22, 2024 14:01
@bwoebi bwoebi requested a review from a team as a code owner February 22, 2024 14:01
Copy link
Contributor

@PROFeNoM PROFeNoM left a comment

Choose a reason for hiding this comment

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

AGTM! Let's just note that this test segfaults, but I'd surprised if this came with this PR.

@bwoebi bwoebi merged commit ab2dd7d into master Feb 22, 2024
591 of 594 checks passed
@bwoebi bwoebi deleted the bob/umask-log-file branch February 22, 2024 15:51
@github-actions github-actions bot added this to the 0.99.0 milestone Feb 22, 2024
bwoebi added a commit that referenced this pull request Mar 4, 2024
Signed-off-by: Bob Weinand <bob.weinand@datadoghq.com>
@bwoebi bwoebi modified the milestones: 0.99.0, 0.98.1 Mar 4, 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.

None yet

3 participants