MozillaSecurity / MozillaSecurity/FuzzManager

Fix crashmanager testcase storage.

Open
#878 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug crashmanager live-server
Dominant language
Python
Stars
208
Forks
48
Avg merge
23h 5m
Merged PRs (30d)
2

Description

We have a Django config setting TEST_STORAGE but within that we store testcases under an additional tests/ folder. This is a trouble point for deployment.

The code is here: https://github.com/MozillaSecurity/FuzzManager/blob/1826d0b4a7b0ebae98686f7f3c3013e9b5ea4708/server/crashmanager/models.py#L49-L50

It looks to me like views.py will already do the right thing if this is changed to store files directly in TEST_STORAGE.

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 server/crashmanager/models.py at lines 49-50 and inspect how TEST_STORAGE is used there. Check views.py to confirm its existing path handling remains correct when testcase files are stored directly in TEST_STORAGE. Done means removing the extra tests/ storage level without breaking the expected deployment path.

Written by the indexing model from the issue text.

Assessment

Tech stack
django, python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.