Skip to content

Add “retry expected ciphertext generation” + resilient UX on worker failure #245

Description

@Aditya8369

Description: ChallengeMode generates expected ciphertext via runCipher('encrypt', ...) and silently logs errors; the user sees a generic error string in the ciphertext area but there’s no explicit retry action.
Files: components/challenge/ChallengeMode.tsx, lib/hooks/useCipherWorker.ts
Proposed enhancement: Add a “Retry” button when ciphertext generation fails; reset loading/error state and re-run encryption for the same question. Optionally add exponential backoff and only allow retry up to N times per question.

Metadata

Metadata

Assignees

Labels

ECSoC26Elite Coders Summer of Code 2026

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions