Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
0caa600
[SLOP(claude-opus-4-8)] fix(kitchen-sink): serve built frontend from …
MasterPtato Jun 19, 2026
c40c936
[SLOP(claude-opus-4-8-medium)] chore: add profiling cargo profile for…
MasterPtato Jun 19, 2026
9ff6358
Add observation and ser/de metrics for serde calls
MasterPtato Jun 23, 2026
885cd03
Add observation for serde_bare
MasterPtato Jun 23, 2026
7717f5d
[SLOP(claude-opus-4-8)] feat(rivetkit-core): add serde duration and s…
MasterPtato Jun 23, 2026
c6eeb2a
[SLOP(claude-opus-4-8)] feat(util): add rate limiter primitive and in…
MasterPtato Jun 24, 2026
5c7f16e
[SLOP(claude-opus-4-8)] feat(pegboard-envoy): rate-limit envoy ws ing…
MasterPtato Jun 24, 2026
3063bd1
[SLOP(claude-opus-4-8-high)] feat(universaldb): postgres leader-resol…
MasterPtato Jun 24, 2026
2534d5c
[SLOP(claude-opus-4-8-high)] feat(ups): table-backed postgres transpo…
MasterPtato Jun 25, 2026
826a9de
[slopfix] test(universaldb): postgres leader failover + abort resolve…
MasterPtato Jun 25, 2026
833bfeb
[SLOP(claude-opus-4-8-high)] feat(universaldb): graceful postgres lea…
MasterPtato Jun 25, 2026
dce315d
[slopfix] fix(self-host): repair dev compose generation, kitchen-sink…
MasterPtato Jun 25, 2026
5dfeb48
[slopfix] docs(self-hosting): promote postgres from experimental to r…
MasterPtato Jun 25, 2026
a783a31
[SLOP(claude-opus-4-8-high)] perf(universaldb): batch leader apply an…
MasterPtato Jun 25, 2026
0c861be
[slopfix] perf(universaldb): fold postgres drain_batch into claim+nex…
MasterPtato Jun 26, 2026
c2f534e
[slopfix] refactor(universaldb,ups): single/multi-node udb over nats,…
MasterPtato Jun 29, 2026
711cbf5
[slopfix] fix(pegboard): decrement kv_storage_used metric on actor de…
MasterPtato Jul 1, 2026
ffb4bff
[slopfix] docs(self-hosting): correct postgres config format and docu…
MasterPtato Jul 7, 2026
9ee4cfe
chore: Clean up
MasterPtato Jul 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
29 changes: 22 additions & 7 deletions Cargo.lock

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

14 changes: 14 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ members = [
"engine/sdks/rust/depot-protocol",
"engine/sdks/rust/test-envoy",
"engine/sdks/rust/ups-protocol",
"engine/sdks/rust/universaldb-commit",
"rivetkit-rust/packages/actor-persist",
"rivetkit-rust/packages/client",
"rivetkit-rust/packages/engine-process",
Expand Down Expand Up @@ -655,6 +656,9 @@ members = [
[workspace.dependencies.rivet-ups-protocol]
path = "engine/sdks/rust/ups-protocol"

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

[profile.dev]
overflow-checks = false
# "line-tables-only" produces just the line-number DWARF needed for stack
Expand All @@ -672,6 +676,16 @@ lto = "fat"
codegen-units = 1
opt-level = 3

# Release-grade optimization with DWARF line info and no symbol stripping so
# heaptrack can resolve native allocation backtraces during leak investigation.
# Uses thin LTO and more codegen units to keep frames un-inlined and builds fast.
[profile.profiling]
inherits = "release"
debug = 1
lto = "thin"
codegen-units = 16
strip = false

[profile.quick]
inherits = "dev"
debug = false # no debug info → faster link, smaller binary
Expand Down
1 change: 0 additions & 1 deletion docs-internal/engine/TEST_DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Configure backends via environment variables:

- `RIVET_TEST_PUBSUB`: Choose pub/sub backend
- `nats` - Runs NATS in Docker
- `postgres_notify` - PostgreSQL in Docker
- `memory` - In-memory channels (default)

- `RUST_LOG`: Enable debug logs to see container lifecycle details
Expand Down
123 changes: 58 additions & 65 deletions engine/artifacts/config-schema.json

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

5 changes: 5 additions & 0 deletions engine/artifacts/errors/actor.creation_rate_limit.json

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

2 changes: 1 addition & 1 deletion engine/packages/api-peer/src/internal.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub async fn set_tracing_config(
body: SetTracingConfigRequest,
) -> Result<SetTracingConfigResponse> {
// Broadcast message to all services via UPS
let message = serde_json::to_vec(&body)?;
let message = rivet_util::serde::json_to_vec!(&body)?;

ctx.ups()?
.publish(TracingConfigSubject, &message, PublishOpts::broadcast())
Expand Down
6 changes: 3 additions & 3 deletions engine/packages/cache/src/req_config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ impl RequestConfig {
keys: cache_keys.clone(),
};

let payload = serde_json::to_vec(&message)?;
let payload = rivet_util::serde::json_to_vec!(&message)?;

if let Err(err) = ups
.publish(
Expand Down Expand Up @@ -495,12 +495,12 @@ impl RequestConfig {
keys,
getter,
|value: &Value| -> Result<Vec<u8>> {
serde_json::to_vec(&value)
rivet_util::serde::json_to_vec!(&value)
.map_err(Error::SerdeEncode)
.map_err(Into::into)
},
|value: &[u8]| -> Result<Value> {
serde_json::from_slice(value)
rivet_util::serde::json_from_slice!(value)
.map_err(Error::SerdeDecode)
.map_err(Into::into)
},
Expand Down
Loading
Loading