Skip to content

Conversation

@shekhirin
Copy link
Collaborator

@shekhirin shekhirin commented Nov 6, 2025

  1. Adds tests for StaticFileSegment string and serde roundtrips that are used in filenames and segment headers
  2. Removes unneeded strum(serialize = "...") attributes

@shekhirin shekhirin added C-test A change that impacts how or what we test A-static-files Related to static files labels Nov 6, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Reth Tracker Nov 6, 2025
@shekhirin shekhirin force-pushed the alexey/static-file-segment-strings branch 2 times, most recently from fa42d49 to d6087a1 Compare November 6, 2025 20:53
@shekhirin shekhirin force-pushed the alexey/static-file-segment-strings branch from d6087a1 to 3603857 Compare November 6, 2025 20:56
@shekhirin shekhirin marked this pull request as ready for review November 6, 2025 21:18
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

lgtm, 1 q re comment

Comment on lines 43 to 44
// `strum` doesn't generate a comment for `into_str` when using `IntoStaticStr` derive
// macro, so we need to manually implement it.
Copy link
Collaborator

Choose a reason for hiding this comment

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

what does generate a comment mean?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

a doc comment, so the clippy is reporting a warning

afaik there's no way to silence missing_docs just for one method, and i don't want to silence it for the whole file

Copy link
Collaborator

Choose a reason for hiding this comment

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

ahhh

@github-project-automation github-project-automation bot moved this from Backlog to In Progress in Reth Tracker Nov 6, 2025
@shekhirin shekhirin enabled auto-merge November 6, 2025 22:19
@shekhirin shekhirin added this pull request to the merge queue Nov 6, 2025
Merged via the queue into main with commit 3385ec5 Nov 6, 2025
42 checks passed
@shekhirin shekhirin deleted the alexey/static-file-segment-strings branch November 6, 2025 22:49
@github-project-automation github-project-automation bot moved this from In Progress to Done in Reth Tracker Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-static-files Related to static files C-test A change that impacts how or what we test

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants