Iteration1: build and deploy #3

Merged
prskr merged 5 commits from iter1/build-and-deploy into main 2026-10-18 11:24:55 +00:00
Owner
No description provided.
- Hermetic Bazel module supporting multi-arch (Linux amd64/arm64) builds via Debian Trixie sysroots and rules_rust/crate_universe
- Multi-arch OCI images built using rules_img for control plane, runtime, and test project
- Dark Factory Helm chart with ConfigMap lifecycle separation, DB migration hook, RBAC, and network policies
- Control plane listener supervision, 100ms accept backoff on EMFILE, and 502/503 proxy stubs
- SQL identifier validation and quoting for hyphenated database roles up to 63 bytes (NAMEDATALEN)
- df-web crate with compiled Tailwind CSS assets and safety checks against stale styles
- WASI component plugin for Forgejo and static runtime binaries (factory-agent, fake-acp-agent)
- Dev environment configuration and deployment automation script
- Add multitool.lock.json, generated by `cargo xtask update-tools`
  (tools/xtask) for helm, helm-unittest, kubeconform, kube-linter, yq,
  shellcheck, kingfisher and cargo-deny
- Expose pinned tools (incl. Bazel's Rust toolchain) via //:bazel_env,
  .envrc and build/with_tools.sh; lefthook hooks use the pinned tools
- Pin rust-toolchain.toml to the Bazel Rust version
- Make helm_chart_test hermetic (drop ruby), add helm_chart_unittest and
  kube-linter checks
- Chart: explicit RollingUpdate, PDB unhealthyPodEvictionPolicy, migrate
  Job resources and kube-linter ignore annotations

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Check Rust formatting with rules_rust's rustfmt aspect (--config=fmt);
  the standalone Bazel rustfmt binary is not runnable
- Pin lefthook via multitool
- Add rules_buf: buf toolchain on PATH via bazel_env, proto_library
  targets, buf_lint_test and buf_format, buf.yaml (STANDARD minus the
  agent stream naming rules)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Fetch the Kubernetes and cert-manager JSON schemas via git_repository
(pinned commits) and point kubeconform at them, so the chart test needs
no network and no longer skips unknown kinds.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Pin the three tools via multitool and run them in pre-commit. Configure
typos (exclude vendored WIT deps), hadolint (ignore DL3008) and
cargo-machete (ignore deps used only by generated code or declared ahead
of use in stubs). Drop the taplo wishlist entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
prskr merged commit 9192c1ef0d into main 2026-10-18 11:24:55 +00:00
prskr deleted branch iter1/build-and-deploy 2026-10-18 11:24:56 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prskr/dark-factory!3
No description provided.