Allow server crate builds without a prebuilt web bundle #69
Loading…
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?
Problem and evidence
crates/server/build.rs:6-9exits whenweb/index.htmlis absent and tells the developer to runscripts/build-web. The architecture review's coldcargo build -p infraternal-serverspent 658.361 s compiling dependencies before failing with that prerequisite. This is a failed cold build, not a successful Rust-only timing.Recommendation
Separate the server library's compile/test prerequisites from the top-level binary's embedded-web requirement. Keep production binary assembly dependent on the real web build and retain the production-browser gate against the real binary.
Payoff and estimate
Makes server-only feedback possible without a JS install/build while preserving the shipping artifact. Estimate: 1–2 engineering days.
Priority: Next milestone.
2026-10-04 owner decisions: Matches performance-first work while preserving the one-binary static-web product and production verification.
Report: arch-review report
Source: arch-review 2026-10-04