Skip to content

Conversation

@StephenButtolph
Copy link
Contributor

Why this should be merged

  1. Removes unused variables
  2. Documents what the remaining variables represent

How this works

These variables are unused 🧹.

How this was tested

CI

Need to be documented in RELEASES.md?

Copilot AI review requested due to automatic review settings June 2, 2025 20:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR improves inline documentation for message operation categorization and removes unused variable arrays. The key changes include updating the comment for adding new parseable Ops and removing several unused collections (e.g. HandshakeOps, ConsensusRequestOps).

Comments suppressed due to low confidence (2)

message/ops.go:18

  • Consider expanding this comment to briefly explain the criteria for choosing between 'UnrequestedOps' and 'FailedToResponseOps' to aid future maintainers.
// Note: If you add a new parseable Op below, you must add it to either UnrequestedOps or FailedToResponseOps.

message/ops.go:68

  • Add a short note clarifying the purpose of using set.Of for the UnrequestedOps grouping and confirm that this approach aligns with project conventions for handling collections.
UnrequestedOps = set.Of(

@StephenButtolph StephenButtolph requested review from a team and DracoLi and removed request for a team June 2, 2025 20:54
@maru-ava maru-ava added this pull request to the merge queue Jun 3, 2025
Merged via the queue into master with commit 0d740bf Jun 3, 2025
28 checks passed
@maru-ava maru-ava deleted the remove-dead-code-and-codument branch June 3, 2025 09:19
@github-project-automation github-project-automation bot moved this to Done 🎉 in avalanchego Jun 3, 2025
samliok pushed a commit that referenced this pull request Jun 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants