Koinos backend scaffold (Rust + axum) #3
Labels
No labels
area:agents
area:backend
area:clinical
area:dashboard
area:deploy
area:design
area:design-review
area:devices
area:docs
area:federation
area:identity
area:infra
area:interop
area:meta
area:security
area:sessions
area:web
area:webhook
area:workdir
type:bug
type:chore
type:epic
type:meta
type:user-story
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/koinos#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Goal
A minimal Rust backend binary that starts, reads configuration, exposes a health endpoint, and is wired into the Docker Compose deployment.
Acceptance criteria
Cargo layout
backend/workspace root with akoinosbinary crate and akoinos-corelibrary crate.rust-toolchain.toml.axum,tokio,tower,tracing,tracing-subscriber,serde,serde_yaml,sqlx(postgres),anyhow,thiserror,config.Runtime
GET /healthzreturns200with JSON{"status":"ok","version":"<pkg_version>","commit":"<git_sha>"}.GET /readyzreturns200only if DB reachable,503otherwise.tracing-subscriber.Configuration
koinos.yaml→ env (KOINOS__*).Container
Dockerfilemulti-stage (cargo-chef for caching) producing a ~30 MB runtime image.Tests
/healthz.Out of scope
References
spec/03-architecture/01-overview.md§3 (Koinos backend).spec/08-roadmap-mvp.md— step #3.