Skip to content

Drop ScipBuildTool and related code#885

Closed
jupblb wants to merge 3 commits into
mainfrom
michal/scip-build
Closed

Drop ScipBuildTool and related code#885
jupblb wants to merge 3 commits into
mainfrom
michal/scip-build

Conversation

@jupblb
Copy link
Copy Markdown
Member

@jupblb jupblb commented May 27, 2026

Removes the SCIP-specific build tool that consumed scip-java.json / lsif-java.json config files, along with everything that only existed to support it.

jupblb added 3 commits May 27, 2026 12:20
Removes the SCIP-specific build tool that consumed scip-java.json /
lsif-java.json config files, along with everything that only existed to
support it:

- ScipBuildTool and its test suite
- IndexDependencyCommand (only invoked the dropped 'scip' build tool)
- LibrarySnapshotGenerator + SemanticdbJavacSnapshotGenerator and the
  org.jetbrains.exposed snapshot fixtures (the generator only worked via
  index-dependency)
- TracingServer test helper (only used by ScipBuildToolSuite)
- Dependencies.kotlinMPPCommon (only used by ScipBuildTool)
- The scipConfig / scipIgnoredJavacOptionPrefixes /
  scipIgnoredAnnotationProcessors CLI flags
- The lsif-java.json JVM lookup in scip-java-docker-script.sh, and the
  now-unused jq install (Dockerfile, flake.nix, CONTRIBUTING.md)

Also fixes a pre-existing misplaced @description annotation in
IndexCommand so that the buildCommand description is actually attached
to buildCommand instead of leaking onto strictCompilation.
With only MinimizedSnapshotScipGenerator remaining, the abstraction
layers became unnecessary:

- Inline AggregateSnapshotGenerator into SaveSnapshots and delete it
- Inline the abstract SnapshotSuite into its only subclass
- Drop SnapshotHandler.withoutFinishedEvent (only used by the dropped
  aggregator)
- Drop a dead onFinished override in MinimizedSnapshotScipGenerator
The Bazel aspect at scip-java/src/main/resources/scip-java/scip_java.bzl
delegates per-target Java compilation to scip-java via
'scip-java index --scip-config=<file>', which was handled by
ScipBuildTool. Without it, the bazel_aspect CI job fails with
'found argument --scip-config which wasn't expected'.

This restores ScipBuildTool, BuildTool registration, Dependencies
helpers, and the related test infrastructure exactly as they were
before the previous two commits. The rest of the cleanup
(IndexDependencyCommand removal, library snapshot fixtures, snapshot
infrastructure simplification, jq removal, IndexCommand @description
fix) is preserved.
@jupblb jupblb closed this May 27, 2026
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