Establish reproducible Rust/React baseline and CI #37

Merged
amiryahaya merged 2 commits from feat/6-repository-baseline-ci into main 2026-10-21 20:54:07 +02:00
Owner

Summary

Establish a reproducible checkout and CI checks for the initial Rust/React foundation. Refs #6.

.forgejo/workflows/ci.yml   Rust + web checks on push/PR/manual dispatch
rust-toolchain.toml        Rust 1.94.1 with Clippy/rustfmt
.node-version              Node 22.23.2 (npm 10.9.8)
crates/ + web/              Reviewed existing scaffolding and dependency locks
compose.yaml               Synthetic, loopback-only PostgreSQL/Qdrant
README.md + docs/          Setup, limitations, delivery plan and backlog

CI uses immutable action revisions and locked dependency installation. Existing application behavior is preserved. Raise the previously unverified Rust floor from 1.85 to the tested 1.94.1. Supporting an older compiler requires separate evidence.

Evidence

  • Before: main contained requirements/design/research documents only; application scaffolding was untracked and no CI workflow existed.
    After: baseline source and locks are committed; local and clean-checkout verification pass.
  • cargo fmt --all -- --check — pass.
  • cargo clippy --workspace --all-targets --locked -- -D warnings — pass.
  • cargo test --workspace --locked — all 16 tests pass.
  • npm ci --no-audit --no-fund, npm run typecheck, npm run build — pass.
  • Repeated checks from a clean Linux ARM64 source snapshot in the exact workflow container with fresh Rust/npm dependency installation — pass.
  • Clean committed checkout tests/build, Compose validation, normalized actionlint and version/lock consistency — pass.
  • Independent code review — no Critical, Important or Minor findings.
  • Hosted Forgejo checks passed for commit 76bee40d9668f60235a6b0c7470444057c33acf1: push run and PR run. Both Rust and web jobs succeeded on an instance runner. Keep #6 open until this PR is reviewed and merged.

No product behavior was added, so configuration changes were verified directly rather than adding tests that inspect YAML. API readiness remains startup-only; database migrations and production identity/retrieval/inference are not connected.

Merge Danger

Door: two-way

Blast Radius: foundation

Adds the baseline application and CI configuration. No deployment, production data or migration execution occurs. Requires a matching Linux Docker-capable Forgejo runner.

## Summary Establish a reproducible checkout and CI checks for the initial Rust/React foundation. Refs #6. ```text .forgejo/workflows/ci.yml Rust + web checks on push/PR/manual dispatch rust-toolchain.toml Rust 1.94.1 with Clippy/rustfmt .node-version Node 22.23.2 (npm 10.9.8) crates/ + web/ Reviewed existing scaffolding and dependency locks compose.yaml Synthetic, loopback-only PostgreSQL/Qdrant README.md + docs/ Setup, limitations, delivery plan and backlog ``` CI uses immutable action revisions and locked dependency installation. Existing application behavior is preserved. Raise the previously unverified Rust floor from 1.85 to the tested 1.94.1. Supporting an older compiler requires separate evidence. ## Evidence - **Before:** main contained requirements/design/research documents only; application scaffolding was untracked and no CI workflow existed. **After:** baseline source and locks are committed; local and clean-checkout verification pass. - `cargo fmt --all -- --check` — pass. - `cargo clippy --workspace --all-targets --locked -- -D warnings` — pass. - `cargo test --workspace --locked` — all 16 tests pass. - `npm ci --no-audit --no-fund`, `npm run typecheck`, `npm run build` — pass. - Repeated checks from a clean Linux ARM64 source snapshot in the exact workflow container with fresh Rust/npm dependency installation — pass. - Clean committed checkout tests/build, Compose validation, normalized actionlint and version/lock consistency — pass. - Independent code review — no Critical, Important or Minor findings. - Hosted Forgejo checks passed for commit `76bee40d9668f60235a6b0c7470444057c33acf1`: [push run](https://forgejo.primatekun.tech/primatekuntech/rag-rust/actions/runs/1) and [PR run](https://forgejo.primatekun.tech/primatekuntech/rag-rust/actions/runs/2). Both Rust and web jobs succeeded on an instance runner. Keep #6 open until this PR is reviewed and merged. No product behavior was added, so configuration changes were verified directly rather than adding tests that inspect YAML. API readiness remains startup-only; database migrations and production identity/retrieval/inference are not connected. ## Merge Danger **Door:** two-way **Blast Radius:** foundation Adds the baseline application and CI configuration. No deployment, production data or migration execution occurs. Requires a matching Linux Docker-capable Forgejo runner.
Add Forgejo Rust and web checks with pinned toolchains and locked dependencies. Preserve reviewed scaffolding and document local setup, runner requirements and staged delivery.

Refs #6
docs: record baseline verification and review evidence
All checks were successful
CI / Web checks (pull_request) Successful in 50s
CI / Web checks (push) Successful in 1m28s
CI / Rust checks (push) Successful in 2m43s
CI / Rust checks (pull_request) Successful in 2m29s
76bee40d96
amiryahaya changed title from WIP: Establish reproducible Rust/React baseline and CI to Establish reproducible Rust/React baseline and CI 2026-10-21 20:53:52 +02:00
Sign in to join this conversation.
No description provided.