Skip to content

chore(contract): regenerate types for the 1.27.0 journey descriptions - #64

Merged
liady merged 1 commit into
mainfrom
chore/contract-1.27.0-descriptions
Oct 10, 2026
Merged

liady merged 1 commit into
mainfrom
chore/contract-1.27.0-descriptions

Conversation

@liady

@liady liady commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

What

This regenerates src/contract/types.gen.ts from the spec ora.ai serves now. ora #1266 rewrote the journey descriptions in that spec: they now say to hold the run stream open until its result or error frame, because polling only reads a run the stream already saved. The contract version stays 1.27.0 and no field or shape changes, so CLI output and exit codes are unchanged. This turns the "Contract drift vs production" job green again; it has been failing since #1266 deployed.

Why

The drift job compares the generated types, descriptions included, with the production spec.

Checks

  • Generated with pnpm contract:gen against production; only @description lines changed.
  • Behavior change is covered by a test (or explain why not): no behavior change, generated types only.

eralabs-ai/ora#1266 rewrote three journey descriptions in the served spec (hold the stream to its end; polling only reads what a stream saved) without a version bump, which turns the contract drift job red. Descriptions only.
@liady
liady requested a review from a team as a code owner October 6, 2026 23:40
@liady
liady merged commit edc5c11 into main Oct 10, 2026
11 checks passed
@liady
liady deleted the chore/contract-1.27.0-descriptions branch October 10, 2026 11:24
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