Closed Bug 1734722 Opened 4 years ago Closed 4 years ago

CI for DOM Streams

Categories

(Core :: DOM: Streams, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: mgaudet, Assigned: saschanaz)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

As we start progressive landing of DOM Streams and DOM Streams features, it would be nice to get some CI started: MVP would be a linux build with

--enable-dom-streams that runs the ReadableStreams WPT tests.

Severity: -- → N/A
Priority: -- → P3

Mitch- can you advise on what is needed for adding a new build with flags? I am happy to help with the tests. If there is a process for builds or certain files to ensure get updated it would be good to know.

Flags: needinfo?(mhentges)

runs the ReadableStreams WPT tests.

Probably should run mochitests too, in case it has any coverage that WPT doesn't cover. (For Fetch and BodyStream)

I haven't done this before, so I'm going to redirect to :glandium.
If he doesn't have time, I can dig into this, but I think that'd be a less efficient allocation of resources.

To chuck out a quick guess: we need a new mozconfig for CI that contains the lines:

. "$topsrcdir/browser/config/mozconfigs/linux64/common-opt"
ac_add_options --enable-dom-streams
. "$topsrcdir/build/mozconfig.common.override"

Then, specify the mozconfig-variant, similar to how it's been done over here.

:glandium, am I missing anything?

Flags: needinfo?(mhentges) → needinfo?(mh+mozilla)

Like this? 👀 This works on mach try chooser, checking if it actually works on the server... https://treeherder.mozilla.org/#/jobs?repo=try&revision=9cc4b7aa02aee931076ee783a99acc8479882d0c

Edit: It does, thanks!
Edit2: With WritableStream disabled: https://treeherder.mozilla.org/#/jobs?repo=try&revision=1070ce37c44d291b0eeb81803d8350f848bd0959

Maybe only create a debug build?

Flags: needinfo?(mh+mozilla)
Attachment #9260505 - Attachment description: WIP: Bug 1734722 - Add CI jobs for DOM Streams → WIP: Bug 1734722 - Part 1: Add CI jobs for DOM Streams r=glandium

I love this. I wish I had known earlier we could make WPT expectations optional like this.

This is going to be super helpful in the last bits. Hopefully we can get this up soon.

The mochitest failure from dom/tests/mochitest/fetch/test_readableStreams.html also is mMightHaveUnreportedJSException assertion failure.

Depends on: 1751917
Assignee: nobody → krosylight
Attachment #9260505 - Attachment description: WIP: Bug 1734722 - Part 1: Add CI jobs for DOM Streams r=glandium → Bug 1734722 - Part 1: Add CI jobs for DOM Streams r=glandium
Status: NEW → ASSIGNED
Attachment #9260604 - Attachment description: WIP: Bug 1734722 - Part 2: Add `if not domstreams` to WPT meta r=jgraham!,mgaudet! → Bug 1734722 - Part 2: Add `if not domstreams` to WPT meta r=jgraham!,mgaudet!
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e684ad3cd11a Part 1: Add CI jobs for DOM Streams r=glandium https://hg.mozilla.org/integration/autoland/rev/0a448a73bc66 Part 2: Add `if not domstreams` to WPT meta r=jgraham,mgaudet
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ad8a0a511911 Part 1: Add CI jobs for DOM Streams r=glandium https://hg.mozilla.org/integration/autoland/rev/86e044e96198 Part 2: Add `if not domstreams` to WPT meta r=jgraham,mgaudet
Pushed by csabou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b05d209eddd9 Part 3: Allow domstreams: True in build r=aki https://hg.mozilla.org/integration/autoland/rev/9a595331d46b Part 4: Add domstreams field to fissionregressions.py r=jgraham
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/32718 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: