SolidOS / SolidOS/solid-ui

"Multiple records of your participation" error in Partcipation object

Open
#323 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
153
Forks
46
Avg merge
1d 8h
Merged PRs (30d)
7

Description

A race condition of some sort leads to two participation records with the same date time
and the id just 10 apart so very close 1 after the other

Maybe two concurrent calls to preferences code

This is is in:
/solid-ui/src/pad.js

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

Start in /solid-ui/src/pad.js and trace how Participation records are created during the preferences flow. Investigate whether concurrent calls can create records with the same date time, using the reported closely spaced IDs as a reproduction clue. Done means concurrent calls no longer produce duplicate participation records.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.