clockworklabs / clockworklabs/SpacetimeDB

Implement `pre-publish` ONLY in CLI for checking e.g. in CI

Open
#3,439 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
25.2k
Forks
1.1k
Avg merge
2d 7h
Merged PRs (30d)
46

Description

Either spacetime publish should have a --check or --dry-run flag, or a spacetime pre-publish (or validate) subcommand should exist, acting similarly to publish in terms of /pre-publish but without actually calling the /publish endpoint.

This will be useful for CI purposes, allowing for changes validation (e.g. missing #[default]s).

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

Start by tracing the CLI implementation of spacetime publish and how it calls /pre-publish before /publish. Define the chosen --check, --dry-run, or validation-subcommand behavior, then verify that CI can run the pre-publish checks without calling /publish, including validation such as missing #[default]s.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.