Expand description
Affected detection for workspace members
Detects which workspace members have changed based on git diff. Useful for CI/CD pipelines to only build/test affected packages.
# List affected packages
rx affected
# Run tests only on affected packages
rx run --affected pytestStructs§
- Affected
Config - Configuration for affected detection
- Affected
Result - Result of affected detection
Functions§
- build_
dependency_ graph - Build dependency graph for workspace members Returns a map of member path -> paths it depends on
- detect_
affected - Detect affected workspace members based on git changes
- detect_
affected_ with_ transitive - Detect affected with transitive dependencies
- get_
transitive_ affected - Get transitively affected members If A depends on B, and B changed, then A is also affected