Commit c2bfe49
ci: pin ddk-target into the scoped reactor and gate on report presence
The target-definition artifact is referenced by target-platform-
configuration, not by any bundle MANIFEST, so -am never pulls
ddk-target into a scoped reactor. Tycho then falls back to the
local-repository copy of the .target, which fails on a cold cache and
— worse — silently resolves a stale target definition on a warm one
(verified: a June install of the sequenceNumber-29 target still
pointed at the 2026-03 release train while the tree's points at
2026-06). The scope script now always prepends ../ddk-target to the
-pl list, so the current target definition always comes from the
reactor.
The gate additionally verifies that every scanned module produced its
SARIF (and that a full scan produced any at all): --fail-never
swallows even target-resolution failures, so without a presence check
a dead build uploads nothing and counts zero violations — a vacuous
green.
Verified locally against a repository with no installed ddk-target:
the previous flags reproduce the resolution failure with zero SARIFs;
the pinned reactor analyses the changed module in 34s and resolves the
current platform (jdt.core 3.46.0, not the stale 3.45.0).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 922c60a commit c2bfe49
2 files changed
Lines changed: 33 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
| |||
64 | 67 | | |
65 | 68 | | |
66 | 69 | | |
67 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| 76 | + | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
75 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
76 | 85 | | |
77 | 86 | | |
78 | 87 | | |
| |||
81 | 90 | | |
82 | 91 | | |
83 | 92 | | |
84 | | - | |
85 | | - | |
86 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
87 | 100 | | |
88 | | - | |
| 101 | + | |
| 102 | + | |
89 | 103 | | |
90 | 104 | | |
91 | 105 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
182 | 185 | | |
183 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
184 | 198 | | |
185 | 199 | | |
186 | 200 | | |
| |||
0 commit comments