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

backports/v1.0: fieldfilters: fix regression with missing top-level info and add test #1883

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

willfindlay
Copy link
Contributor

[upstream commit 651fcf1]

We had a regression after some fieldfilter bug fixes and performance optimizations that caused top-level information to be missing from events when field filters are applied. The fix here is to make sure that we are setting non-event fields in the destination struct. Apply the fix and add a unit test to check for future regressions.

Backport of #1882.

Fix a regression related to field filters that could cause top-level information to be missing from events.

[upstream commit 651fcf1]

We had a regression after some fieldfilter bug fixes and performance optimizations that
caused top-level information to be missing from events when field filters are applied. The
fix here is to make sure that we are setting non-event fields in the destination struct.
Apply the fix and add a unit test to check for future regressions.

Signed-off-by: William Findlay <[email protected]>
@willfindlay willfindlay added the release-note/bug This PR fixes an issue in a previous release of Tetragon. label Dec 14, 2023
@willfindlay willfindlay requested a review from a team as a code owner December 14, 2023 17:47
@willfindlay willfindlay requested review from tixxdz and removed request for a team December 14, 2023 17:47
@willfindlay willfindlay merged commit c3bc9a0 into v1.0 Dec 14, 2023
27 checks passed
@willfindlay willfindlay deleted the backports/v1.0/1882 branch December 14, 2023 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/bug This PR fixes an issue in a previous release of Tetragon.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants