1. 27 Mar, 2026 2 commits
    • erio's avatar
      refactor: extract internal500 penalty logic to dedicated file · 3ee6f085
      erio authored
      Move constants, detection, and penalty functions from
      antigravity_gateway_service.go to antigravity_internal500_penalty.go.
      Fix gofmt alignment and replace hardcoded duration strings with
      constant references.
      3ee6f085
    • erio's avatar
      feat(antigravity): progressive penalty for consecutive INTERNAL 500 errors · 093a5a26
      erio authored
      When an antigravity account returns 500 "Internal error encountered."
      on all 3 retry attempts, increment a Redis counter and apply escalating
      penalties:
      - 1st round: temp unschedulable 10 minutes
      - 2nd round: temp unschedulable 10 hours
      - 3rd round: permanently mark as error
      
      Counter resets on any successful response (< 400).
      093a5a26