Skip to content

Conversation

@michaeldjeffrey
Copy link
Contributor

@michaeldjeffrey michaeldjeffrey commented Jan 28, 2026

When you have multiple file_info_pollers running and one of them may be misconfigured, it is difficult to tell from (usually) the ListObjectsV2Error which poller is failing.

This PR adds the bucket and file key or prefix for the operation that was being attempted.

  • clippy.toml has been removed now that we no longer handle tonic err variants in file-store.
  • Box AwsError to keep from tripping clippy:result_large_err for a variant that is 216 bytes with the new information.

When you have multiple file_info_pollers running and one of them may be
misconfigured, it is difficult to tell from (usually) the
`ListObjectsV2Error` which poller is failing. 

This PR adds the bucket and file key or prefix for the operation that
was being attempted.

Adding the extra information bumps the Err size to 216 bytes, so we box
it to keep from tripping clippy’s `result_large_err` lint.
We no longer have to deal with tonic’s large err variants in file-store.
So we can remove this allowance.
@michaeldjeffrey michaeldjeffrey force-pushed the mj/file-store-aws-err-info branch from d1d3541 to 13da6bd Compare January 28, 2026 22:33
Even though this will go away soon
@michaeldjeffrey michaeldjeffrey force-pushed the mj/file-store-aws-err-info branch from 385481b to 7e20fae Compare January 28, 2026 23:12
@michaeldjeffrey michaeldjeffrey merged commit 2807216 into main Jan 29, 2026
31 checks passed
@michaeldjeffrey michaeldjeffrey deleted the mj/file-store-aws-err-info branch January 29, 2026 18:29
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.

3 participants