Page MenuHomePhabricator

CommunityConfiguration CI does not catch style issues
Closed, ResolvedPublic

Description

@Sgs added some nit-prefixed comments to https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CommunityConfiguration/+/1011094, and some of them caught my attention:

nit: the class name should follow the pattern: ext-communityConfiguration-EditSummaryDialog__dialog-actions

I can recall CI complaining about issues like this in GrowthExperiments, and I was surprised it didn't do that in CommunityConfiguration. I pinged @Sgs about this, and they noted:

@Sgs wrote in WMF Slack:
I can confirm common style linting is not working locally neither. Debugging now.

Filling this task to record the work.

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change 1012401 had a related patch set uploaded (by Sergio Gimeno; author: Sergio Gimeno):

[mediawiki/extensions/CommunityConfiguration@master] Add vue files to stylelint grunt task

https://gerrit.wikimedia.org/r/1012401

Change 1012401 merged by jenkins-bot:

[mediawiki/extensions/CommunityConfiguration@master] Add vue files to stylelint grunt task

https://gerrit.wikimedia.org/r/1012401

Following the steps in the last comment from @Tacsipacsi on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CommunityConfiguration/+/1011094 - I got the following warning:

Screen Shot 2024-04-08 at 3.37.48 PM.png (886×3 px, 198 KB)

That warning looks like you're not logged in as an admin (pending T360919 and its engineering counterpart).

On second thought, this particular task can be probably closed without any further action. Its scope was to enforce CSS style rules in CommunityConfiguration repo. But, up2you.

Following the steps in the last comment from @Tacsipacsi on https://gerrit.wikimedia.org/r/c/mediawiki/extensions/CommunityConfiguration/+/1011094 - I got the following warning:

Screen Shot 2024-04-08 at 3.37.48 PM.png (886×3 px, 198 KB)

That warning looks like you're not logged in as an admin (pending T360919 and its engineering counterpart).

On second thought, this particular task can be probably closed without any further action. Its scope was to enforce CSS style rules in CommunityConfiguration repo. But, up2you.

@Urbanecm_WMF - I agree with closing the task.
At this point, it doesn't matter whether a user is admin or not (or even is logged in), since the functionality is pending T360919.