w3c / w3c/attribution

Simulator throws an exception when forgetting state with the empty set

Open
#293 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue simulator
Dominant language
Bikeshed
Stars
110
Forks
87
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Due to https://github.com/w3c/attribution/blob/74fa8b63ff8e640b8a0add11411aa46b1d1fe535/impl/src/backend.ts#L625-L627

The exception itself makes sense in terms of business logic, but the issue isn't propagated to the UI, so the user has no indication of why their intended operation had no effect.

Contributor guide

No contributing guide indexed for this repository

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

Read impl/src/backend.ts around lines 625-627 first to understand the exception raised when forgetting state with an empty set. Trace how that simulator failure reaches the UI and make the operation's reason visible to the user; done means the intended operation no longer fails silently.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
58/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.