feat(embedding): declare a model's width without sending dimensions

Analysed against da1acd542 files changedby NullSense
Open PR on GitHub

Change-risk score

8.7out of 10Typical
Repository health
7.5to7.9base against this head

This change sits in the middle third of this repository's own risk distribution, so it is about as risky as the work around it. It is riskier than 49% 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
2
in this diff
Contracts changed
0
removed or signature
Outside callers
0
not in this diff
Findings added
1
3 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.

packagestestsapi-clientclicoreserveruivscodewebunitsrcsrc/repowis…src/repowise/coresrc/repowise/server__tests__srcsrccligenerationhealthingestionpersiste…servertest_pro…workspaceagent_targe…commandsanalysisgenerationingestionworkspacemcp_serverroutersc4graphcomponen…mcp
changed, health fellchanged, health rosechanged, health heldimports a changed fileuntouchedchanged by this PR

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

Inside packages/core/src/repowise/core/providers/embedding

__init__.pybase.pyedenai.pygemini.pyollama.pyopenai.pyopenrouter.pyregistry.py

8 files, 1 changed by this PR and 3 that import one. This PR changes 2 files in total, spread across more than one top-level directory. 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 (1)
  • lowprimitive obsession
    packages/core/src/repowise/core/providers/embedding/openai.py:77

    __init__ takes 7 parameters

Resolved (3)
  • duplicated assertion block
    tests/unit/test_persistence/test_openai_embedder.py
  • nested complexity
    packages/core/src/repowise/core/providers/embedding/openai.py
  • dry violation
    packages/core/src/repowise/core/providers/embedding/openai.py

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.

  • tests/unit/test_persistence/test_openai_embedder.pySergei Iakhnitskii 42% of 3 commits
  • packages/core/src/repowise/core/providers/embedding/openai.pyRaghav Chamadiya 54% of 4 commits

Tests that cover this change

Test files that import a file this PR changes. Not a coverage measurement: it is the import graph, so it says which tests are worth running, not which lines they reach.

  • tests/unit/server/mcp/test_embedder_resolution.py
  • tests/unit/test_persistence/test_embedding_timeout_resolution.py
  • tests/unit/test_providers/test_deepseek_provider.py

1 changed file has no test importing it.

Get this on your own pull requests

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

feat(embedding): declare a model's width without sending dimensions · repowise-dev/repowise #1857 · Repowise