Skip to content

Commit 303e1b6

Browse files
authored
Merge branch 'spacedriveapp:main' into nix-build-support
2 parents c6ad2da + fc1c811 commit 303e1b6

77 files changed

Lines changed: 3638 additions & 1236 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [main]
6+
pull_request:
7+
branches: [main]
8+
9+
env:
10+
CARGO_TERM_COLOR: always
11+
RUSTFLAGS: "-Dwarnings"
12+
13+
jobs:
14+
check:
15+
name: Check & Clippy
16+
runs-on: ubuntu-24.04
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Install protoc
21+
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
22+
23+
- uses: dtolnay/rust-toolchain@stable
24+
with:
25+
components: clippy
26+
27+
- uses: Swatinem/rust-cache@v2
28+
29+
- name: cargo check
30+
run: cargo check --all-targets
31+
32+
- name: cargo clippy
33+
run: cargo clippy --all-targets
34+
35+
fmt:
36+
name: Format
37+
runs-on: ubuntu-24.04
38+
steps:
39+
- uses: actions/checkout@v4
40+
41+
- uses: dtolnay/rust-toolchain@stable
42+
with:
43+
components: rustfmt
44+
45+
- name: cargo fmt
46+
run: cargo fmt --all -- --check
47+
48+
test:
49+
name: Test
50+
runs-on: ubuntu-24.04
51+
steps:
52+
- uses: actions/checkout@v4
53+
54+
- name: Install protoc
55+
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler
56+
57+
- uses: dtolnay/rust-toolchain@stable
58+
59+
- uses: Swatinem/rust-cache@v2
60+
61+
- name: cargo test (lib)
62+
run: cargo test --lib

AGENTS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,8 @@ Phase 6 — Hardening:
341341

342342
**Don't abbreviate variable names.** `queue` not `q`, `message` not `msg`, `channel` not `ch`. Common abbreviations like `config` are fine.
343343

344+
**Don't add new features without updating existing docs.** When a feature change affects user-facing configuration, behaviour, or architecture, update the relevant existing documentation (`README.md`, `docs/`) in the same commit or PR. Don't create new doc files for this — update what's already there.
345+
344346
## Patterns to Implement
345347

346348
These are validated patterns from research (see `docs/research/pattern-analysis.md`). Implement them when building the relevant module.

0 commit comments

Comments
 (0)