forgejo/routers/web
Gusted 358863999e fix: delay-write trace.dat for forgejo diagnosis (#7597)
- Delay the writing of `trace.dat` to the forgejo diagnosis zip file. It's not possible to write `cpu-profile.dat` and `trace.dat` at the same time. This caused the implemention to prematurely close `cpu-profile.dat` and leave it as an empty file.
- Regression of forgejo/forgejo#6470

## Testing
1. Go to `/admin/monitor`
2. Click on "Download diagnosis report"
3. Open the zip file and check that all files are non-empty.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7597
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-04-22 08:14:41 +00:00
..
admin fix: delay-write trace.dat for forgejo diagnosis (#7597) 2025-04-22 08:14:41 +00:00
auth chore(sec): unify usage of crypto/rand.Read (#7453) 2025-04-04 03:31:37 +00:00
devtest ui: improve error pages (#7274) 2025-03-28 19:50:43 +00:00
events chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
explore chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
feed chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
healthcheck chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
misc feat: include a default robots.txt to reduce the impact of crawlers (#7387) 2025-03-30 11:28:19 +00:00
org Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
repo chore: refactor for Actions Done Notification (#7510) 2025-04-10 09:51:57 +00:00
shared chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user Add new CLI flags to set name and scopes when creating a user with access token (#34080) 2025-04-07 17:26:34 +02:00
base.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
githttp.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
goget.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
home.go ui: improve error pages (#7274) 2025-03-28 19:50:43 +00:00
metrics.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
nodeinfo.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
swagger_json.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
web.go fix: allow user with actions write permission to run a workflow from the web UI (#7245) 2025-04-18 19:17:03 +00:00
webfinger.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00