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

Fix Analyze Org Data Race #198

Merged
merged 3 commits into from
Aug 26, 2024
Merged

Conversation

SUSTAPLE117
Copy link
Contributor

@SUSTAPLE117 SUSTAPLE117 commented Aug 21, 2024

Reworked analyze org to fix data race when accumulating scanned packages in the inventory to then proceed to the finalization of the analysis. Fixes #195

Also reworked opa initialization. We initialize the opa compiler only once instead of every time the evaluation is called.

…er the instance is created and the config is loaded instead of on every eval call
…ages in the inventory to then proceed to the finalization of the analysis
@SUSTAPLE117 SUSTAPLE117 marked this pull request as ready for review August 21, 2024 17:55
@SUSTAPLE117 SUSTAPLE117 requested a review from a team as a code owner August 21, 2024 17:55
@fproulx-boostsecurity fproulx-boostsecurity merged commit 42eb8de into main Aug 26, 2024
8 checks passed
@fproulx-boostsecurity fproulx-boostsecurity deleted the maint/fixAnalyzeOrgDataRace branch August 26, 2024 15:44
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.

Goroutine data race
2 participants