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

feat: onConnect w/ controller #3028

Closed
wants to merge 6 commits into from
Closed

feat: onConnect w/ controller #3028

wants to merge 6 commits into from

Conversation

ronag
Copy link
Member

@ronag ronag commented Mar 31, 2024

Part of a larger overhauld of hooks. This on is not breaking and can therefore land earlier.

This relates to...

Rationale

Changes

Features

Bug Fixes

Breaking Changes and Deprecations

Status

@codecov-commenter
Copy link

codecov-commenter commented Mar 31, 2024

Codecov Report

Attention: Patch coverage is 95.58011% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 93.55%. Comparing base (7d2d94e) to head (66db9c2).
Report is 1 commits behind head on main.

Files Patch % Lines
lib/mock/mock-utils.js 92.72% 4 Missing ⚠️
lib/core/request.js 95.08% 3 Missing ⚠️
lib/api/abort-signal.js 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3028      +/-   ##
==========================================
- Coverage   93.56%   93.55%   -0.02%     
==========================================
  Files          89       89              
  Lines       24301    24424     +123     
==========================================
+ Hits        22737    22849     +112     
- Misses       1564     1575      +11     

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

test/node-test/client-dispatch.js Outdated Show resolved Hide resolved
Part of a larger overhauld of hooks. This on is not breaking and can
therefore land earlier.
Copy link
Member

@metcoder95 metcoder95 left a comment

Choose a reason for hiding this comment

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

LGTM, shall we document it and add types for it?

lib/core/request.js Outdated Show resolved Hide resolved
@ronag ronag force-pushed the on-start branch 6 times, most recently from 91b0f26 to 3d331a2 Compare April 3, 2024 13:23
@ronag
Copy link
Member Author

ronag commented Apr 3, 2024

Updated according to feedback from @BridgeAR

@ronag ronag changed the title feat: add onStart hook feat: onConnect w/ controller Apr 3, 2024
@ronag ronag marked this pull request as draft April 3, 2024 15:02
@ronag ronag marked this pull request as ready for review April 3, 2024 15:15
@ronag ronag force-pushed the on-start branch 12 times, most recently from dc978ac to 41dc118 Compare April 3, 2024 16:23
@ronag ronag force-pushed the on-start branch 6 times, most recently from ab0766f to 714d50f Compare April 3, 2024 20:51
@ronag ronag marked this pull request as draft April 4, 2024 07:00
@ronag ronag marked this pull request as ready for review April 4, 2024 10:20
@ronag
Copy link
Member Author

ronag commented Apr 4, 2024

Closing in favour of #3051

@ronag ronag closed this Apr 4, 2024
@Uzlopak Uzlopak deleted the on-start branch April 7, 2024 05:46
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.

None yet

4 participants