Skip to content

feat(poly test diff): extract related bricks from changed tests - #460

Merged
DavidVujic merged 7 commits into
mainfrom
test-diff-related-bricks
Aug 7, 2026
Merged

feat(poly test diff): extract related bricks from changed tests#460
DavidVujic merged 7 commits into
mainfrom
test-diff-related-bricks

bump CLI to 1.50.0

7239cde
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Code Health Review (main) failed Aug 7, 2026 in 42s

CodeScene PR Check

Quality Gate Failed

Gates Failed
Enforce advisory code health rules (1 file with Excess Number of Function Arguments)

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Reason for failure
Enforce advisory code health rules Violations Code Health Impact
test.py 1 advisory rule 10.00 → 9.69 Suppress

Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.

Details

🚩 Declining Code Health (highest to lowest):

  • Excess Number of Function Arguments test.py: diff_command

Annotations

Check warning on line 33 in bases/polylith/cli/test.py

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Code Health Review (main)

❌ New issue: Excess Number of Function Arguments

diff_command has 5 arguments, max arguments = 4

This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.