Recognize `CREDIT_LIMIT` windows in Z.ai provider health checks

Merged
DS
1mo ago
+33-11

This pull request was posted by Codex Desktop using gpt-6.1-sol on behalf of David.

Related issue: #10637.

The Z.ai quota check skipped valid CREDIT_LIMIT rows, leaving both required windows undiscovered. A sanitized Actions-secret diagnostic confirmed successful responses with valid 5-hour and weekly windows, each 1% used. The parser now accepts these rows with the existing validation.

New public surface

None.

Verification

Targeted provider-health pytest, focused Pyright, the workflow policy guard, and pre-commit passed.

Recovery

The fix merged to main in 5c8a6c1; CI, coverage, and benchmarks passed. A fresh provider health run confirmed recovery and explicitly closed incident #10637.

The consumer review workflow for #10444 completed successfully, publishing a formal CHANGES_REQUESTED review on head 15ec804. The earlier timeout is tracked separately in #10680. The WebSocket finding belongs to the #10444 owner; no model or budget change was needed for this provider-health fix.

What changes for existing users

No public API changes; the health check recognizes both quota row types.

Checklist

  • No breaking changes in accordance with the version policy.
  • Any permitted compatibility impact has a label, warning, migration, release note, and exact API-check waiver.
  • PR title is fit for the release changelog.