Commit 62baf08
authored
fix(dashboard): do not delete the dashboard report (#3669)
* Do not delete the dashboard report
For the past two years I have wondered why I would get "Report could not be found..." error on the dashboard when performing this command:
```sh
dotnet tool run dotnet-stryker --reporter dashboard --open-report:dashboard --version main --dashboard-api-key ******
````
Today I looked at the code and it turns out that the HTTP client performs a DELETE request on the report when all the mutants are tested, obviously deleting it!
Note: this regression was introduced in #2563.
* Call PublishReport _after_ PublishFinished
Since PublishFinished performs a DELETE on the report1 parent b96c403 commit 62baf08
1 file changed
Lines changed: 3 additions & 3 deletions
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
0 commit comments