Closed Bug 1645867 Opened 4 years ago Closed 11 months ago

Separate manifests by suite in tests-by-manifest.json

Categories

(Firefox Build System :: Task Configuration, task)

task

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: egao, Unassigned)

References

Details

Currently, all test manifests are thrown into one large JSON file without consideration given to the suite.

Bug 1634554 and one of its constituent patch, https://phabricator.services.mozilla.com/D78318 shows the need to be able to filter out manifests that belong to a certain suite. this would be much easier (and reliable) if manifests were grouped by the suite.

Explore if this is possible.

:ahal - this came up as part of :jgraham's review on the --test-groups file patch stack.

Would any suites see benefits from this change?

Actually set ni.

Flags: needinfo?(ahal)

This artifact is only used by treeherder afaik, so probably not. If we change the format we'd need to coordinate with Armen on the treeherder side of things.

We could also potentially keep this in a single file, but key the manifests-by-task by suite (similar to what you did to the runtimes files).

Flags: needinfo?(ahal)

(In reply to Andrew Halberstadt [:ahal] from comment #4)

This artifact is only used by treeherder afaik, so probably not. If we change the format we'd need to coordinate with Armen on the treeherder side of things.

Interesting, I did not know this was only used by treeherder (other than WPT).

We could also potentially keep this in a single file, but key the manifests-by-task by suite (similar to what you did to the runtimes files).

That's what I was suggesting, by the way. A structure would look like:

{
  "web-platform-tests": {
     '/dom/some/test": [
        'test_path'
     ]
  }
}

But I'm thinking personally that being able to write the artifact from the chunking process would permit me to customize the file structure without impacting others.

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