fix(sdk): surface Sent/Queued on send(), and build the SDK in CI
Node::send() became Result<OutboxStatus, String> in the local-outbox work, which broke crates/onionwire-sdk — and nothing noticed, because the SDK is a separate cargo workspace that root CI never compiles. - Wire::send() returns WResult<SendState> (Sent | Queued) - ChatMessage.delivery for outgoing rows - New sdk job in ci.yml (own target volume; rustls workspace) - Refresh SDK Cargo.lock + README (SQLCipher / outbox facts) Rebased onto main after #50/#54: no src/node.rs changes (WAL checkpoint lives in Store now). README at-rest claims kept from #55.
This commit is contained in:
parent
997b554bf1
commit
f2dcd79d5c
5 changed files with 207 additions and 27 deletions
|
|
@ -304,7 +304,7 @@ FORGEJO_TOKEN=<pat> scripts/build-release-local.sh vX.Y.Z
|
|||
|
||||
Workflows (Forgejo Actions, `.forgejo/workflows/`):
|
||||
|
||||
- [`.forgejo/workflows/ci.yml`](.forgejo/workflows/ci.yml) — `cargo test --locked` + `cargo clippy --all-targets -- -D warnings` on `main` and PRs when `src/`, `crates/`, `tests/`, `Cargo.toml`, `Cargo.lock`, or this workflow change (ignored Tor-live tests are not run). `workflow_dispatch` always runs the suite. Pi runner, `docker` label.
|
||||
- [`.forgejo/workflows/ci.yml`](.forgejo/workflows/ci.yml) — two jobs on the Pi runner (`docker` label), serialized by `onionwire-ci-pi`. `test`: `cargo test --locked` + `cargo clippy --all-targets -- -D warnings` at the repo root. `sdk`: the same for `crates/onionwire-sdk` (separate cargo workspace — own `Cargo.lock`, root crate by path, `rustls` instead of `native-tls` — so a root signature change cannot silently break the Android SDK). Both run on `main` and PRs when `src/`, `crates/`, `tests/`, `Cargo.toml`, `Cargo.lock`, or this workflow change (ignored Tor-live tests are not run). `workflow_dispatch` always runs the suite.
|
||||
- [`.forgejo/workflows/release.yml`](.forgejo/workflows/release.yml) — manual, batched release (`workflow_dispatch` only: `dry_run`, `bump`, `version`, `tag`): next tag, aarch64 (`docker`) + x86_64 (`docker-amd64`), one release, fail-closed tag delete on failure. Dispatch [`android-release.yml`](.forgejo/workflows/android-release.yml) with that tag to add the APK + AAR (no automatic trigger fires on this Forgejo; it is `workflow_dispatch` only). Concurrency group `onionwire-ci-pi` (same as `ci.yml`, `cancel-in-progress: false`) so cargo jobs do not overlap on the Pi. Amd64 dind is serialized by runner `capacity=1`.
|
||||
|
||||
Scripts:
|
||||
|
|
|
|||
Loading…
Reference in a new issue