Closed Bug 1820048 Opened 2 years ago Closed 5 months ago

Alphabetically order all FxMS test manifests

Categories

(Firefox :: Messaging System, task, P2)

task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: aminomancer, Assigned: rchan, Mentored)

References

(Blocks 1 open bug)

Details

(Keywords: good-first-bug)

Attachments

(1 file)

We're frequently getting Mozlint test-manifest warnings on phabricator because a new rule was added:

WARNING: The mochitest test manifest is not in alphabetical order. Expected ordering:

And basically it wants fully alphabetized ordering. But this isn't something that should be fixed within a patch that was focused on something else and just adds a test. Now, I think when mochitest runs a full manifest, it actually runs them in alphabetical order even if the list is not alphabetized (correct me if I'm wrong). So I don't think fixing the order would actually cause any problems. But if it does, it just seems safest to handle that in a dedicated patch so we can track and troubleshoot more easily and just roll back if necessary.

So, this is that in a nutshell. Alphabetically order all the test(s)/browser/browser.ini files in the directories we own. That should include...

I'm not sure if xpcshell manifests need to be alphabetic too, haven't edited one since this rule went into effect. Maybe wise to just alphabetize them anyway. The one in toolkit only has one entry so that can be ignored. I think that ultimately just leaves...

Blocks: fxms-build
Keywords: good-first-bug
Mentor: shughes
See Also: → 1820053
Priority: -- → P2
Assignee: nobody → rchan

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: rchan → nobody
Assignee: nobody → rchan
Status: NEW → ASSIGNED

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.

Assignee: rchan → nobody
Status: ASSIGNED → NEW
Assignee: nobody → jasonkngdev

I’m a new contributor, and I’ll be submitting a patch for this bug soon!

(In reply to Jason Ng from comment #4)

I’m a new contributor, and I’ll be submitting a patch for this bug soon!

Thanks, Jason! Just so you know, the test manifest locations have changed. They are now named browser.toml, and ours are in:

  • browser/components/aboutwelcome
  • browser/components/asrouter
  • toolkit/components/messaging-system

This good-first-bug hasn't had any activity for 2 months, it is automatically unassigned.
For more information, please visit BugBot documentation.

Assignee: jasonkngdev → nobody

I believe this bug can be closed as WONTFIX, as the test manifests for the directories in comment #5 are already in alphabetical order.

Flags: needinfo?(shughes)

(In reply to Stephanie Cunnane [:scunnane] from comment #7)

I believe this bug can be closed as WONTFIX, as the test manifests for the directories in comment #5 are already in alphabetical order.

Great, thanks for confirming that Stephanie.

Status: NEW → RESOLVED
Closed: 5 months ago
Flags: needinfo?(shughes)
Resolution: --- → WONTFIX
Assignee: nobody → rchan
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: