Skip to content

Add small module-test* as a compile check for http handlers#5330

Open
JasonAtClockwork wants to merge 1 commit into
masterfrom
jlarabie/module-test-http-handlers
Open

Add small module-test* as a compile check for http handlers#5330
JasonAtClockwork wants to merge 1 commit into
masterfrom
jlarabie/module-test-http-handlers

Conversation

@JasonAtClockwork

Copy link
Copy Markdown
Contributor

Description of Changes

HTTP handlers already have smoketest coverage, but in order to add to module-tests all languages had to have parity as module-test has a check to ensure schemas match.

The existing integration tests using module-test load SpacetimeDB in memory, expanding these tests would require significant and potentially ugly work to handle hosting for HTTP handlers. Instead, this PR adds compile-only for each module-test with a matching handler + route.

API and ABI breaking changes

N/A

Expected complexity level and risk

1 - tiny addition to module-test for all languages

Testing

  • cargo test -p spacetimedb-schema module_test
  • cargo test -p spacetimedb-testing

@JasonAtClockwork JasonAtClockwork self-assigned this Jun 15, 2026
@JasonAtClockwork JasonAtClockwork marked this pull request as ready for review June 15, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant