Skip to content

Database-specific Timestamp route#2864

Merged
gefjon merged 3 commits into
masterfrom
phoebe/database-timestamp-route
Jun 13, 2025
Merged

Database-specific Timestamp route#2864
gefjon merged 3 commits into
masterfrom
phoebe/database-timestamp-route

Conversation

@gefjon

@gefjon gefjon commented Jun 13, 2025

Copy link
Copy Markdown
Contributor

Description of Changes

Replaces /unstable/timestamp with /v1/database/:name_or_identity/unstable/timestamp. This behaves the same as the previous version in SpacetimeDB-standalone (other than 404ing when passed a non-existent database name), but in SpacetimeDB-cloud allows the request to be routed to the node running the requested database's leader instance.

BitCraft intends to use this for latency compensation somehow.

API and ABI breaking changes

The modified API is explicitly marked unstable and has not yet been included in a release.

Expected complexity level and risk

1

Testing

  • Smoketest modified and expanded to cover new behavior.

@gefjon gefjon added this pull request to the merge queue Jun 13, 2025
Merged via the queue into master with commit 1e3e8db Jun 13, 2025
20 checks passed
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.

2 participants