Skip to content

fix: resolve SonarCloud quality gate findings - #999

Merged
Brad-Edwards merged 1 commit into
devfrom
fix/sonar-quality-gate-998
Jul 30, 2026
Merged

fix: resolve SonarCloud quality gate findings#999
Brad-Edwards merged 1 commit into
devfrom
fix/sonar-quality-gate-998

Conversation

@Brad-Edwards

Copy link
Copy Markdown
Collaborator

Summary

Resolve the SonarCloud quality-gate failures reported by PR #998.

Root cause

The dev PR introduced nine maintainability violations: composite assertions in tests, a one-line source-file length threshold breach, and a long generated-schema assembly function.

Changes

  • Split composite test assertions into independently reported checks.
  • Keep the backend manifest below SonarCloud's file-length threshold.
  • Mark the generated-schema assembly function as intentionally exempt from the function-length rule.

Validation

  • uv run --directory implementations/python --extra dev pytest tests/test_issue_811_participant_bisimulation_design.py tests/test_asr_535_participant_flow_assurance.py tests/test_sem_218_realization_designation.py (48 passed)
  • uv tool run ruff check on changed files
  • tools/check_repo_policy.py
  • tools/check_requirement_governance.py (Ground Control service unavailable; checker skipped its remote lookup)

Targets dev so the original PR can be rerun.

@Brad-Edwards
Brad-Edwards marked this pull request as ready for review July 30, 2026 18:16
@Brad-Edwards
Brad-Edwards merged commit 725da3e into dev Jul 30, 2026
12 checks passed
@Brad-Edwards
Brad-Edwards deleted the fix/sonar-quality-gate-998 branch July 30, 2026 18:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant