| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
It's useful (or at least I think it is!) in PRs to increase code coverage to include a Refs: line showing what you are adding coverage for. For example: Refs: https://coverage.nodejs.org/coverage-7123a00b03a90862/lib/internal/cluster/round_robin_handle.js.html#L85 Following that link will highlight line 85 of round_robin_handle.js which is currently not covered. Putting that at the end of the commit message would be great. |
Sorry, something went wrong.
Perfect! Just added it to the PR, should I add it to the commit as well? |
Sorry, something went wrong.
FWIW these are not permanent links -- we do not have the disk space to contain coverage data indefinitely. |
Sorry, something went wrong.
I think adding them to the PR is enough. The commit will end up having a link to the PR anyway. And as Richard Lau pointed out, these links are not permanent, so it's probably fine to not have them in the commit message, contrary to my earlier suggestion. |
Sorry, something went wrong.
Signed-off-by: Erick Wendel <erick.workspace@gmail.com>
There was a problem hiding this comment.
nice work!
Sorry, something went wrong.
Sorry, something went wrong.
| (async () => { | ||
| const worker = new Worker('setInterval(() => {}, 1000);', { eval: true }); | ||
| await once(worker, 'online'); | ||
| const stream = await worker.getHeapSnapshot(); |
There was a problem hiding this comment.
Hope this one isn't flaky like the other one
Sorry, something went wrong.
There was a problem hiding this comment.
@benjamingr @Trott which one was that? I was talking with @ErickWendel today and I might have some idea of what the problem was/is
Sorry, something went wrong.
There was a problem hiding this comment.
Looks like it was already fixed #41204 ?
Sorry, something went wrong.
There was a problem hiding this comment.
Hm, that test is actually very very similar to this one. That also means that I’m wrong about having an idea about the cause of the flakiness :)
Sorry, something went wrong.
PR-URL: nodejs#41818 Refs: https://coverage.nodejs.org/coverage-7123a00b03a90862/lib/internal/worker.js.html#L412 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: nodejs#41818 Refs: https://coverage.nodejs.org/coverage-7123a00b03a90862/lib/internal/worker.js.html#L412 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
Added the dont-land-onv17.x label due to this tests failing on debug builds. See: #42072 (comment) |
Sorry, something went wrong.
PR-URL: #41818 Refs: https://coverage.nodejs.org/coverage-7123a00b03a90862/lib/internal/worker.js.html#L412 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #41818 Refs: https://coverage.nodejs.org/coverage-7123a00b03a90862/lib/internal/worker.js.html#L412 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
PR-URL: #41818 Refs: https://coverage.nodejs.org/coverage-7123a00b03a90862/lib/internal/worker.js.html#L412 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
I had to remove this commit from v16.x-staging as the test crashes there in debug mode. Probably a bug in V8. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
It adds tests for the worker getHeadSnapshot function and assignEnvironmentData
Refs: lib/internal/worker.js.html#L412 and lib/internal/worker.js.html#L114