Skip to main content
Version: 2024.41.17

aspect explain

Compare two Bazel execution logs to detect non-hermetic build issues.

Synopsis

OVERVIEW: Compare two Bazel execution logs to detect non-hermetic build issues

EXAMPLE: aspect explain ./compact-execlog.1.log ./compact-execlog.2.log --cache-misses

Detects build non-determinism by analyzing:

  • Actions: Changed outputs, timing, or ordering
  • Files: Unexpected file modifications
  • Environment: Non-hermetic environment variables
  • Arguments: Inconsistent build flags
aspect explain <execlog1> <execlog2> [flags]

Options

      --cache-misses   Find bazel actions that have changed and would not have been cached between runs
-h, --help help for explain

Options inherited from parent commands

      --aspect:config string   User-specified Aspect CLI config file. /dev/null indicates that all further --aspect:config flags will be ignored.
--aspect:interactive Interactive mode (e.g. prompts for user input)

SEE ALSO