| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
As brought up in nodejs/v8#2 I'm quite skeptical this is a good idea until we get better hooks for native promises. (Which seemed to be the plan to get in before node version 8, where this was originally supposed to land.) |
Sorry, something went wrong.
|
CI run to validate across platforms: https://ci.nodejs.org/job/node-test-commit-v8-linux/421/ |
Sorry, something went wrong.
That's a pretty cryptic comment on its own. I think the missing context is that 5.5 ships async/await without a flag? |
Sorry, something went wrong.
|
Looks like CI failures across the board. |
Sorry, something went wrong.
|
Afaik smartos14 support is dropped for 5.5 |
Sorry, something went wrong.
|
Updated. There are some new utf-8 fixes (1, 2) that make test/parallel/test-string-decoder fail. I'm sure that someone already mentioned it but I can't find the related issue. Example failure: test('utf-8', Buffer.from('F0B841', 'hex'), '\ufffd\ufffdA');
// AssertionError: Expected "\ufffd\ufffd\u41", but got "\ufffd\u41"If I change the expected value, the error is inverted: test('utf-8', Buffer.from('F0B841', 'hex'), '\ufffdA');
// AssertionError: Expected "\ufffd\u41", but got "\ufffd\ufffd\u41" |
Sorry, something went wrong.
|
@targos see discussion here: v8@af842a7#commitcomment-19855022 |
Sorry, something went wrong.
|
I'm turning the PR into a clean semver-major that can land on master. I'll then open another one to backport to v7.x. |
Sorry, something went wrong.
|
This is still in progress because of v8@af842a7#commitcomment-19855022 |
Sorry, something went wrong.
|
@nodejs/platform-smartos What are we going to do with SmartOS 14? The CI cannot be green because of the incompatibility with this platform. |
Sorry, something went wrong.
|
@targos as far as I know, it is to be dropped for 55 and forward. I can look at skipping testing against smartos14 for a specific node version; for instance 7.3? |
Sorry, something went wrong.
|
@targos FWIW, what @jbergstroem mentioned:
sounds good to me. P.S: sorry for the delay, I was on vacation until today. |
Sorry, something went wrong.
The issue is fixed upstream in V8. Thus we do not need this workaround in REPL. Fixes: nodejs#548 PR-URL: nodejs#9618 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
V8 5.5 changed how invalid characters are handled and it now appears to follow the WHATWG Encoding standard, where all of an invalid character's bytes are replaced by a single replacement character (\ufffd) instead of replacing each invalid byte with separate replacement characters. Example: the byte sequence 0xF0,0xB8,0x41 is decoded as '\ufffdA' in V8 5.5, but is decoded as '\ufffd\ufffdA' in previous versions of V8. PR-URL: nodejs#9618 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
|
I think it would be good to get 5.5. into master, because it gives us more time to test it with Node. Also, there are some API changes in 5.5 that are needed to address open issues. 5.7 was released this week, 5.8 should be out in time to be included in LTS 8. |
Sorry, something went wrong.
|
Actually 5.7 was branched this week, not released. Also the timeline for 5.8 is close enough for it to be possible to be included in LTS 8, but there is open discussion on whether LTS 8 should include it: see #10117 (comment), #10970 and the discussion from the last Diagnostic WG meeting. |
Sorry, something went wrong.
|
Currently the landing of V8 5.5 onto master seems to be blocked by this build issue: nodejs/build#595 |
Sorry, something went wrong.
|
CI run after change to job to not run on smartos14 if version is 8 or higher: https://ci.nodejs.org/job/node-test-pull-request/6052/ |
Sorry, something went wrong.
|
The only real CI failure is the clang ICE here, I assume that is expected? New CI run, hopefully without infrastructure-related failures: https://ci.nodejs.org/job/node-test-commit/7490/ |
Sorry, something went wrong.
V8 5.5 changed how invalid characters are handled and it now appears to follow the WHATWG Encoding standard, where all of an invalid character's bytes are replaced by a single replacement character (\ufffd) instead of replacing each invalid byte with separate replacement characters. Example: the byte sequence 0xF0,0xB8,0x41 is decoded as '\ufffdA' in V8 5.5, but is decoded as '\ufffd\ufffdA' in previous versions of V8. PR-URL: nodejs#9618 Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
|
@addaleax correct. We'll just skip on that platform for now. |
Sorry, something went wrong.
|
CI run one more time: https://ci.nodejs.org/job/node-test-pull-request/6073/ |
Sorry, something went wrong.
|
Landed in a67a04d...24ef1e6. Thanks everyone! |
Sorry, something went wrong.
|
@targos Congratulations and thanks for hard work :) So does it lands on 7.x semver-minor updates? And what is your ETA? |
Sorry, something went wrong.
|
Is this means we can use async/await safely? |
Sorry, something went wrong.
Sorry, something went wrong.
|
Will it be included in version 8 without flags? |
Sorry, something went wrong.
|
@leodutra It is already in master branch, thus in Node.js 8 |
Sorry, something went wrong.
|
@targos https://github.com/nodejs/node/blob/master/BUILDING.md#unix still mentions Clang 3.4 as the required version. Do you know what the new required version is? |
Sorry, something went wrong.
|
@joaocgreis I don't know what is the actual required version but since we dropped the workaround from #8343 it must be at least 3.4.2. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
V8
Description of change
This PR updates V8 to the current 5.5-lkgr branch.
/cc @nodejs/v8
Previous discussion: nodejs/v8#2
CI: https://ci.nodejs.org/job/node-test-pull-request/4849/
V8 CI: https://ci.nodejs.org/job/node-test-commit-v8-linux/417/
V8 CI: https://ci.nodejs.org/job/node-test-commit-v8-linux/422/