Skip to content

[metrics] Unify outputs under target (#99)#100

Merged
coisa merged 2 commits intomainfrom
codex/99-metrics-target
Apr 19, 2026
Merged

[metrics] Unify outputs under target (#99)#100
coisa merged 2 commits intomainfrom
codex/99-metrics-target

Conversation

@coisa
Copy link
Copy Markdown
Contributor

@coisa coisa commented Apr 19, 2026

Summary

  • replace the public metrics output flags with a single --target directory option
  • derive report.json and report-summary.json from the selected target directory and update reports to forward metrics output through --target
  • refresh PHPUnit coverage, README, and Sphinx docs to match the simplified metrics API

Validation

  • ./vendor/bin/phpunit tests/Console/Command/MetricsCommandTest.php tests/Console/Command/ReportsCommandTest.php
  • ./vendor/bin/phpunit tests
  • composer dev-tools metrics -- --target=public/metrics
  • git diff --check

Notes

  • the full PHPUnit run still reports the existing JoliNotif runner warning (signal 6) after the suite completes successfully in this environment

Closes #99

@github-actions github-actions Bot added bug Something isn't working labels Apr 19, 2026
@github-actions
Copy link
Copy Markdown
Contributor

@coisa coisa merged commit 1890a0d into main Apr 19, 2026
2 checks passed
@coisa coisa deleted the codex/99-metrics-target branch April 19, 2026 02:33
github-actions Bot added a commit that referenced this pull request Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Released

Development

Successfully merging this pull request may close these issues.

Unify metrics report outputs under a single --target option

1 participant