Repository navigation
fix(extract): restore component enrichment coverage - #287
Conversation
📝 WalkthroughWalkthroughThe PR extends Vitest test timeouts to 60 seconds across two packages, adds test coverage for method-based component extraction and unsupported extraction rule error handling, refactors extraction rule evaluation logic to handle Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 OpenGrep (1.17.0)packages/riviere-extract-ts/project.json┌──────────────┐ �[32m✔�[39m �[1mOpengrep OSS�[0m �[1m Loading rules from local config...�[0m Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Deploying living-architecture with
|
| Latest commit: |
ef5a56e
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://209ea227.living-architecture.pages.dev |
| Branch Preview URL: | https://fix-bug-from-property.living-architecture.pages.dev |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.oxlintrc.role-enforcement.19177.1775724109108.json:
- Around line 17-373: The config object in the JSON lacks the required
roleDefinitionsDir property (required by config-reader.ts), causing schema
validation to fail; add a top-level "roleDefinitionsDir" string property to this
config (e.g., pointing to the directory that contains your role definition
files) so config-reader.ts can find role definitions and the Oxlint plugin can
validate successfully — update the object that contains
"configDir"/"configDisplayPath"/"layers"/"roles" to include roleDefinitionsDir.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: d626a616-bec8-4b75-afac-bda195f2bc74
📒 Files selected for processing (6)
.oxlintrc.role-enforcement.19177.1775724109108.jsonpackages/riviere-cli/vitest.config.mtspackages/riviere-extract-ts/src/features/extraction/domain/value-extraction/enrich-components-method-extraction.spec.tspackages/riviere-extract-ts/src/features/extraction/domain/value-extraction/enrich-components.spec.tspackages/riviere-extract-ts/src/features/extraction/domain/value-extraction/enrich-components.tspackages/riviere-extract-ts/vitest.config.mts
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@packages/riviere-extract-ts/project.json`:
- Line 6: The role-check target currently lists an invalid dependency
"@living-architecture/riviere-role-enforcement:build" in the dependsOn array;
remove that entry from the dependsOn list in
packages/riviere-extract-ts/project.json so the role-check target no longer
depends on a non-existent NX build target (the command still runs source with
"pnpm exec tsx packages/riviere-role-enforcement/src/shell/bin.ts" and does not
require a built artifact).
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro
Run ID: b9d5fa62-d229-4467-8bef-25ef83c18c50
📒 Files selected for processing (2)
packages/riviere-extract-ts/project.jsonpackages/riviere-extract-ts/vitest.config.mts
|



Summary
fromPropertyextraction for method-based componentsVerification
git commitran the repo verification hook successfullySummary by CodeRabbit
Bug Fixes
Tests