-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
Revert "🤖 Merge PR #49622 [analytics-node] Correct message callback t… #58654
Revert "🤖 Merge PR #49622 [analytics-node] Correct message callback t… #58654
Conversation
…sage callback type by @nicklasmoeller" This reverts commit 8260410.
@benjaminhoffman Thank you for submitting this PR! I see this is your first time submitting to DefinitelyTyped 👋 — I'm the local bot who will help you through the process of getting things through. This is a live comment which I will keep updated. 1 package in this PRCode ReviewsBecause you edited one package and updated the tests (👏), I can help you merge this PR once someone else signs off on it. You can test the changes of this PR in the Playground. Status
Once every item on this list is checked, I'll ask you for permission to merge and publish the changes. InactiveThis PR has been inactive for 31 days — it is considered abandoned, and therefore closed! Diagnostic Information: What the bot saw about this PR{
"type": "info",
"now": "-",
"pr_number": 58654,
"author": "benjaminhoffman",
"headCommitOid": "efcbfc6cb8fc18484963b6452a7b9af2f35ba0a7",
"mergeBaseOid": "9302ea3a51bf1308d87353ce51fa2cca7d30d5de",
"lastPushDate": "2022-02-08T04:22:09.000Z",
"lastActivityDate": "2022-03-10T04:22:21.000Z",
"hasMergeConflict": true,
"isFirstContribution": true,
"tooManyFiles": false,
"hugeChange": false,
"popularityLevel": "Popular",
"pkgInfo": [
{
"name": "analytics-node",
"kind": "edit",
"files": [
{
"path": "types/analytics-node/analytics-node-tests.ts",
"kind": "test"
},
{
"path": "types/analytics-node/index.d.ts",
"kind": "definition"
}
],
"owners": [
"fongandrew",
"thomasthiebaud"
],
"addedOwners": [],
"deletedOwners": [],
"popularityLevel": "Popular"
}
],
"reviews": [
{
"type": "approved",
"reviewer": "RyanCavanaugh",
"date": "2022-03-10T04:22:21.000Z",
"isMaintainer": true
}
],
"mainBotCommentID": 1032202278,
"ciResult": "pass"
} |
🔔 @fongandrew @thomasthiebaud — please review this PR in the next few days. Be sure to explicitly select |
Re-ping @fongandrew, @thomasthiebaud: This PR has been out for over a week, yet I haven't seen any reviews. Could someone please give it some attention? Thanks! |
It has been more than two weeks and this PR still has no reviews. I'll bump it to the DT maintainer queue. Thank you for your patience, @benjaminhoffman. (Ping @fongandrew, @thomasthiebaud.) |
Hi @benjaminhoffman. Thanks for tagging me. As you probably noticed, it landed in segmentio/analytics-node@f5a1385 and still hasn't reached a release yet. However, when it does, this definitely makes sense to get merged in. Your tests in #49622 (comment) may have been due to the callback from your message methods (e.g. through You may be seeing this behavior since the first message in the queue would bind its callback to the flush callback in a good handful of scenarios:
Hence, what you're seeing, should be the callback provided to the I acknowledge that it doesn't feel super transparent what's going on, but I hope that the explanation clears things up a bit for you. I'd say that the changes live up to the current situation of the TLDR; This covers unreleased code, but once Segment decides to release their next version after 6.0.0, these changes are 👍 cc maintainers @fongandrew and @thomasthiebaud |
@nicklasmoeller I agree! ... and came to a similar conclusion after submitting this change. I figured Segment would release soon but I guess not. 🤷 Would also love if there was a type for the flush prop, as seen here in this example. |
I'm going to approve and the bot is going to ask you to merge, but I'll ask that you hold off on merging until the upstream change is live. If this PR times out you might end up needing to re-open it, unfortunately - the automation 'round these parts isn't set up for that sort of situation. |
Re-ping @benjaminhoffman / @fongandrew, @thomasthiebaud: This PR has been ready to merge for over a week, and I haven't seen any requests to merge it. I will close it on Apr 9th (in three weeks) if this doesn't happen. (If there's no reason to avoid merging it, please do so. Otherwise, if it shouldn't be merged or if it needs more time, please close it or turn it into a draft.) |
@benjaminhoffman Unfortunately, this pull request currently has a merge conflict 😥. Please update your PR branch to be up-to-date with respect to master. Have a nice day! |
@benjaminhoffman I haven't seen any activity on this PR in more than three weeks, and it still has problems that prevent it from being merged. The PR will be closed on Apr 9th (in a week) if the issues aren't addressed. |
@benjaminhoffman To keep things tidy, we have to close PRs that aren't mergeable and don't have activity in the last month. No worries, though — please open a new PR if you'd like to continue with this change. Thank you! |
…ype by @nicklasmoeller"
This reverts commit 8260410.
For context, see here:
cc @nicklasmoeller
Please fill in this template.
npm test <package to test>
.Select one of these and delete the others:
If adding a new definition:
.d.ts
files generated via--declaration
dts-gen --dt
, not by basing it on an existing project.tslint.json
should contain{ "extends": "@definitelytyped/dtslint/dt.json" }
, and no additional rules.tsconfig.json
should havenoImplicitAny
,noImplicitThis
,strictNullChecks
, andstrictFunctionTypes
set totrue
.If changing an existing definition:
If removing a declaration:
notNeededPackages.json
.