Skip to content
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

Respect other extensions' ExecutorStart hooks #7712

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

zilder
Copy link
Contributor

@zilder zilder commented Feb 14, 2025

A fix for #7667.

When we override ExecutorStart hook that has been set by another extension we have to chain-call it not to disrupt other extension's integrity.

Copy link

@akuzm, @svenklemm: please review this pull request.

Powered by pull-review

@github-actions github-actions bot requested a review from akuzm February 14, 2025 14:46
When we override ExecutorStart hook that has been set by another
extension we have to chain-call it not to disrupt other extension's
integrity.
@zilder zilder force-pushed the zilder/chain_executor_start_hook branch from ccac202 to 34fa509 Compare February 14, 2025 14:49
@zilder
Copy link
Contributor Author

zilder commented Feb 14, 2025

Similar to #7694

@zilder zilder requested a review from mkindahl February 14, 2025 14:56
Copy link
Contributor

@mkindahl mkindahl left a comment

Choose a reason for hiding this comment

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

Strictly speaking, you do not need two variables for this, but patch looks good so approved.

Copy link

codecov bot commented Feb 14, 2025

Codecov Report

Attention: Patch coverage is 71.42857% with 2 lines in your changes missing coverage. Please review.

Project coverage is 81.93%. Comparing base (59f50f2) to head (34fa509).
Report is 764 commits behind head on main.

Files with missing lines Patch % Lines
tsl/src/hypercore/attr_capture.c 71.42% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7712      +/-   ##
==========================================
+ Coverage   80.06%   81.93%   +1.86%     
==========================================
  Files         190      246      +56     
  Lines       37181    45120    +7939     
  Branches     9450    11256    +1806     
==========================================
+ Hits        29770    36970    +7200     
- Misses       2997     3732     +735     
- Partials     4414     4418       +4     

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants