danhper / danhper/opencov

Cannot Post Job Data

Open
#10 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Elixir
Stars
325
Forks
43
PR merge metrics
No merged PRs in 30d

Description

The Json i tried:

{
"repo_token": "NWUxS2tnbDVVTVlxcE1PV2pVWkFuMDdUdnBwclM0d0U0b0VSclFqeA==",
"source_files": [{
"name": "lib/example.rb",
"source_digest": "1eb14b3a053f951ca925f2fd4d633eeb",
"coverage": [null, 1, 1, 0]
}]
}

curl --form "json_file=@report.json" http://localhost:4000/api/v1/jobs

And i'm getting "Server internal error"

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the POST to /api/v1/jobs with the report.json payload using the curl command shown in the issue, then trace the API endpoint that handles job data. Identify why this request returns a server internal error; done means the documented payload is accepted without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
elixir
Domain
api, 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.