← Back to Pull requests

Support new dap multi config setup #43

Closed
unknown closed this pull request without merging on Mar 26, 2026 16:01 UTC
View on GitHub
unknown unknown commented on Mar 25, 2026 19:43 UTC
Author

Adds support for selecting a configuration out of the list of dap.configurations[type]. This allows a user to for example have a dap config for running specific files and one that is used for this plugin.

This also fixes a bug in which the dap configuration was completely overridden (as a tbl_extend of a list with a table overrides the list). The most obvious issue of this was that a user was unable to define the adapter name.

Since the user's dap configuration takes precedence over the plugin's extra_dap_args
(see: https://github.com/Shatur/neovim-tasks/blob/8c2bafe4863c624c23067f91d1498696c14837ae/lua/tasks/runner.lua#L122-L131).
I have decided against the approach of taking the first config in the list proposed in #22 as that would also lead to a breaking change (user config is now respected) and gives less freedom in choosing the config.

This is a breaking change, if that matters.

I have currently only tested this for a cmake project and should be able to also test it on a cargo project in the next few days. I don't have any experience in any other build systems with dap support in this plugin and would leave the testing to someone else if possible.

Diff: 148 lines (+111 / -37) across 1 files Reviewer: DoDoENT Review duration: 1218m
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.56) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.56 · 148 lines diff across 1 files
0.56
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%
60%
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.299
Shallow Review Depth shallow_review_depth
0.289
Sensitive Paths sensitive_paths
0.056
Real PR Conversation Timeline
1 comments
"Review active on #43"
general weight: 0.35
Reviewers
Assignees
Unassigned
Labels
risk: low confidence: 60.5% reviewed sensitive_module
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: 56.1% (MEDIUM) · Higher = larger blast radius
56.1%
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: 60.5% · Lower = rushed or shallow review
60.5%
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.2% · Safe to merge
22.2%