Extract tercen SDK into standalone tercen-rs crate#4
Merged
tsmonteiro merged 3 commits intomainfrom Mar 2, 2026
Merged
Conversation
Move all Tercen SDK modules (gRPC client, data streaming, context,
color handling, facets, pages, etc.) into the separate tercen-rs crate
and depend on it via path. Keep operator_properties locally as it
uses include_str!("../../operator.json") which is operator-specific.
- Replace all crate::tercen:: imports with tercen_rs::
- Remove build.rs and tercen_grpc_api submodule (now in tercen-rs)
- Handle DataFrame wrapping at boundaries (tercen-rs returns polars
DataFrame, wrapped to ggrs_core DataFrame where needed)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
These are no longer needed since proto compilation moved to the tercen-rs crate. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The operator.json container field must reference the branch-specific image tag so Tercen pulls the correct Docker image when installing from this branch. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tercen-rscrate, removing ~7,200 lines from the operatorcrate::tercen::imports withtercen_rs::and addtercen-rsas a path dependencybuild.rsandtercen_grpc_apisubmodule (proto compilation now lives intercen-rs)Test plan
cargo build --profile dev-releasesucceedscargo fmt && cargo clippy -- -D warnings && cargo test./test_local.sh cpuagainst a Tercen instance to confirm end-to-end rendering still works🤖 Generated with Claude Code