Skip to content

Conversation

@avrabe
Copy link
Contributor

@avrabe avrabe commented Nov 26, 2025

Summary

  • Remove the deprecated Rust-based tools/file_operations_component directory
  • Move WIT interface definition to tools/file_ops/wit/
  • Update all toolchain references to use the new WIT location
  • Update dual_implementation tests to use Go implementation
  • Remove dependabot entry for deleted Cargo.toml

Context

The Rust file_operations_component has been superseded by:

  • tools/file_ops - Go implementation (current production path)
  • tools/file_ops_external - WASM component with AOT compilation (preferred path)

The Rust implementation was not actually used by the production toolchain. Only the WIT interface file was referenced, which has been moved to tools/file_ops/wit/.

This removes ~600 lines of unused Rust code and simplifies the file operations toolchain architecture.

Test plan

  • Verify bazel build //tools/file_ops:file_ops //tools/file_ops:wit_files succeeds
  • Verify bazel build //test/dual_implementation:all succeeds
  • CI passes

Related

Closes PR #214 (wit-bindgen update for file_operations_component) as obsolete

The Rust-based file_operations_component has been superseded by:
- tools/file_ops (Go implementation) - current production path
- tools/file_ops_external (WASM component with AOT) - preferred path

Changes:
- Delete tools/file_operations_component directory (Rust CLI)
- Move WIT interface definition to tools/file_ops/wit/
- Update all toolchain references to use //tools/file_ops:wit_files
- Update dual_implementation tests to use Go implementation
- Remove dependabot entry for deleted Cargo.toml

This removes ~600 lines of unused Rust code and simplifies the
file operations toolchain architecture.
@avrabe avrabe merged commit 7a269c8 into main Nov 26, 2025
25 checks passed
@avrabe avrabe deleted the remove-file-operations-component branch November 26, 2025 05:58
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.

2 participants