Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pkg-pr-new.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ jobs:
find /tmp/inspector-repack -name '*.map' -delete
tar czf inspector.tar.gz -C /tmp/inspector-repack .
rm -rf /tmp/inspector-repack
- run: pnpm dlx pkg-pr-new publish 'shared/typescript/*' 'engine/sdks/typescript/runner/' 'engine/sdks/typescript/runner-protocol/' 'engine/sdks/typescript/envoy-client/' 'engine/sdks/typescript/envoy-protocol/' 'rivetkit-typescript/packages/*' --packageManager pnpm --template './examples/*'
- run: pnpm dlx pkg-pr-new publish 'shared/typescript/*' 'engine/sdks/typescript/envoy-client/' 'engine/sdks/typescript/envoy-protocol/' 'rivetkit-typescript/packages/*' --packageManager pnpm --template './examples/*'
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The `rivet.gg` domain is deprecated and should never be used in this codebase.
**Never modify an existing published `*.bare` runner protocol version unless explicitly asked to do so.**

- Add a new versioned schema instead, then migrate `versioned.rs` and related compatibility code to bridge old versions forward.
- When bumping the protocol version, update `PROTOCOL_MK2_VERSION` in `engine/sdks/rust/runner-protocol/src/lib.rs` and `PROTOCOL_VERSION` in `engine/sdks/typescript/runner/src/mod.ts` together. Both must match the latest schema version.
- When bumping the protocol version, update `PROTOCOL_MK2_VERSION` in `engine/packages/runner-protocol/src/lib.rs` and `PROTOCOL_VERSION` in `rivetkit-typescript/packages/engine-runner/src/mod.ts` together. Both must match the latest schema version.

**Keep the KV API in sync between the runner protocol and the KV channel protocol.**

Expand Down
149 changes: 111 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 7 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ members = [
"engine/packages/workflow-worker",
"engine/sdks/rust/api-full",
"engine/sdks/rust/data",
"engine/sdks/rust/engine-runner",
"engine/sdks/rust/envoy-client",
"engine/sdks/rust/envoy-protocol",
"engine/sdks/rust/epoxy-protocol",
"engine/sdks/rust/kv-channel-protocol",
"engine/sdks/rust/runner-protocol",
"engine/packages/runner-protocol",
"engine/sdks/rust/test-envoy",
"engine/sdks/typescript/test-envoy-native",
"engine/sdks/rust/ups-protocol"
]

Expand Down Expand Up @@ -509,17 +509,14 @@ members = [
[workspace.dependencies.rivet-kv-channel-protocol]
path = "engine/sdks/rust/kv-channel-protocol"

[workspace.dependencies.rivet-engine-runner]
path = "engine/sdks/rust/engine-runner"

[workspace.dependencies.rivet-envoy-client]
path = "engine/sdks/rust/envoy-client"

[workspace.dependencies.rivet-envoy-protocol]
path = "engine/sdks/rust/envoy-protocol"

[workspace.dependencies.rivet-runner-protocol]
path = "engine/sdks/rust/runner-protocol"
path = "engine/packages/runner-protocol"

[workspace.dependencies.rivet-test-envoy]
path = "engine/sdks/rust/test-envoy"

[workspace.dependencies.rivet-ups-protocol]
path = "engine/sdks/rust/ups-protocol"
Expand Down
6 changes: 3 additions & 3 deletions engine/CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ When changing a versioned VBARE schema, follow the existing migration pattern.
3. Verify the affected Rust crate still builds.
4. For the runner protocol specifically:
- Bump both protocol constants together:
- `engine/sdks/rust/runner-protocol/src/lib.rs` `PROTOCOL_MK2_VERSION`
- `engine/sdks/typescript/runner/src/mod.ts` `PROTOCOL_VERSION`
- Update the Rust latest re-export in `engine/sdks/rust/runner-protocol/src/lib.rs` to the new generated module.
- `engine/packages/runner-protocol/src/lib.rs` `PROTOCOL_MK2_VERSION`
- `rivetkit-typescript/packages/engine-runner/src/mod.ts` `PROTOCOL_VERSION`
- Update the Rust latest re-export in `engine/packages/runner-protocol/src/lib.rs` to the new generated module.

## Epoxy durable keys

Expand Down
7 changes: 5 additions & 2 deletions engine/docker/dev-host/docker-compose.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions engine/docker/dev-host/rivet-engine/config.jsonc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading