Skip to content

chore: RBS fixups#452

Open
chris-olszewski wants to merge 2 commits into
mainfrom
olszewski/feat_publish_types-rbs
Open

chore: RBS fixups#452
chris-olszewski wants to merge 2 commits into
mainfrom
olszewski/feat_publish_types-rbs

Conversation

@chris-olszewski
Copy link
Copy Markdown
Member

@chris-olszewski chris-olszewski commented Jun 3, 2026

What was changed

  • Generate some RBS for module Ruby files. This makes it easier to enforce a blanket "each ruby file has RBS and RBI types"
  • Tighten various untyped to known types
  • Add missing params
  • Fixup actual type mismatches that came up when working on the RBI typings

Why?

#410 will be very large regardless. I wanted to pull out any of the changes to existing code to a new PR to keep that one as focused on publishing RBI as possible.

Checklist

  1. Closes N/A

  2. How was this tested:
    bundle exec rake steep

  3. Any docs updates needed?
    N/A

@chris-olszewski chris-olszewski requested a review from a team as a code owner June 3, 2026 19:40
@chris-olszewski chris-olszewski marked this pull request as draft June 3, 2026 19:43

def fetch_history: (
?event_filter_type: Integer,
?skip_archival: bool,
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was just flat out missing

def code: -> Temporalio::Error::RPCError::Code::enum
def message: -> String
def details: -> String
def details: -> String?
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We explicitly pass None across the boundary from the Rust side:

@chris-olszewski chris-olszewski force-pushed the olszewski/feat_publish_types-rbs branch from f12459d to 66752b4 Compare June 3, 2026 20:09
@chris-olszewski chris-olszewski marked this pull request as ready for review June 3, 2026 20:12
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.

1 participant