Closed Bug 1542004 Opened 6 years ago Closed 5 years ago

Add Android javadoc lint so that javadoc errors cause backouts

Categories

(GeckoView :: General, defect, P3)

Unspecified
All
defect

Tracking

(firefox66 wontfix, firefox67 wontfix, firefox68 wontfix, firefox69 wontfix, firefox70 fixed)

RESOLVED FIXED
mozilla70
Tracking Status
firefox66 --- wontfix
firefox67 --- wontfix
firefox68 --- wontfix
firefox69 --- wontfix
firefox70 --- fixed

People

(Reporter: agi, Assigned: nalexander)

References

Details

Attachments

(1 file, 1 obsolete file)

There's a javadoc error checked in in the current mozilla-central that somehow got in and now it's failing try builds.

See here e.g.: https://treeherder.mozilla.org/#/jobs?repo=try&revision=4cdb6c9de509c7aef5b2b58a1e23bf5bf77bf12d

We should figure out how these things pass the tests when they are checked in.

Maybe all we need is a lint that runs javadoc and errors out in case of warnings.

The issue is that gv-docs is tier 2 (https://searchfox.org/mozilla-central/source/taskcluster/ci/build/android-stuff.yml#270) and doesn't work on try (since it builds docs and tries to publish, which fails without real tokens). We can do lots here; I do like making this a lint (and tier 1, tbh).

Summary: our automation sometimes does not catch javadoc errors → GeckoView javadoc errors don't cause backouts

This applies the error listener just to the Javadoc tasks (previously,
it applied to the apiGenerate* tasks as well, 'cuz they inherit from
Javadoc).

Assignee: nobody → nalexander
Status: NEW → ASSIGNED
Attachment #9084853 - Attachment is obsolete: true
Attachment #9084852 - Attachment description: Bug 1542004 - Part 1: Respect MOZ_ENABLE_WARNINGS_AS_ERRORS in Javadoc. r?agi → Bug 1542004 - Add `android-javadoc` lint. r?agi
Summary: GeckoView javadoc errors don't cause backouts → Add Android javadoc lint so that javadoc errors cause backouts
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla70
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: