feat(provider): import Diaphora binary-diff evidence

Analysed against 7e84aabe8 files changedby 2233admin
Open PR on GitHub

Change-risk score

9.4out of 10Elevated
Repository health
5.3to6.1base against this head

This change sits in the top third of this repository's own risk distribution, the band worth reviewing closely. It is riskier than 86% of this repository's own commits.

No changed file lost health in this diff. Nothing outside this PR depends on a contract it changed.

Files changed
8
in this diff
Contracts changed
0
removed or signature
Outside callers
0
not in this diff
Findings added
13
5 resolved

Blast radius on the repo map

Every file in the repository, grouped into its own directories and sized by lines. The ones this PR changes are lit, and everything that imports them is marked.

cratesdocsorchestrationprototy…skills/code-in…code-intel-cliplansevidenceschemassrctestsaudit_reportclimcp_serve
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

Drawing 574 of 748 files at a readable size, grouped by directory and sized by lines of code. 8 changed here reach 2 more by import. 174 are too small to see at this width, which is what the frame below is for.

Inside crates/code-intel-cli/src

audit_reportauthorit…change_a…change_r…cligit_remo…graphmcp_servecommand_cata…routesartifact_r…artifacts.…assist…author…author…bounda…bounda…builti…capabi…cap…cha…cod…commit…compat…compat…conten…dag_co…dag_run.…decision…decision…decision…declared…delivery…doc…doc…edi…edi…evi…evi…execut…file_b…graph_…hospit…hospit…impact…intern…metho…metho…model…nativ…orc…pon…pro…project_o…providers…repin.rsrepowise_…repowise_…repowise_…rout…run_…run_…runt…sent…sentrux_analy…sentrux_gate.…session_evide…snapshot.rsspan_app…stable_a…staged_a…structur…survival…tool_eff…un…mod…tes…cli.rscli_t…enums…reg…reg…ren…re…re…vali…valid…exe…mo…gi…mo…legacy.…conf…mod.rspa…pr…inp…re…re…mod.rsmod…test…handl…ident…mod.rste…to…sc…te…pr…sc…mod…tes…mod.rs

158 files, 5 changed by this PR and 2 that import one. Click any directory above to frame it instead.

Changed

What this PR added, and what it took away

Introduced findings are the ones inside the lines this PR added, not the file's existing ones. The resolved column is the only place in the product that lists them.

Introduced (13)
  • mediumdry violation
    crates/code-intel-cli/src/cli/command_catalog/routes/provider_routes.rs:8

    55% of file duplicated; worst clone shares 13 lines with crates/code-intel-cli/src/cli/command_catalog/routes/provider_routes.rs

  • lowprimitive obsession
    crates/code-intel-cli/src/diaphora_provider.rs:393

    base_document takes 5 parameters

  • lowerror handling
    crates/code-intel-cli/src/diaphora_provider.rs:96

    panic!/unreachable!/todo!/unimplemented! aborts the process unconditionally

  • lowdry violation
    crates/code-intel-cli/tests/diaphora_provider.rs:77

    16% of file duplicated; worst clone shares 18 lines with crates/code-intel-cli/tests/diaphora_provider.rs

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:17

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:26

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:49

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:50

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:52

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:53

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:77

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:99

    unwrap/expect turns a recoverable error into a crash

  • lowerror handling
    crates/code-intel-cli/tests/diaphora_provider.rs:99

    unwrap/expect turns a recoverable error into a crash

Resolved (5)
  • function hotspot
    crates/code-intel-cli/src/cli/command_catalog/mod.rs
  • duplicated assertion block
    crates/code-intel-cli/src/cli/command_catalog/tests.rs
  • brain method
    crates/code-intel-cli/src/cli/command_catalog/tests.rs
  • io in loop
    crates/code-intel-cli/src/cli/command_catalog/tests.rs
  • brain method
    crates/code-intel-cli/src/cli/legacy.rs

Who else knows this code

The primary author of each changed file by share of its recent commits, mined from git history. Advisory: it says who has context, not who must review.

  • crates/code-intel-cli/src/main.rs2233admin 55% of 39 commits · the PR author
  • crates/code-intel-cli/src/cli/command_catalog/mod.rs2233admin 100% of 9 commits · the PR author
  • crates/code-intel-cli/src/cli/legacy.rs2233admin 100% of 7 commits · the PR author
  • crates/code-intel-cli/src/cli/command_catalog/tests.rs2233admin 100% of 8 commits · the PR author

Get this on your own pull requests

This page came from an index of 2233admin/code-intel-pipeline. No model calls, no configuration, and it refreshes on every push. Install the bot and every pull request gets one of these.

feat(provider): import Diaphora binary-diff evidence · 2233admin/code-intel-pipeline #252 · Repowise