Skip to content

Conversation

@mamcx
Copy link
Contributor

@mamcx mamcx commented Jul 4, 2023

Description of Changes

Ok I see why is failing, in ModuleDef.tables is TableDef and there are the new fields I added and they can't read back the value. Now the issue is that requires some kind of migration if the idea is to survive. I remove the crash, and the server output the error but the client gets a blank error:

--SERVER
2023-07-04T16:21:14.575327Z ERROR crates/client-api/src/lib.rs:153: internal error: error getting module description: error decoding module description: DecodeError for StTableType: ``. Expected 'system' | 'user': error decoding module description: DecodeError for StTableType: ``. Expected 'system' | 'user': DecodeError for StTableType: ``. Expected 'system' | 'user'

--CLIENT

➜ spacetime publish
    Finished dev [unoptimized + debuginfo] target(s) in 0.31s
Error:

API

  • This is a breaking change to the module API
  • This is a breaking change to the ClientAPI

If the API is breaking, please state below what will break

@mamcx mamcx requested a review from cloutiertyler July 4, 2023 16:49
@mamcx mamcx enabled auto-merge (squash) July 4, 2023 16:50
@mamcx mamcx merged commit aef807b into master Jul 4, 2023
bfops added a commit that referenced this pull request Jul 16, 2025
* Lint script

* modernize: pnpm & prettier (#51)

* Push

* Push

* Run prettier

* Prettier stuff

* modernize: Remove Husky & pre-commit (#53)

* modernize: tsup (#54)

* Push

* jest

* modernize: jest to vitest (#55)

* modernize: pnpm workspace (#56)

* Monorepo

* Readme

* Move tsconfig

* Fix test

* modernize: CRA -> Vite apps (#57)

* Quickstart

* test app too

* Run pnpm

* Remove eslint files

* Format

* modernize: ES2017 classes (#58)

* modernize: in-house EventEmitter (#64)

* Push

* Undo min change

* modernize: undici for WebSocket in Node (#59)

* Use undici, remove other unneeded dependencies

* pnpm install

* Bundle everything

* Move everything to devDependency

* headers object

* Bump version to 0.11.0

* Push

* Hmm not working still

* Add undici to peerDependencies

* Measure size

* Push

* Fix formatting

* Working on node!!

---------

Co-authored-by: Zeke Foppa <github.com/bfops>
Co-authored-by: Zeke Foppa <[email protected]>

* modernize: Single output (#68)

* modernize: quickstart, move server into client (#69)

* Push

* Run pnpm install

* modernize: Engines field (#70)

* modernize: Continuous Releases (#71)

* Add pkg.pr.new

* Fix directory

* modernize: Changesets;provenance (#72)

* Push

* Push

* pnpm install

* Any update

* modernize: Split lint and test GH actions (#73)

* Push

* Forgot to rename

* We only care about Lint at commit level

* modernize: pkg.pr.new compact mode (#75)

* modernize: tweak prettier configuration (#74)

* docs: Undici as peerDependency

* modernize: webpackIgnore undici (#77)

* Push

* Webpackignore

* modernize: Conditional browser build (#79)

* Push

* Remove webpackIgnore

* fix: Remove obsolete comment

* modernize: isolatedDeclarations;de-cyclic imports (#81)

* Push

* Fix test

---------

Co-authored-by: Zeke Foppa <[email protected]>
bfops added a commit that referenced this pull request Jul 17, 2025
* [bfops/docs]: empty

* [bfops/docs]: one more fix

---------

Co-authored-by: Zeke Foppa <github.com/bfops>
bfops added a commit that referenced this pull request Aug 7, 2025
* Lint script

* modernize: pnpm & prettier (#51)

* Push

* Push

* Run prettier

* Prettier stuff

* modernize: Remove Husky & pre-commit (#53)

* modernize: tsup (#54)

* Push

* jest

* modernize: jest to vitest (#55)

* modernize: pnpm workspace (#56)

* Monorepo

* Readme

* Move tsconfig

* Fix test

* modernize: CRA -> Vite apps (#57)

* Quickstart

* test app too

* Run pnpm

* Remove eslint files

* Format

* modernize: ES2017 classes (#58)

* modernize: in-house EventEmitter (#64)

* Push

* Undo min change

* modernize: undici for WebSocket in Node (#59)

* Use undici, remove other unneeded dependencies

* pnpm install

* Bundle everything

* Move everything to devDependency

* headers object

* Bump version to 0.11.0

* Push

* Hmm not working still

* Add undici to peerDependencies

* Measure size

* Push

* Fix formatting

* Working on node!!

---------

Co-authored-by: Zeke Foppa <github.com/bfops>
Co-authored-by: Zeke Foppa <[email protected]>

* modernize: Single output (#68)

* modernize: quickstart, move server into client (#69)

* Push

* Run pnpm install

* modernize: Engines field (#70)

* modernize: Continuous Releases (#71)

* Add pkg.pr.new

* Fix directory

* modernize: Changesets;provenance (#72)

* Push

* Push

* pnpm install

* Any update

* modernize: Split lint and test GH actions (#73)

* Push

* Forgot to rename

* We only care about Lint at commit level

* modernize: pkg.pr.new compact mode (#75)

* modernize: tweak prettier configuration (#74)

* docs: Undici as peerDependency

* modernize: webpackIgnore undici (#77)

* Push

* Webpackignore

* modernize: Conditional browser build (#79)

* Push

* Remove webpackIgnore

* fix: Remove obsolete comment

* modernize: isolatedDeclarations;de-cyclic imports (#81)

* Push

* Fix test

---------

Co-authored-by: Zeke Foppa <[email protected]>
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.

3 participants