Tweag integrated Coverity static analysis with Bazel to enable cacheable, incremental analysis suitable for merge request pipelines. The solution involved creating a custom Bazel toolchain that wraps cov-translate invocations, producing granular SQLite databases (emit-dbs) that can be cached and merged. Key challenges included

13m read time From tweag.io
Post cover image
Table of contents
The Coverity workflowExisting integrationsOur approachDifficultiesPerformance considerationsThe resultsConclusion

Sort: