clockworklabs / clockworklabs/SpacetimeDB

Classify snapshot worker failures for logging

Open Beginner friendly
#5,693 0 comments 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

Follow-up from https://github.com/clockworklabs/SpacetimeDB/pull/5640.

SnapshotWorkerActor::run in crates/engine/src/snapshot.rs, lifecycle conditions and snapshot creation failures share one anyhow::Error warning. Split lifecycle conditions to warn! or lower and snapshot creation or sync failures to error!.

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

Read SnapshotWorkerActor::run in crates/engine/src/snapshot.rs and trace how lifecycle conditions, snapshot creation failures, and sync failures currently share the warning. Done means lifecycle conditions use warn! or a lower level, while snapshot creation and sync failures use error!.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
78/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.