Skip to content

Adding goleak for fixing goroutine leaks in KubeArmor #1910

@Manik2708

Description

@Manik2708

Feature Request

Short Description

Managing Go-Routines is critical and can lead to performance issues if too many go routines are leaked. So adding uber/goleak to tests would be benificial in enhancing the performance of KubeArmor.

Is your feature request related to a problem? Please describe the use case.

It can indeed become a problem when KubeArmor will become more complex and big, like for many CNCF projects (jaeger etc)

Describe the solution you'd like

We can start by integrating our tests with go-leak and ofcourse there would be some leakages, if they are inevetable then we can create a script to ignore goleak in those components otherwise fix them!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions