add pprof upload test #141
Loading…
Reference in a new issue
No description provided.
Delete branch "refs/pull/141/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tests if pyroscope accepts generated pprof files
related to: https://codeberg.org/forgejo/forgejo/pulls/2933
start 8.0-dev
this will start a forgejo binary built from the tip of the forgejo branch. Or from a forgejo pull request, when the tests are triggered by a pull request.
FORGEJO_URL="http://$HOST_PORT"
as set in https://code.forgejo.org/forgejo/end-to-end/src/branch/main/lib/lib.sh#L30
Switched to the
http://$IP:6060
as pprof does not listen on the same port as everything else.For a faster debug loop you can run that manually as described in the README. If the instructions are not clear, please ask: you are the third person to use them, me included.
hm... It seems it's not listening on the endpoint despite it having the flag set. Any ideas as to why?
Not from the top of my head. That's where local debug will help. For a faster CI round trip I suggest you remove the jobs that are unrelated to what you're after, in a separate commit that you can remove when it is ready.
Note that the actions failure is unrelated: it is a transient error.
Well... after looking into this I still have no idea what is going wrong. I tried starting it in incus (debian bullseye image) but haven't managed to get it working...
start 8.0-test
should be all you need to change now to verify it works since your patch landed yesterday and
8.0-test
contains it.