Skip to content

[chore]: enable fatcontext linter#13445

Merged
mx-psi merged 2 commits into
open-telemetry:mainfrom
mmorel-35:fatcontext
Jul 24, 2025
Merged

[chore]: enable fatcontext linter#13445
mx-psi merged 2 commits into
open-telemetry:mainfrom
mmorel-35:fatcontext

Conversation

@mmorel-35
Copy link
Copy Markdown
Contributor

Description

Enable and fixes fatcontext linter

@codecov
Copy link
Copy Markdown

codecov Bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.39%. Comparing base (84e2995) to head (c048e9c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #13445      +/-   ##
==========================================
- Coverage   91.44%   91.39%   -0.06%     
==========================================
  Files         532      532              
  Lines       29537    29537              
==========================================
- Hits        27010    26994      -16     
- Misses       1997     2009      +12     
- Partials      530      534       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mmorel-35 mmorel-35 marked this pull request as ready for review July 21, 2025 18:02
@mmorel-35 mmorel-35 requested a review from a team as a code owner July 21, 2025 18:02
@mmorel-35 mmorel-35 requested a review from mx-psi July 21, 2025 18:02
@mmorel-35 mmorel-35 force-pushed the fatcontext branch 4 times, most recently from 7139f24 to 29ad3a1 Compare July 22, 2025 06:08
Comment thread config/configgrpc/configgrpc_test.go Outdated

// test
err := enhanceStreamWithClientInformation(false)(nil, stream, nil, handler)
err := enhanceStreamWithClientInformation(false)(nil, stream, nil, handler(t))
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.

Should we ensure the handler is indeed executed?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I ran it locally and the assertion in the handler is indeed executed.

Do you mean adding another assertion ?

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.

Yes, I mean a check within the test that fails if the handler isn't executed somehow.

@mmorel-35 mmorel-35 force-pushed the fatcontext branch 2 times, most recently from 6b494ef to 9faff6d Compare July 23, 2025 05:54
@mmorel-35 mmorel-35 requested a review from dmathieu July 23, 2025 05:55
@mx-psi
Copy link
Copy Markdown
Member

mx-psi commented Jul 23, 2025

Can you fix the spellcheck?

@mmorel-35
Copy link
Copy Markdown
Contributor Author

Can you fix the spellcheck?

None of them are related to the modifications in this PR.
It seems like #13434 was not sufficient to fix it

Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
@mx-psi mx-psi added this pull request to the merge queue Jul 24, 2025
Merged via the queue into open-telemetry:main with commit 51bff5f Jul 24, 2025
55 of 56 checks passed
@mmorel-35 mmorel-35 deleted the fatcontext branch July 24, 2025 12:17
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