McMaster-Baja-Racing / McMaster-Baja-Racing/Better-Data-Viewer

Uploading Same File Errors

Open
#124 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

backend bug
Dominant language
TypeScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Uploading a file with the same name as a previously uploaded one causes an error in the backend. This results in the temporary file that is created on upload to also stick around, which causes reading errors and results in the entire backend crashing.

Currently not replicable for some reason. More investigation is needed

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 backend upload flow and how temporary files are created and cleaned up when a file with the same name is uploaded. Investigate why the failure cannot currently be reproduced, then verify that duplicate-name uploads no longer leave temporary files, cause reading errors, or crash the backend.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.