Skip to content

Add config-as-code coverage for the parityAudit feature #4105

Description

@JSONbored

Part of #4092.

Problem

isParityAuditEnabled (src/review/parity-wire.ts) is not migrated onto the existing per-repo feature-activation mechanism (src/review/feature-activation.ts; NOT a new resolver to build, see #4092's corrected state) — purely GITTENSORY_REVIEW_PARITY_AUDIT + the shared allowlist today.

Fix

  • Add "parityAudit" to CONVERGED_FEATURE_KEYS + FEATURE_GLOBAL_FLAG (mapping to isParityAuditEnabled).
  • Migrate parityAudit's real call site(s) to convergedFeatureActive/resolveConvergedFeature.
  • .gittensory.yml.example + config/examples/gittensory.full.yml document the new features.parityAudit key.

Deliverables

  • parityAudit added to CONVERGED_FEATURE_KEYS + FEATURE_GLOBAL_FLAG
  • Real call site(s) migrated
  • Tests mirroring the existing feature-activation test pattern
  • Docs updated

Expected outcome

An operator can turn the reviewbot-parity audit on/off per-repo purely through config.

Effort

S — mechanical migration onto an existing, proven mechanism.

Metadata

Metadata

Assignees

Labels

maintainer-onlyOwner-only work — yields no Gittensor points.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions