Support new dap multi config setup #43
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
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
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
DoDoENT
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.