Harden user-state startup-mode composition (backend-3.5.5)#359
Conversation
Reviewer's GuidePre-implementation ExecPlan for roadmap item 3.5.5 has been substantially rewritten and tightened: it now formalises an approval gate, narrows scope to hardening user-state startup-mode composition, updates constraints/tolerances/risks, describes current code/test context more concretely, and lays out a staged implementation and validation plan without changing any production code. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Replace the existing backend 3.5.5 execution-plan draft with an approval-gated plan focused on deterministic user-state startup-mode composition. Record the helper seams, behavioural regression scope, documentation requirements, validation gates, Wyvern reconnaissance, and Firecrawl research that should guide the later implementation pass.
Record that docs/users-guide.md refers to operators of the Wildside server application, not product end users. Narrow the planned documentation update requirement to behaviour that is visible to server operators.
Add a private user-state port bundle in `state_builders.rs` so the identity-bearing HTTP ports are selected through one explicit helper seam. Record the approval, baseline gates, targeted checks, and milestone gate evidence in the execplan before moving to behavioural hardening.
Add HTTP-boundary regression assertions that tie startup-mode selection to current-user, users-list, and preferences evidence.
Record the 3.5.5 composition decision, BDD validation convention, roadmap closure, and final gate evidence for the implementation.
Record the final CodeRabbit result and gate evidence in the 3.5.5 ExecPlan before publishing the branch for PR review.
61192f8 to
47d27ab
Compare
Summary
docs/execplans/backend-3-5-5-harden-startup-mode-composition.md.backend/src/server/state_builders.rsby routing user-state startup composition through an explicit private helper seam and port bundle, keeping DB-present versus fixture-fallback adapter selection deterministic as wiring evolves.rstest-bddassertions for DB-backed and fixture-backed profile, users-list, and preferences responses.Validation
cargo test -p backend --test startup_mode_composition_bdd -- --nocapturemake check-fmtmake lintmake testcoderabbit review --agentafter the helper-seam milestone: 0 findings.coderabbit review --agentafter the regression-assertion milestone: 0 findings.coderabbit review --agentafter the documentation milestone: 0 findings.Notes
docs/users-guide.mdwas not updated because this change does not alter operator-visible server behaviour or user interface.References
docs/execplans/backend-3-5-5-harden-startup-mode-composition.md