Skip to content

src: avoid std::make_unique - #20386

Closed
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:no-make-unique
Closed

src: avoid std::make_unique#20386
addaleax wants to merge 1 commit into
nodejs:masterfrom
addaleax:no-make-unique

Conversation

@addaleax

Copy link
Copy Markdown
Member

Work around nodejs/build#1254, which
effectively breaks stress test CI and CITGM, by avoiding
std::make_unique for now.

This workaround should be reverted once that issue is resolved.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Work around nodejs/build#1254, which
effectively breaks stress test CI and CITGM, by avoiding
`std::make_unique` for now.
This workaround should be reverted once that issue is resolved.
Refs: nodejs/build#1254
@addaleaxaddaleax added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. fast-track PRs that do not need to wait for 48 hours to land. labels Apr 28, 2018
@nodejs-github-botnodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. labels Apr 28, 2018
@addaleax

Copy link
Copy Markdown
MemberAuthor

Wasn’t sure about whether to open this PR, but I have no idea how soon the build issue is resolved and I think we want at least CITGM to be available for now – please 👍 this comment if you agree with fast-tracking.

CI: https://ci.nodejs.org/job/node-test-pull-request/14570/

@addaleax

addaleax commented Apr 28, 2018

Copy link
Copy Markdown
MemberAuthor

Here’s a re-run of the stress test CI that I originally wanted to run, to be sure:

Stress CI (master): https://ci.nodejs.org/job/node-stress-single-test/1827/
Stress CI (this PR): https://ci.nodejs.org/job/node-stress-single-test/1828/

@BridgeARBridgeAR added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Apr 29, 2018
@addaleax

Copy link
Copy Markdown
MemberAuthor

Landed in 283a967

@addaleax
addaleax deleted the no-make-unique branch April 29, 2018 21:46
addaleax added a commit that referenced this pull request Apr 29, 2018
Work around nodejs/build#1254, which
effectively breaks stress test CI and CITGM, by avoiding
`std::make_unique` for now.
This workaround should be reverted once that issue is resolved.
Refs: nodejs/build#1254
PR-URL: #20386
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
MylesBorins pushed a commit that referenced this pull request May 4, 2018
Work around nodejs/build#1254, which
effectively breaks stress test CI and CITGM, by avoiding
`std::make_unique` for now.
This workaround should be reverted once that issue is resolved.
Refs: nodejs/build#1254
PR-URL: #20386
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: Matheus Marchini <matheus@sthima.com>
@MylesBorinsMylesBorins mentioned this pull request May 8, 2018
addaleax added a commit to addaleax/node that referenced this pull request Oct 24, 2018
This broke Travis CI. We have run into this problem with
`std::make_unique` in the past, and opted to not use it
for now, e.g. in nodejs#20386.
@addaleaxaddaleax mentioned this pull request Oct 24, 2018
2 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.c++Issues and PRs that require attention from people who are familiar with C++.fast-trackPRs that do not need to wait for 48 hours to land.lib / srcIssues and PRs related to general changes in the lib or src directory.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@addaleax@TimothyGu@mmarchini@BridgeAR@nodejs-github-bot