Skip to content

[V2] Clean up#1733

Merged
aphralG merged 4 commits into
dev-v2from
clean-up-dev-v2
Jun 23, 2026
Merged

[V2] Clean up#1733
aphralG merged 4 commits into
dev-v2from
clean-up-dev-v2

Conversation

@aphralG

@aphralG aphralG commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Proposed changes

Clean up for dev-v2

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

@aphralG aphralG self-assigned this Jun 15, 2026
@aphralG aphralG requested a review from a team as a code owner June 15, 2026 11:04
@github-actions github-actions Bot added chore Pull requests for routine tasks dependencies labels Jun 15, 2026
@@ -62,6 +64,8 @@ func (grpcService *MetricsGrpcService) StreamEvents(stream proto.MetricsService_
}

func (grpcService *MetricsGrpcService) GetMetrics() []*proto.MetricsReport {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

thought: I believe there is a possibility of race condition if grpcService.reports is not immutable after creation or if callers can modify grpcService.reports. If this is not the case, then we are safe. 👍

@aphralG aphralG merged commit 9328013 into dev-v2 Jun 23, 2026
32 checks passed
@aphralG aphralG deleted the clean-up-dev-v2 branch June 23, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Pull requests for routine tasks dependencies

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants