Skip to content

improvements to context severing #2370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 3, 2025
Merged

improvements to context severing #2370

merged 2 commits into from
Jun 3, 2025

Conversation

vroldanbet
Copy link
Contributor

Several improvements to the use of context-severing strategies in the codebase

@vroldanbet vroldanbet requested a review from a team as a code owner April 28, 2025 19:09
@vroldanbet vroldanbet self-assigned this Apr 28, 2025
@github-actions github-actions bot added the area/datastore Affects the storage system label Apr 28, 2025
@vroldanbet vroldanbet force-pushed the context-severing-changes branch from e93789a to 284beed Compare May 26, 2025 11:24
This helps making sure that all the values stuffed in
the context are retained without having to recreate all
of it manually
this means we keep all the different components injected
in the context intact, and we only change the cancelation propagation.
@vroldanbet vroldanbet force-pushed the context-severing-changes branch from 284beed to 5bfcb36 Compare May 26, 2025 11:25
@vroldanbet vroldanbet requested a review from ecordell May 26, 2025 11:26
Copy link

codecov bot commented May 26, 2025

Codecov Report

Attention: Patch coverage is 47.05882% with 9 lines in your changes missing coverage. Please review.

Project coverage is 74.41%. Comparing base (3431b49) to head (5bfcb36).
Report is 43 commits behind head on main.

Files with missing lines Patch % Lines
internal/datastore/context.go 43.75% 9 Missing ⚠️

❌ Your project status has failed because the head coverage (74.41%) is below the target coverage (75.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2370      +/-   ##
==========================================
- Coverage   75.52%   74.41%   -1.11%     
==========================================
  Files         479      479              
  Lines       52224    52215       -9     
==========================================
- Hits        39438    38851     -587     
- Misses      10173    10791     +618     
+ Partials     2613     2573      -40     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vroldanbet vroldanbet added this pull request to the merge queue Jun 3, 2025
Merged via the queue into main with commit 67b4f6a Jun 3, 2025
41 of 43 checks passed
@vroldanbet vroldanbet deleted the context-severing-changes branch June 3, 2025 16:08
@github-actions github-actions bot locked and limited conversation to collaborators Jun 3, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/datastore Affects the storage system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants