Skip to content

Introduce AddPerfdata to PartialResult to ensure concurrency-safety#162

Merged
martialblog merged 8 commits into
mainfrom
partialresult-perfdata
Jun 29, 2026
Merged

Introduce AddPerfdata to PartialResult to ensure concurrency-safety#162
martialblog merged 8 commits into
mainfrom
partialresult-perfdata

Conversation

@martialblog

Copy link
Copy Markdown
Member

While reviewing the code with @christoph2497 I noticed the PartialResults Perfdatalist was exposed as a public attribute, with our new design that is not concurrency-safe.

To fix it I introduced an AddPerfdata on the PartialResults.

@martialblog martialblog added this to the v1.0.0 milestone Jun 25, 2026
@martialblog martialblog self-assigned this Jun 25, 2026
@martialblog martialblog marked this pull request as ready for review June 25, 2026 12:40

@RincewindsHat RincewindsHat left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

make sense.
should all the other attributes of PartialResult receive the same treatment?

Comment thread result/partialResult.go Outdated
Comment thread result/overall.go
Comment thread result/partialResult.go
@martialblog martialblog merged commit 04bfbf9 into main Jun 29, 2026
2 checks passed
@martialblog martialblog deleted the partialresult-perfdata branch June 29, 2026 10:42
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.

2 participants