You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* feat(metricsai): honor --all-authors in the testing module
The security module already lets --all-authors lift the author allowlist so
comments are matched on the Conventional-Comment label alone (mirrors the shell
harvester's TARGET_USER=ANY). The testing module did not: it only counted
classifier comments authored by METRICSAI_TESTING_GITHUB_AUTHORS (default
github-actions[bot]), so a classifier comment posted under a developer's
identity — the local/Path-A path — was silently dropped.
Thread match_all_authors through the classifier source chain
(fetch_classifier_comments → _scan_repo_classifier → _classify_classifier),
mirroring the existing security chain, and wire settings.all_authors into the
testing module's gather(). --all-authors now applies to both modules.
Tests mirror the security match_all_authors coverage in test_github_source.py.
* docs(test-classifier): note TARGET_USER=ANY / --all-authors for local-run metrics
Local --post-comment runs post under the developer's identity, so the default
author gate drops them. Note the escape hatch in the metrics README next to the
TARGET_USER description (TARGET_USER=ANY for the shell harvester, --all-authors
for metricsai), matching how security keeps author-matching in the metrics doc
rather than the developer setup doc.
0 commit comments