Skip to content

feat: define stable frontend facade#247

Open
artrixdotdev wants to merge 3 commits into
mainfrom
feat/define-stable-frontend-facade
Open

feat: define stable frontend facade#247
artrixdotdev wants to merge 3 commits into
mainfrom
feat/define-stable-frontend-facade

Conversation

@artrixdotdev

@artrixdotdev artrixdotdev commented Jul 2, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a public facade module for frontend-facing handles, typed torrent sources, commands, events, and snapshots.
  • Re-export facade types through the current prelude while leaving export narrowing to Narrow libtortillas public exports and prelude to stable frontend API #223.
  • Map existing engine/torrent exports into frontend snapshots and document the facade entrypoint in crate rustdoc.

Tests

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo nextest run --workspace
  • cargo test -p libtortillas --doc

Closes #222

@coderabbitai

coderabbitai Bot commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@artrixdotdev, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 48 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 82a4e7c0-4c1b-4a7a-9573-7b355664415c

📥 Commits

Reviewing files that changed from the base of the PR and between 7797155 and 182b691.

📒 Files selected for processing (3)
  • crates/libtortillas/src/facade.rs
  • crates/libtortillas/src/lib.rs
  • crates/libtortillas/tests/facade.rs
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/define-stable-frontend-facade

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Define stable frontend facade for libtortillas

1 participant