Skip to content

Build History

Daemonitor can associate recorded process measurements with detected or observed build activity for supported ecosystems. This provides additional context when investigating resource consumption during a particular invocation.

The availability and accuracy of this correlation depend on the build system, process discovery, and available contextual information. Recorded entries are stored locally in watcher.db and displayed in the Desktop History tab and via daemonitor-cli builds.

Daemonitor Desktop Build History screen

Which build systems record builds

Build history behavior differs by build system:

Build system How builds are recorded Log snippet
Gradle Passive correlation of Gradle daemon .out.log files (Marking the daemon as busy → idle brackets containing a build-start marker) Up to 100 redacted lines / 16,000 characters
Xcode Explicit or passive observation sessions captured by daemonitor-cored (stored with daemonIdentity prefixed xcode:) None (displays "Captured from Xcode observation session (no Gradle daemon log).")
Kotlin Toolchain / Amper Not recorded as build history (live and historical process samples are still stored) None

Filtering and table columns

Filters combine with AND:

  • Time range chips: 7 days, 15 days (default), 30 days, 60 days, 90 days (matching RetentionPolicy.DEFAULT.presets).
  • Project dropdown: All projects or a specific recorded projectPath.

Table columns: Started, Project, Duration, Peak RSS, Status, Source, and Agent. Use mouse click or Up / Down arrow keys to select a build and inspect its details.

Build statuses

Status Meaning
SUCCESS BUILD SUCCESSFUL observed in daemon log (or clean session close)
FAILED BUILD FAILED observed in daemon log (or non-zero session outcome)
COMPLETED_NO_OUTCOME Daemon transitioned busy → idle with a build start, but no outcome line appeared in the daemon log
INTERRUPTED Daemon disappeared mid-build before returning to idle

Limitations of passive Gradle build detection

  • Sub-poll builds (<2s): If a build completes between two 2-second poll ticks, no process samples fall inside its window; peak RSS, average RSS, and peak CPU are null (shown as not sampled (<2s)).
  • Per-build command line: Gradle daemon logs do not record the full client command line for each build, so commandLine is null by design for passive Gradle builds.
  • --no-daemon builds: Passive correlation relies on Gradle daemon .out.log files; --no-daemon runs are not recorded unless wrapped with daemonitor-cli observe.
  • IDE vs. coding-agent attribution: When a build is attributed to an IDE (Source.IDE), coding-agent attribution is suppressed to avoid misattributing IDE-launched builds.