Commit 58e9eeb
fix(sarif): publish the fingerprint under a namespaced key (#90)
Release 0.6.2.
0.6.1 made partialFingerprints a content hash and the inconsistent-
fingerprint warning kept appearing, now comparing against the new hash:
Calculated fingerprint of 13bfd14c5cc763c:1 for file debtap line 104,
but found existing inconsistent fingerprint value a279c9a6c714c186...
The collision is over the key, not the format. `primaryLocationLineHash`
is computed by the CodeQL upload action itself, and it warns whenever the
value it derived differs from one already present — which is any value we
supply, whatever it contains.
Publish under `threatcrush/contentHash/v1` instead. GitHub computes the
fingerprint it wants, other SARIF consumers keep a stable identity from us,
and the warning goes away. The version suffix leaves room to change the
hash input later without silently redefining an existing value.
The hash itself is unchanged from 0.6.1, so identities carry over.
Co-authored-by: Claude Opus 5 <noreply@anthropic.com>1 parent 60ac23d commit 58e9eeb
3 files changed
Lines changed: 35 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
56 | 59 | | |
57 | 60 | | |
58 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
59 | 64 | | |
60 | 65 | | |
61 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
33 | 44 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
37 | 54 | | |
38 | 55 | | |
39 | 56 | | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
45 | 62 | | |
46 | 63 | | |
47 | 64 | | |
| |||
224 | 241 | | |
225 | 242 | | |
226 | 243 | | |
227 | | - | |
| 244 | + | |
228 | 245 | | |
229 | 246 | | |
230 | 247 | | |
| |||
0 commit comments