Skip to content

Nine public functions that nothing calls are removed - #1128

Merged
WaylandYang merged 2 commits into
devfrom
chore/remove-unreferenced
Oct 9, 2026
Merged

WaylandYang merged 2 commits into
devfrom
chore/remove-unreferenced

Conversation

@WaylandYang

Copy link
Copy Markdown
Contributor

Why

First step of a cleanup. The compiler keeps private dead code out, but it cannot see a pub function that nothing calls. These nine in utopia-store are referenced nowhere in the workspace, the web app or the scripts, tests included.

What changes

224 lines removed, no behaviour change:

  • ontology::create_attribute_with_iri, nearest_relation_type_ids_in_domains, nearest_entity_type_ids, open_proposal_count
  • documents::replace_content, extraction_idle
  • sources::set_document_tags, document_exists_by_sha
  • settings::any_with_chat

How it was checked

cargo clippy --workspace --all-targets -- -D warnings compiles every crate and every test target without them.

🤖 Generated with Claude Code

WaylandYang and others added 2 commits October 9, 2026 17:20
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Wayland Yang <wayland0916@gmail.com>
@WaylandYang
WaylandYang merged commit 3bd116d into dev Oct 9, 2026
6 checks passed
@WaylandYang
WaylandYang deleted the chore/remove-unreferenced branch October 9, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant