forgejo/routers/web/admin
Gusted 358863999e
Some checks are pending
/ release (push) Waiting to run
testing / backend-checks (push) Waiting to run
testing / frontend-checks (push) Waiting to run
testing / test-unit (push) Blocked by required conditions
testing / test-e2e (push) Blocked by required conditions
testing / test-remote-cacher (redis) (push) Blocked by required conditions
testing / test-remote-cacher (valkey) (push) Blocked by required conditions
testing / test-remote-cacher (garnet) (push) Blocked by required conditions
testing / test-remote-cacher (redict) (push) Blocked by required conditions
testing / test-mysql (push) Blocked by required conditions
testing / test-pgsql (push) Blocked by required conditions
testing / test-sqlite (push) Blocked by required conditions
testing / security-check (push) Blocked by required conditions
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.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
admin_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
applications.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
auths.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
config.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
diagnosis.go fix: delay-write trace.dat for forgejo diagnosis (#7597) 2025-04-22 08:14:41 +00:00
emails.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
hooks.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
main_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
notice.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
orgs.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
packages.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
queue.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
queue_tester.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repos.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
runners.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
stacktrace.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
users.go Move ParseBool to optional (#33979) 2025-04-01 02:28:02 +02:00
users_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00