Skip to content

Conversation

@RafikFarhad
Copy link

@RafikFarhad RafikFarhad commented Oct 10, 2025

Pulled the latest upstream to sync our repo with them.

Jiahui-Zhang-20 and others added 16 commits December 19, 2023 13:02
getsentry#74)

* refactor pod enhancer so all workload resource types are used

* refactor enhancer to process non-pod objects

* use object caching through informer indexers

* refactoring enhancer code

* use constant instead of string literal
* create test for findObject

* add unit tests for DsnClientMapping methods

* add unit tests for sentry_dsn_data
* fix fingerprinting and common enhancer call

* refactor enhancers
* add unit tests for crons_monitor_data

* Update crons_monitor_data.go

Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>

---------

Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
* add tests for root owners finding

* linting
* update README with new features

* Update README.md

Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>

* Update README.md

Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>

---------

Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
* update README with new features

* update test to prevent regression

* linting

* change README back to avoid conflict
---------

Co-authored-by: Anton Ovchinnikov <anton@tonyo.info>
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.17.0 to 0.23.0.
- [Commits](golang/net@v0.17.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…etsentry#89)

Bumps google.golang.org/protobuf from 1.29.1 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@kodem-security
Copy link

kodem-security bot commented Oct 10, 2025

Kodem Security Scan Summary

Status Check Issues by Severity Link
⚠️ Warning Code Weakness Security Report 🟧 M: 2    Link to Check

@kodem-security
Copy link

kodem-security bot commented Oct 10, 2025

Kodem Security Scan Summary

Status Check Issues by Severity Link
✅ Passed Open Source Security Report Link to Check

// The job is not owned by a cronJob
if !ok {
owner := pod.OwnerReferences[0]
sentryEvent.Fingerprint = append(sentryEvent.Fingerprint, owner.Kind, podName)
Copy link
Author

Choose a reason for hiding this comment

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

@rajesh-dhakad reading the code, I don't find it is actually needed in the prod. Maybe we added this for testing independent pod while developing/testing?

Copy link
Collaborator

Choose a reason for hiding this comment

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

it was part of util itself - we didn't touch this.

Copy link
Author

Choose a reason for hiding this comment

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

yeah, the diff here between this master and upstream master is showing change on this line 111

KindCronjob string = "CronJob"
KindReplicaset string = "ReplicaSet"
KindDeployment string = "Deployment"
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nice.

Copy link
Collaborator

@rajesh-dhakad rajesh-dhakad left a comment

Choose a reason for hiding this comment

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

LGTM

Refactor ownerRef

Add owner_ref for each root
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.

7 participants