Enable Temporal on Nightly
Categories
(Core :: JavaScript: Standard Library, task, P1)
Tracking
()
People
(Reporter: dminor, Assigned: dminor)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-needed)
Attachments
(5 files)
To get more feedback on Temporal, I think it would make sense to enable it for Nightly only for a few cycles before we consider shipping it.
Assignee | ||
Updated•16 days ago
|
Assignee | ||
Updated•16 days ago
|
Assignee | ||
Comment 1•16 days ago
|
||
I cleared this with the fuzzing team, I think we're good to go here.
Assignee | ||
Comment 2•16 days ago
|
||
Comment 4•15 days ago
|
||
Backed out for causing mass failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/c45e218217cfc044de77567110dec0117d5bf588
Failure logs:
https://treeherder.mozilla.org/logviewer?job_id=493967939&repo=autoland&lineNumber=4583
https://treeherder.mozilla.org/logviewer?job_id=493968822&repo=autoland&lineNumber=2725
https://treeherder.mozilla.org/logviewer?job_id=493964269&repo=autoland&lineNumber=3317
https://treeherder.mozilla.org/logviewer?job_id=493966874&repo=autoland&lineNumber=1815
https://treeherder.mozilla.org/logviewer?job_id=493967718&repo=autoland&lineNumber=70250
Assignee | ||
Comment 5•12 days ago
|
||
Yep, I didn't think about this in terms of shipping a new feature, so I got caught by the usual gotchas that check for exposing something new on the global object. Try job here would indicate that I've caught the problems: https://treeherder.mozilla.org/jobs?repo=try&revision=d03b64ffda2f7dc3daa6ba76736e0a6c2a2113ad.
Assignee | ||
Comment 6•12 days ago
|
||
Because Temporal.PlainDate.prototype.valueOf is specified to throw,
I've adjusted the stringification tests to check that if an
exception occurs, an identical exception is thrown in both cases.
Assignee | ||
Comment 7•12 days ago
|
||
Updated•12 days ago
|
Comment 9•11 days ago
•
|
||
Backed out for causing SM bustages.
Backout link: https://hg.mozilla.org/integration/autoland/rev/24745a661a79f595fe782a0654b00c53ca69c4d1
Failure log:
https://treeherder.mozilla.org/logviewer?job_id=494458038&repo=autoland&lineNumber=70719
https://treeherder.mozilla.org/logviewer?job_id=494462985&repo=autoland&lineNumber=2181
https://treeherder.mozilla.org/logviewer?job_id=494467400&repo=autoland&lineNumber=5062
Assignee | ||
Comment 10•11 days ago
|
||
Looks like my mach try auto
try run didn't schedule any sm jobs :/
Assignee | ||
Comment 11•11 days ago
|
||
This is a testcase for test262-export.py, but it is also run as a
normal reftest. For test262-export.py, Temporal tests are skipped
from the export. When run as a reftest with Temporal enabled,
the second part of the condition outro()
is evaluated, and it turns
out that outro
is undefined. This changes outro
to true
so
that the test continues to be skipped like before when run as a
reftest.
Comment 12•11 days ago
|
||
Comment 13•10 days ago
|
||
Backed out for causing dt failures on browser_jsterm_autocomplete_mapped_variables.js
Assignee | ||
Comment 14•10 days ago
|
||
That test that fails seems unrelated to these changes, and has had a problem with intermittent failures in the past: https://bugzilla.mozilla.org/show_bug.cgi?id=1896759
Comment 15•10 days ago
|
||
We've had a try run that confirmed backing out the changesets fixed the perma failures caused here. Taskcluster failure artifacts pointed to Firefox Nightly failures on all affected platforms (temporal was also seen in one artifact that failed on Linux). example: https://firefoxci.taskcluster-artifacts.net/RB8SII9FSH2BeiWE_HYAMQ/0/public/test_info/mozilla-test-fail-screenshot_gfv8znx3.png
Assignee | ||
Comment 16•10 days ago
|
||
Yes, you're correct, the autocomplete will now also suggest Temporal
, breaking the test, I missed that the first time I looked at the test case.
Assignee | ||
Comment 17•10 days ago
|
||
Autocomplete will now also suggest Temporal, this adjusts the test
expecations accordingly.
Comment 18•9 days ago
|
||
Comment 19•8 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e395ee1a85b7
https://hg.mozilla.org/mozilla-central/rev/2161091e37ea
https://hg.mozilla.org/mozilla-central/rev/a892f49ac205
https://hg.mozilla.org/mozilla-central/rev/70f15e233e64
https://hg.mozilla.org/mozilla-central/rev/2e4706ea8f36
Comment 20•8 days ago
•
|
||
That looks like something that could go into our Nightly release notes. Could you nominate it? Thanks
https://wiki.mozilla.org/Release_Management/Release_Notes#Nomination_in_Bugzilla
Assignee | ||
Comment 21•5 days ago
|
||
Release Note Request (optional, but appreciated)
[Why is this notable]: Temporal is now enabled by default in Nightly. Temporal is meant to a be better version of Date, which has been a long-standing pain point in the language.
[Affects Firefox for Android]:
[Suggested wording]: The Temporal proposal is enabled by default in Firefox Nightly, please experiment with it and provide feedback. Temporal is a better version of Date, for more details, please see https://tc39.es/proposal-temporal/docs/.
[Links (documentation, blog post, etc)]: https://tc39.es/proposal-temporal/docs/
Comment 22•5 days ago
|
||
Thanks, added to our nightly notes
Description
•