Skip to content

Conversation

h4n0
Copy link
Collaborator

@h4n0 h4n0 commented Oct 2, 2025

PR Summary

This pull request introduces integration tests for the Rust client generator in the baml repository. The primary goal is to ensure that the Rust client generator produces correct and reliable client code by testing its functionality against a suite of integration scenarios.

Key Changes

  • Adds integration tests specifically targeting the Rust client generator.
  • Verifies correctness of generated client code in various usage scenarios.
  • Establishes a foundation for future enhancements and automated verification of Rust client generation.

Next Steps

  • Add media types support

CeciliaZ030 and others added 30 commits August 19, 2025 22:09
- Add BAML-RUST.md: Comprehensive analysis of Rust client implementation approach
- Add BAML-GO.md: Deep dive into Go client FFI architecture and performance
- Document why OpenAPI-generated Rust clients are limited (~60% feature loss)
- Outline implementation plan for native Rust client generator
- Compare direct FFI clients vs HTTP-based clients

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Refactor Rust client generation templates for improved code structure
- Remove redundant runtime.rs.j2 template
- Update generator configuration to support Rust client output
- Add Rust generator to BAML test configuration

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
➜  generators: ✗ cargo test --package generators-rust
…ample (failing) semantic_streaming and unions
h4n0 added 2 commits October 2, 2025 15:37
- Keep newer protoc versions (v1.36.9, v6.31.1) from HEAD
- Keep unsafe import and protobuf imports from HEAD
- Use mise-based commands from upstream/canary for Go generator
- Preserve lang_rust generator from HEAD
Copy link

LGTM 👍

@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 2, 2025 13:57 — with GitHub Actions Inactive
@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 2, 2025 13:57 — with GitHub Actions Inactive
@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 2, 2025 13:57 — with GitHub Actions Inactive
Copy link

vercel bot commented Oct 2, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
promptfiddle Ready Ready Preview Comment Oct 6, 2025 3:11pm

Copy link

github-actions bot commented Oct 2, 2025

Copy link

github-actions bot commented Oct 2, 2025

1. adding TypeNonStreaming::Top and TypeStreaming::Top (which we my need
to handle better)
2. Tags in CffiFunctionArguments comming from CffiMapEntry
@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 2, 2025 20:09 — with GitHub Actions Inactive
@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 2, 2025 20:09 — with GitHub Actions Inactive
@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 2, 2025 20:09 — with GitHub Actions Inactive
Copy link

github-actions bot commented Oct 2, 2025

Copy link

github-actions bot commented Oct 2, 2025

@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 6, 2025 14:54 — with GitHub Actions Inactive
@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 6, 2025 14:54 — with GitHub Actions Inactive
@h4n0 h4n0 temporarily deployed to boundary-tools-dev October 6, 2025 14:54 — with GitHub Actions Inactive
Copy link

github-actions bot commented Oct 6, 2025

Copy link

github-actions bot commented Oct 6, 2025

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