Skip to content

Surface policy compliance worker degradation in admin UI #2652

Description

@imuniqueshiv

Problem

Policy compliance re-eval can return 503 when the retry worker is inactive, with no clear admin-visible degraded state.

What should be changed

  • Health-check worker at boot; expose status on Policy Compliance page.
  • Graceful messaging when re-eval is temporarily unavailable.
  • Tests for inactive-worker path.

Expected outcome

Admins understand why compliance re-eval fails instead of seeing opaque errors.

Main files/areas likely affected

server/controllers/policyComplianceController.js, client/src/pages/PolicyCompliance.jsx, worker health endpoints

Why it matters

Operational transparency for compliance features.

{
"assignedAt": null,
"lastActivityAt": null,
"remindersSentAt": {},
"reminder12SentAt": null,
"reminder18SentAt": null,
"expiredAt": null,
"welcomeSentAt": null,
"welcomeSource": null,
"guidance": {},
"processedClaimCommentIds": [
5467351984
],
"processedUnclaimCommentIds": [],
"manualAssignment": false,
"authorPriorityExpiresAt": null
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ECSoC26Eligible for Elite Coders Summer of Code 2026 automated scoring.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions