Skip to content

Releases: spotify/target-determinator

v0.1.3

23 Jun 12:26
257c930

Choose a tag to compare

What's Changed

  • feat: add --hash-debug flag for per-target hash component logging by @honnix in #8

Full Changelog: v0.1.2...v0.1.3

v0.1.2-debug-2

22 Jun 21:36

Choose a tag to compare

feat: log file mode and execute bit in hash-debug source_file lines

v0.1.2-debug-1

22 Jun 20:44

Choose a tag to compare

feat: add --hash-debug flag for per-target hash component logging

When --hash-debug is passed, logs each target's hash inputs to stderr:
- Source files: label, absolute path, and content hash
- Rules: each rule input's label and hash, then the rule's final hash
  with its class, skylark env hash, and configuration

This enables diagnosing non-deterministic hashes across CI agents by
comparing the debug output from two runs on the same commit.

v0.1.2

22 Jun 19:17
8ec4b35

Choose a tag to compare

What's Changed

  • fix: use deterministic proto marshaling for attribute hashing by @honnix in #7

Full Changelog: v0.1.1...v0.1.2

v0.1.1

22 Jun 14:42
ef4b87e

Choose a tag to compare

What's Changed

  • fix: sync upstream canonicalize target hash inputs by @honnix in #5

Full Changelog: v0.1.0...v0.1.1

v0.1.0

24 Apr 08:53
e8a0476

Choose a tag to compare

What's Changed

  • feat: add hash persistence, hash diffing, and bazel query backend by @honnix in #1
  • fix: targets spuriously returned in cache case by @honnix in #3
  • feat: add --rule-class-fingerprint flag by @honnix in #2
  • fix: adapt walker_test to NewTargetHashCache 5-arg signature by @honnix in #4

New Contributors

  • @honnix made their first contribution in #1

Full Changelog: https://github.com/spotify/target-determinator/commits/v0.1.0

rule-class-fingerprint-1

23 Apr 12:26

Choose a tag to compare

Pre-release
feat: add --rule-class-fingerprint flag

Introduce a repeatable --rule-class-fingerprint=<glob>[,<glob>...]:<file>[,<file>...]
flag that mixes the SHA-256 of each file into the hash of any target whose
rule class matches one of the globs. This closes the gap where
--query-backend=query misses toolchain changes in sub-module files (e.g.,
tools/modules/rules_java.MODULE.bazel referenced via local_path_override)
that do not surface via SkylarkEnvironmentHashCode.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

main-serialisation-query-6

23 Mar 13:15
b4febe3

Choose a tag to compare