Plan: Regression coverage for conditional action dependency manifests (3.14.5)#387
Draft
leynos wants to merge 1 commit into
Draft
Conversation
….14.5) Draft an execution plan for roadmap item 3.14.5: regression coverage for conditional action dependency manifests. The implementation (3.14.2-3.14.4) already exists, so the plan scopes test and documentation work only. The plan was developed with a planning agent team, reviewed and revised by a community-of-experts agent team (structural, contract/correctness, alternatives/DX, and reliability/ops lenses), and cross-checked against the codebase. It covers all four roadmap sub-bullets, frames the work through the manifest-time-expansion boundary (executable-discovery vs command-execution ports), and records open questions for the approver. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
|
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the execution plan for roadmap item 3.14.5 — Add regression coverage
for conditional action dependency manifests. This PR contains the plan only
(
docs/execplans/3-14-5-regression-coverage-for-conditional-action-dependency-manifests.md);no test or production code is included. The plan must be approved before
implementation begins.
The implementation it covers (3.14.2–3.14.4) already exists, so the plan scopes
test and documentation work only. It was produced with a planning agent
team, reviewed and revised by a community-of-experts agent team (structural,
contract/correctness, alternatives/DX, and reliability/ops lenses), and
cross-checked against the codebase. Tooling facts (googletest, pretty_assertions)
were researched via Firecrawl.
What the plan delivers
Regression coverage for all four roadmap sub-bullets:
whenandforeach(integrated fixture; explicit action fan-out).driven through the real
whichresolver (existing complementary testsare stubbed).
shell(), asserted viaStdlibState::is_impure()— the executable-discovery vs command-executionboundary.
depslowering into IRimplicit_depsand Ninjabuildstatements, forconditionally-selected actions, including the
{{ item }}-in-depsinteraction.
Layers: in-crate
rstestunit tests (selection / no-shell), IR integrationtests,
instaNinja snapshots validated with realninja, and one combinedBDD scenario. Hexagonal framing pins the boundary without restructuring code.
Notable design decisions (see Decision Log)
StdlibConfig::with_path_overrideseam (not theprivate
WhichConfig); in-crate placement is forced only byexpand_foreachbeing
pub(crate).is_impure()is honestly scoped: it flips forshell/grep/fetch.4.3.2;
ortho_configis out of scope.Open questions for the approver
unanimously recommended dropping it (keeping only
pretty_assertions) givenzero prior use, unverified
#[gtest]+#[rstest]interop under the pinnedrstest0.18.0, and trivial assertions. The plan keeps it confined andspike-gated; the approver may instead choose pretty_assertions-only or
googletest-throughout.
src/stdlib/command/mod_backup.rsflagged for separate cleanup.References
docs/execplans/3-14-5-regression-coverage-for-conditional-action-dependency-manifests.mddocs/roadmap.md§3.14.5🤖 Generated with Claude Code