aglinxinyuan opened a new pull request, #9251:
URL: https://github.com/apache/texera/pull/9251
### What changes were proposed in this PR?
Removes the obsolete pre-LakeFS local-git dataset storage package in
`common/workflow-core`:
- Drops `GitVersionControlLocalFileStorage.java` (-210 lines).
- Drops `JGitVersionControl.java` (-248 lines).
- Drops `PhysicalFileNode.java` (-109 lines).
- Drops companion unit test suites (-1,061 lines):
-
`amber/src/test/java/org/apache/texera/web/resource/dashboard/user/dataset/GitVersionControlLocalFileStorageSpec.java`
-
`common/workflow-core/src/test/scala/org/apache/texera/amber/core/storage/util/dataset/GitVersionControlLocalFileStorageSpec.scala`
-
`common/workflow-core/src/test/scala/org/apache/texera/amber/core/storage/util/dataset/JGitVersionControlSpec.scala`
-
`common/workflow-core/src/test/scala/org/apache/texera/amber/core/storage/util/dataset/PhysicalFileNodeSpec.scala`
The local-git dataset versioning architecture was completely superseded by
LakeFS / Iceberg storage (`LakeFSStorage`, `IcebergCatalogInstance`,
`IcebergDocument`), leaving this package with zero callers across active engine
and services.
**+0/-1,628 lines.** Pure refactoring with no behavior change.
### Any related issues, documentation, discussions?
Closes #9249.
### How was this PR tested?
- Scalafmt check passed:
```bash
sbt "project WorkflowCore" scalafmtCheck "Test / scalafmtCheck"
sbt "project WorkflowExecutionService" scalafmtCheck "Test / scalafmtCheck"
```
- WorkflowCore and Amber compilation passed:
```bash
sbt "project WorkflowCore" compile Test/compile
sbt "project WorkflowExecutionService" Test/compile
```
- WorkflowCore unit tests passed (715 tests, 47 suites):
```bash
sbt "project WorkflowCore" test
```
- Verified 0 callers repo-wide across all 3,517 files.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Antigravity 2.0
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]