Closed Bug 2085857 Opened 23 days ago Closed 21 days ago

Run yamllint in process

Categories

(Developer Infrastructure :: Lint and Formatting, enhancement)

enhancement

Tracking

(firefox161 fixed)

RESOLVED FIXED
161 Branch
Tracking Status
firefox161 --- fixed

People

(Reporter: ahochheiden, Assigned: ahochheiden)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

Each yamllint job starts a second mach to run yamllint, which costs about a second each.

Every yamllint job started a second mach through mach python to run the
vendored yamllint, which took about a second before yamllint ran. The
linter now calls the yamllint API the way its command line does. The
results also no longer collect in a module global, which reported the
issues of an earlier job again when a worker ran more than one.

Status: NEW → RESOLVED
Closed: 21 days ago
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: