Skip to content

Fix failing appsec tests on pipeline#2874

Merged
Anilm3 merged 5 commits intomasterfrom
estringana/fix-appsec-tests
Oct 4, 2024
Merged

Fix failing appsec tests on pipeline#2874
Anilm3 merged 5 commits intomasterfrom
estringana/fix-appsec-tests

Conversation

@estringana
Copy link
Copy Markdown
Contributor

Description

Reviewer checklist

  • Test coverage seems ok.
  • Appropriate labels assigned.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.35%. Comparing base (bb96a53) to head (2b7daba).

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2874      +/-   ##
============================================
- Coverage     80.91%   78.35%   -2.56%     
  Complexity     2526     2526              
============================================
  Files           146      173      +27     
  Lines         14711    18742    +4031     
  Branches          0      976     +976     
============================================
+ Hits          11903    14686    +2783     
- Misses         2808     3519     +711     
- Partials          0      537     +537     
Flag Coverage Δ
appsec-extension 69.08% <100.00%> (?)
tracer-extension 78.10% <ø> (ø)
tracer-php 82.07% <ø> (-0.02%) ⬇️

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

Files with missing lines Coverage Δ
appsec/src/extension/helper_process.c 62.23% <100.00%> (ø)

... and 27 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 bb96a53...2b7daba. Read the comment docs.

@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented Oct 4, 2024

Benchmarks [ appsec ]

Benchmark execution time: 2024-10-04 19:34:27

Comparing candidate commit 2b7daba in PR branch estringana/fix-appsec-tests with baseline commit bb96a53 in branch master.

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

@estringana estringana force-pushed the estringana/fix-appsec-tests branch from c3aa174 to 916748b Compare October 4, 2024 13:36
Copy link
Copy Markdown
Collaborator

@bwoebi bwoebi left a comment

Choose a reason for hiding this comment

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

Yep, that's right. We missed that due to CircleCI only running appsec tests if appsec files actually change...

@Anilm3 Anilm3 marked this pull request as ready for review October 4, 2024 19:37
@Anilm3 Anilm3 requested review from a team as code owners October 4, 2024 19:37
@Anilm3 Anilm3 merged commit c1fd94c into master Oct 4, 2024
@Anilm3 Anilm3 deleted the estringana/fix-appsec-tests branch October 4, 2024 19:45
@github-actions github-actions Bot added this to the 1.4.0 milestone Oct 4, 2024
@estringana
Copy link
Copy Markdown
Contributor Author

Yep, that's right. We missed that due to CircleCI only running appsec tests if appsec files actually change...

That's an interesting point. The pipeline is still failing(https://app.circleci.com/pipelines/github/DataDog/dd-trace-php/17765/workflows/2032cd3f-dccf-4421-a563-45c35b9354e6/jobs/5318766 and a few more). Should we run appsec always? We have many functionality depending on the tracer so tecnically any change to the tracer can break appsec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants