Closed Bug 1619683 Opened 5 years ago Closed 4 years ago

Create a build job that generates a CodeQL Database

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set
normal

Tracking

(firefox78 fixed)

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: tjr, Assigned: tjr)

References

Details

Attachments

(1 file)

We made a new static analysis bounty, one of which is using CodeQL. To do this, the researcher must generate a database of Firefox which takes many hours (5-16 or something I think?) and requires a beefy machine.

I want to pre-generate the database for every release of Firefox. We are also investigating using codeql ourselves as static-analysis, which might involve generating a database on every mozilla-central push, depending on how efficient we can make database generation.

Right now, I'm interested in figuring out how to successfully get a job in-tree to do this generated (before worrying about where/when to run it.)

Would you have any suggestions for how I should change this patch to accomplish this goal? I'm trying to wrap the final ./mach build command that gets run in mozharness...

Flags: needinfo?(mshal)

Chatted with tjr in matrix

Flags: needinfo?(mshal)
Attachment #9130517 - Attachment description: Bug 1619683 - Build a (C++) CodeQL Database → Bug 1619683 - Build CodeQL Databases

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:tjr, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(tom)
Pushed by tritter@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/32e40179a7c1 Build CodeQL Databases r=firefox-build-system-reviewers,rstewart
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Flags: needinfo?(tom)
Blocks: 1644574
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: