Closed Bug 1638429 Opened 5 years ago Closed 5 years ago

Translate WPT paths in the bugbug optimizer

Categories

(Firefox Build System :: Task Configuration, task, P2)

task

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1640580

People

(Reporter: ahal, Unassigned)

References

(Blocks 1 open bug)

Details

Bugbug will start using the relative mozilla-central path for WPT group ids, i.e testing/web-platform/tests/WebCryptoAPI rather than /WebCryptoAPI like it does right now.

I think in mozilla-central at least, we'll want to continue using the "proper" ids of /WebCryptoAPI. So the bugbug optimizer will need to translate them back.

When I was working on the chunking algorithm, I had worked first with the mozilla-central relative path first, then went to use the truncated path that it currently does now.

So the way I see it, I think this bug could go either way - convert the chunking algorithm and all associated codepaths to use the relative path to mozilla-central, or have bugbug translate the relative path to a truncated one.

One other consideration is that as it currently stands, it appears treeherder can only filter on the truncated paths, and my working assumption was that it is because the truncated paths are the ones provided in MOZHARNESS_TEST_PATHS. I do like the current behavior of treeherder though, because typing out the full relative path gets old very quick and leads to mistakes when typing.

If I was to convert the codepath to use the relative path instead, then bugbug won't have to translate it back and therefore less ways for it to go wrong.

On the other hand, if work outlined in the previous sentence was to be done, would that would break some assumptions of the --tests-by-group work in Bug 1634554?

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.