← Back to Pull requests

Bump depend_on_what_you_use from 1.2.0 to 1.3.0 #586

Closed
unknown closed this pull request without merging on Nov 23, 2026 07:42 UTC
View on GitHub
unknown unknown commented on Nov 23, 2026 03:11 UTC
Author

Bumps depend_on_what_you_use from 1.2.0 to 1.3.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/martis42/depend_on_what_you_use/releases">depend_on_what_you_use's releases</a>.</em></p>
<blockquote>
<h2>1.3.0</h2>
<h2>Noteworthy Changes</h2>
<p>From now on DWYU publishes immutable releases.</p>
<h3>BREAKING</h3>
<ul>
<li>Minimum required Python version is now 3.11.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[apply_fixes] No longer prevent finding missing direct dependencies by removing unused dependencies.</li>
<li>[target_mapping] Accept common rule attributes like visibility or tags.</li>
<li>[target_mapping] Avoid analysis failures when transitive dependency mapping encounters non-C++ targets or files in a <code>deps</code> attribute of a custom rule.</li>
</ul>
<h3>Added</h3>
<ul>
<li>[aspect] Add option <code>ignore_external_dependencies</code> to ignore most findings caused by external dependencies.
This will ignore &quot;<em>unused dependency</em>&quot; warnings caused by unused external targets.
Also, it ignores &quot;<em>included header missing a direct dependency</em>&quot; warnings for headers provided by external targets.</li>
<li>[aspect] Basic support for preprocessing C++26 code with DWYU option <code>preprocessing_mode</code> values <code>full</code> and <code>ignore_system_includes</code>.
Those modes can however not yet preprocess <code>#embed</code> directives.</li>
<li>[apply_fixes] Allow providing a custom Bazel binary via <code>--bazel</code>.</li>
<li>[target_mapping] Add <code>MAP_TRANSITIVE_DEPS_GREEDILY</code> mode to recursively map <code>CcInfo</code>-providing dependencies found through all rule attributes.
Besides following all rule attributes instead of just <code>deps</code>, it behaves like <code>MAP_TRANSITIVE_DEPS</code>, including the filtering feature.</li>
<li>[target_mapping] Add <code>MAP_DIRECT_DEPS_GREEDILY</code> mode to map direct <code>CcInfo</code>-providing dependencies found through all rule attributes, without following them recursively.</li>
<li>[target_mapping] Allow custom mapping rules by implementing your own rule providing <code>DwyuRemappedCcInfo</code> which <code>dwyu_make_cc_info_mapping()</code> then consumes via the <code>custom_remappings</code> attribute.</li>
</ul>
<h2>Using this release</h2>
<p>Add to your <code>MODULE.bazel</code> file:</p>
<pre lang="starlark"><code>bazel_dep(name = &quot;depend_on_what_you_use&quot;, version = &quot;1.3.0&quot;)
</code></pre>
<hr />
<h2>What's Changed</h2>
<ul>
<li>chore: Update changelog for latest release by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/698">martis42/depend_on_what_you_use#698</a></li>
<li>chore: Switch C++ dev toolchain to hermetic-llvm by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/696">martis42/depend_on_what_you_use#696</a></li>
<li>CI: Give sanitizers an own job by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/699">martis42/depend_on_what_you_use#699</a></li>
<li>CI: Streamline release process by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/700">martis42/depend_on_what_you_use#700</a></li>
<li>add --bazel option to apply_fixes by <a href="https://github.com/oliverlee"><code>@​oliverlee</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/701">martis42/depend_on_what_you_use#701</a></li>
<li>fix(target_mapping): Accept common rule attributes by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/704">martis42/depend_on_what_you_use#704</a></li>
<li>ci: Add cache generator job for sanitizers by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/706">martis42/depend_on_what_you_use#706</a></li>
<li>ci: Sanitizer job uses cached toolchain by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/707">martis42/depend_on_what_you_use#707</a></li>
<li>ci: Drop superfluous caching for uv and prek by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/710">martis42/depend_on_what_you_use#710</a></li>
<li>refactor(target_mapping): Follow macro best practices by <a href="https://github.com/martis42"><code>@​martis42</code></a> in <a href="https://redirect.github.com/martis42/depend_on_what_you_use/pull/708">martis42/depend_on_what_you_use#708</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/martis42/depend_on_what_you_use/blob/main/CHANGELOG.md">depend_on_what_you_use's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/martis42/depend_on_what_you_use/releases/tag/1.3.0">1.3.0</a> - 2026.11.14</h2>
<h3>BREAKING</h3>
<ul>
<li>Minimum required Python version is now 3.11.</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>[apply_fixes] No longer prevent finding missing direct dependencies by removing unused dependencies.</li>
<li>[target_mapping] Accept common rule attributes like visibility or tags.</li>
<li>[target_mapping] Avoid analysis failures when transitive dependency mapping encounters non-C++ targets or files in a <code>deps</code> attribute of a custom rule.</li>
</ul>
<h3>Added</h3>
<ul>
<li>[aspect] Add option <code>ignore_external_dependencies</code> to ignore most findings caused by external dependencies.
This will ignore &quot;<em>unused dependency</em>&quot; warnings caused by unused external targets.
Also, it ignores &quot;<em>included header missing a direct dependency</em>&quot; warnings for headers provided by external targets.</li>
<li>[aspect] Basic support for preprocessing C++26 code with DWYU option <code>preprocessing_mode</code> values <code>full</code> and <code>ignore_system_includes</code>.
Those modes can however not yet preprocess <code>#embed</code> directives.</li>
<li>[apply_fixes] Allow providing a custom Bazel binary via <code>--bazel</code>.</li>
<li>[target_mapping] Add <code>MAP_TRANSITIVE_DEPS_GREEDILY</code> mode to recursively map <code>CcInfo</code>-providing dependencies found through all rule attributes.
Besides following all rule attributes instead of just <code>deps</code>, it behaves like <code>MAP_TRANSITIVE_DEPS</code>, including the filtering feature.</li>
<li>[target_mapping] Add <code>MAP_DIRECT_DEPS_GREEDILY</code> mode to map direct <code>CcInfo</code>-providing dependencies found through all rule attributes, without following them recursively.</li>
<li>[target_mapping] Allow custom mapping rules by implementing your own rule providing <code>DwyuRemappedCcInfo</code> which <code>dwyu_make_cc_info_mapping()</code> then consumes via the <code>custom_remappings</code> attribute.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/de2de0068cbca4fe5e37b36de476dd95b4825f1e"><code>de2de00</code></a> chore: Prepare release 1.3.0</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/0d7d5e22a2f7554a59516d67eaf9c43ba0f2e938"><code>0d7d5e2</code></a> test(aspect): Ensure boost.wave based preprocessing is tested fully</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/ae78f12e1af011a5aebed9c34c326c678f3e2a41"><code>ae78f12</code></a> refactor: Streamline aspect integration tests specification</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/9e97993917a54736f211240bbafc4964f1ed308f"><code>9e97993</code></a> docs: Some more minor aspect options fixes</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/abde9e15b3e63b921f2fe19e8fbf3543bd4d73ef"><code>abde9e1</code></a> docs: Small aspect options update</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/b9b9c7e8b3d1217168c7586e5d435e1c88a26a3e"><code>b9b9c7e</code></a> chore: Abandon old performance TODO</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/cc87ab33ea1c3c7bca7e7cc21f358eea2071011c"><code>cc87ab3</code></a> chore(deps): update dependency llvm to v0.8.26</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/1c8a6654911874406142f7027fb3cb7adfac087e"><code>1c8a665</code></a> feat(aspect): Allow ignoring most issues caused by third party deps</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/0c8a0b26cc82d34abe1dbdaf822ff887ee61bec4"><code>0c8a0b2</code></a> feat(target_mapping): Allow bringing your own mapping</li>
<li><a href="https://github.com/martis42/depend_on_what_you_use/commit/19a88b295f75236103ca04e5d499093b5b93ee66"><code>19a88b2</code></a> fix(target_mapping): Do not crash on non CcInfo deps attributes</li>
<li>Additional commits viewable in <a href="https://github.com/martis42/depend_on_what_you_use/compare/1.2.0...1.3.0">compare view</a></li>
</ul>
</details>
<br />

Diff: 650 lines (+487 / -163) across 8 files Reviewer: helly25 Review duration: 271m
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
0.52
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
0.17
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
56%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size diff_size
0.388
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #586"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 56.8% reviewed
Vouch Risk Breakdown
AI-powered review risk analysis
Change Risk
Change Risk · Model 1 (XGBoost)
Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
Score: 52% (MEDIUM) · Higher = larger blast radius
52%
Review Confidence
Review Confidence · Models 2 & 3
Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
Score: 56.8% · Lower = rushed or shallow review
56.8%
Residual Risk
Residual Risk · Core Equation
Residual = Change × (1 − Confidence)
Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
Score: 22.5% · Safe to merge
22.5%
Repository