WSU-4110 / Stress-and-Burnout-Reduction

Reduce stress and burnout, among Software Engineers and Developers.
https://www.coolfrog.net
1 stars 2 forks source link

[BUG] Worker Throw when loading a deleted/non-existent challenge #123

Closed JesseNaser closed 6 months ago

JesseNaser commented 6 months ago

Is there an existing issue for this?

Current Behavior

If you refresh the page to a challenge already deleted, the worker will throw an exception.

Expected Behavior

Should redirect to the main challenges page.

Steps To Reproduce

  1. Create a challenge
  2. View the page.
  3. Delete the challenge. (In a different tab, stay on this viewed page).
  4. Refresh the same challenge page.

Environment

Cloudflare Pages

Anything else?

No response

JesseNaser commented 6 months ago

Non-critical: Throw safely leaves worker. No exposed endpoints or DB/KV corruption.

Mitigation: user can go back to the main forums page manually

Assign to future Sprint beyond 3. Re-open when future Sprint occurs.