Skip to content

Conversation

@ekoops
Copy link
Contributor

@ekoops ekoops commented Oct 24, 2025

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

/kind test

/kind feature

/kind sync

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area API-version

/area build

/area CI

/area driver-kmod

/area driver-bpf

/area driver-modern-bpf

/area libscap-engine-bpf

/area libscap-engine-gvisor

/area libscap-engine-kmod

/area libscap-engine-modern-bpf

/area libscap-engine-nodriver

/area libscap-engine-noop

/area libscap-engine-source-plugin

/area libscap-engine-savefile

/area libscap

/area libpman

/area libsinsp

/area tests

/area proposals

Does this PR require a change in the driver versions?

/version driver-API-version-major

/version driver-API-version-minor

/version driver-API-version-patch

/version driver-SCHEMA-version-major

/version driver-SCHEMA-version-minor

/version driver-SCHEMA-version-patch

What this PR does / why we need it:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

/milestone 0.23.0

Does this PR introduce a user-facing change?:

NONE

Add `<filename>:<linenumber> |` prefix to `assert_event_presence()`
assertions and exception messages, and make the new signature
ergonomic by introducing a new `ASSERT_EVENT_PRESENCE()` macro.

Signed-off-by: Leonardo Di Giovanna <[email protected]>
@poiana poiana added this to the 0.23.0 milestone Oct 24, 2025
@poiana poiana added kind/test PRs increasing the test coverage without fixing any failing test dco-signoff: yes area/tests labels Oct 24, 2025
@poiana
Copy link
Contributor

poiana commented Oct 24, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ekoops

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@codecov
Copy link

codecov bot commented Oct 24, 2025

Codecov Report

❌ Patch coverage is 97.55102% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 76.94%. Comparing base (0376a8f) to head (726abd8).

Files with missing lines Patch % Lines
...serspace/libsinsp/test/scap_files/scap_file_test.h 66.66% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2703      +/-   ##
==========================================
+ Coverage   76.91%   76.94%   +0.02%     
==========================================
  Files         294      294              
  Lines       30862    30897      +35     
  Branches     4689     4693       +4     
==========================================
+ Hits        23739    23774      +35     
  Misses       7123     7123              
Flag Coverage Δ
libsinsp 76.94% <97.55%> (+0.02%) ⬆️

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ekoops ekoops force-pushed the ekoops/scap-file-tests branch 2 times, most recently from f8f8b93 to 52483fa Compare October 24, 2025 14:16
Signed-off-by: Leonardo Di Giovanna <[email protected]>
@ekoops ekoops force-pushed the ekoops/scap-file-tests branch from 52483fa to 726abd8 Compare October 24, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants