openedx / openedx/credentials

[Badges] In case Credly request fails, the badge stays in incomplete state and it's not possible to resend a request

Open
#2,987 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
25
Forks
83
Avg merge
11h 51m
Merged PRs (30d)
1

Description

Description

If external badge issuance fails after the Credentials service has already marked the badge as complete internally, it's not possible to resend the issuance request to the external badge platform (Credly or Accredible).

Failure might happen due to different reasons: network failure, expired token, provider is down, etc.

Supporting Info

Overriding the grade with a failing grade, then setting a passing grade doesn't trigger reissuance of the badge.

Expected Result

A temporary provider failure should leave the badge in a retryable state, and operators should have a way to retry external issuance.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the badge issuance flow and its failure handling for Credly and Accredible. Reproduce the reported sequence by overriding the grade to failing and then passing, and inspect how the badge state changes. Done means temporary provider failures leave issuance retryable and operators can resend the external request.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.