Closed
Bug 2088880
Opened 25 days ago
Closed 24 days ago
The TypeScript lint job does not run for a change that only edits a project's tsconfig.json
Categories
(Developer Infrastructure :: Linting and Formatting: JavaScript, defect)
Developer Infrastructure
Linting and Formatting: JavaScript
Tracking
(firefox161 fixed)
RESOLVED
FIXED
161 Branch
| Tracking | Status | |
|---|---|---|
| firefox161 | --- | fixed |
People
(Reporter: dao, Assigned: dao)
References
(Blocks 1 open bug)
Details
Attachments
(1 external file)
The typescript job in taskcluster/kinds/source-test/mozlint.yml runs only when a changed file matches its files-changed list. Each project directory is listed as <dir>/**/*.*js and <dir>/**/*.ts, neither of which matches tsconfig.json; only browser/extensions/newtab/tsconfig.json is listed on its own.
So a patch that edits nothing but a project's tsconfig.json, such as one removing a module from exclude once it passes, lands without the type check running, and a module that still fails turns the job red on the next push that does trigger it.
Listing each project's tsconfig.json next to its two globs would close the gap.
| Assignee | ||
Comment 1•25 days ago
|
||
Updated•25 days ago
|
Assignee: nobody → dao+bmo
Status: NEW → ASSIGNED
Pushed by dgottwald@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/5ab7739d895b
https://hg.mozilla.org/integration/autoland/rev/89cb5a49ba29
Run the TypeScript lint job when a project's tsconfig.json changes. r=linter-reviewers,sylvestre
Updated•25 days ago
|
Component: Lint and Formatting → Linting and Formatting: JavaScript
Comment 3•24 days ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 24 days ago
status-firefox161:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 161 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•