Repository navigation
chore(contract): regenerate types for contract 1.27.0 - #62
Merged
Merged
Conversation
Production ora moved to 1.27.0 with eralabs-ai/ora#1278, which turned the contract drift job red. Only version strings and two journey descriptions changed.
… 1.27.0 ora#1278 cut the anonymous journey cap from 200 to 20 runs per IP per 24h, and ora#1282 added a 3,000-a-day ceiling across all anonymous callers. The --help caps line, the rate-limit error hint and the README still said 200.
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.
What
This regenerates
src/contract/against contract 1.27.0, which ora.ai started serving after ora #1278 merged, and movesBUILT_AGAINSTfrom 1.26.0 to 1.27.0. Apart fromcontractVersion, only two journey description strings in the generated types changed: the anonymous per-IP run limit is now 20 runs per 24 hours, down from 200. No field or shape changed. The PR also corrects the CLI's own text for that limit: thedeep-journeycaps line in--helpand the command output, the rate-limit error hint, and the README now say 20 runs per IP per 24h, and the README names the 3,000-a-day anonymous ceiling from ora #1282. Exit codes are unchanged, and users on this build stop seeing the "newer contract" stderr advisory. It turns the "Contract drift vs production" job green again; that job is currently failing on every open PR, including #61.Why
The drift job is the alarm for "ora shipped a contract this build was not generated against".
Checks
pnpm lintandpnpm test:cipass locally, exceptsrc/tunnel/, whose@ora-ai/tunnel-protocoldev dependency isn't installed in my checkout.