Skip to content

fix(ci): green main — register reconcile_enforce key + drop unused import#242

Merged
ProtocolWarden merged 1 commit into
mainfrom
ci/green-main
Jun 4, 2026
Merged

fix(ci): green main — register reconcile_enforce key + drop unused import#242
ProtocolWarden merged 1 commit into
mainfrom
ci/green-main

Conversation

@ProtocolWarden
Copy link
Copy Markdown
Owner

Two pre-existing CI failures on main:

  • Custodian doctor (--strict): the audit key reconcile_enforce
    (added in feat(reconcile): reconcile OperationsCenter .console (prune + scrub + enforce) #238) was never registered in plugin_audit_keys, so
    doctor flagged it as an "unknown audit key (typo?)" and --strict
    turned the warning into a non-zero exit. It is a legitimate
    OC plugin config flag — add it to plugin_audit_keys (matching the
    existing oc1_exempt/oc7_exempt/known_values registrations).

  • Lint (ruff): unittest.mock.call was imported but unused in
    tests/test_check_signal_collector.py (F401). Removed via
    ruff check --fix; call is not referenced elsewhere in the file.

Verified locally with the repo's .venv:
ruff check . -> All checks passed!
custodian-doctor --strict --repo . -> OK
pytest tests/test_check_signal_collector.py -> 16 passed

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

…port

Two pre-existing CI failures on main:

- Custodian doctor (--strict): the audit key `reconcile_enforce`
  (added in #238) was never registered in `plugin_audit_keys`, so
  doctor flagged it as an "unknown audit key (typo?)" and --strict
  turned the warning into a non-zero exit. It is a legitimate
  OC plugin config flag — add it to plugin_audit_keys (matching the
  existing oc1_exempt/oc7_exempt/known_values registrations).

- Lint (ruff): `unittest.mock.call` was imported but unused in
  tests/test_check_signal_collector.py (F401). Removed via
  `ruff check --fix`; `call` is not referenced elsewhere in the file.

Verified locally with the repo's .venv:
  ruff check .                       -> All checks passed!
  custodian-doctor --strict --repo . -> OK
  pytest tests/test_check_signal_collector.py -> 16 passed

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@ProtocolWarden ProtocolWarden merged commit 66fba66 into main Jun 4, 2026
13 checks passed
@ProtocolWarden ProtocolWarden deleted the ci/green-main branch June 4, 2026 20:29
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