clockworklabs / clockworklabs/SpacetimeDB

spacetime dev issues

Open
#3,579 3 comments 0 reactions 0 assignees View on GitHub

A pull request for this has already been merged.

  • #3601 by @cloutiertyler — merged
Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

issues i currently have are:

  • no docs that explains the setup of spacetime dev (not found in https://spacetimedb.com/docs/cli-reference or somewhere i could find)
  • that --database name and --client-lang name has to be written every the time or it will use a random new db name and the same client language as the module even if other language files are already in the module bindings
  • that spacetime dev is creating another project folder and thus requires a vscode restart to that sub folder or it won't run the next time the cli is called
  • it doesn't handle table/type changes and migrations and just fails to publish without asking to do -c publish
    • to fix that you need to
      • cancel dev
      • cd into the spacetimedb sub folder
      • run publish with -c
      • cd out again
      • run spacetime dev --dbname x --client-lang y again
      • (or have a separate terminal open for manual publish)

what i wish it had:

  • remembering the db name
    • for now asking the name would be fine but currently it is choosing a new rng name each time creating new modules on the maincloud or localhost.
  • remembering the client language or use the language of the existing module_bindings files
  • choose to not create module_bindings automatically for clients that have their own code gen setup (custom sdk and so on).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by tracing the spacetime dev CLI workflow for database naming, client-language selection, project-folder creation, and publish failures; done would require resolving the reported workflow problems and supporting the requested configuration behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
cli, database
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.