0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 04:16:53 -05:00
forgejo/modules
Gusted 3f44b97b5f
feat: add limited execution tracing support
- For every process that is spawned (every new non-trivial goroutine
such as http requests, queues or tasks) start a [execution
tracer](https://pkg.go.dev/runtime/trace). This allows very precise
diagnosis of how each individual process over a time period.
- It's safe and [fast](https://go.dev/blog/execution-traces-2024#low-overhead-tracing) to
be run in production, hence no setting to disable this. There's only
noticable overhead when tracing is actually performed and not continuous.
- Proper tracing support would mean the codebase would be full of
`trace.WithRegion` and `trace.Log`, which feels premature for this patch
as there's no real-world usage yet to indicate which places would need
this the most. So far only Git commands and SQL queries receive somewhat
proper tracing support given that these are used throughout the codebase.
- Make git commands a new process type.
- Add tracing to diagnosis zip file.
2025-01-05 04:07:49 +01:00
..
actions
activitypub test: fix test linting 2024-11-11 12:44:36 +01:00
analyze
assetfs
auth chore: avoid using gock 2024-12-18 06:40:02 +01:00
avatar
base fix: extend forgejo_auth_token table 2024-11-15 10:59:36 +01:00
cache
card Update 2024-12-30 17:47:34 +01:00
charset
container
csv
emoji
eventsource fix: use better code to group UID and stopwatches 2024-11-16 15:59:02 +01:00
forgefed
generate
git feat: add limited execution tracing support 2025-01-05 04:07:49 +01:00
gitgraph
gitrepo
graceful
hcaptcha
highlight feat: highlight Gradle Kotlin as Kotlin 2024-12-04 22:06:33 +01:00
hostmatcher
html
httpcache
httplib
indexer feat: filepath filter for code search (#6143) 2024-12-22 12:24:29 +00:00
issue/template
json
keying feat: harden keying implementation 2024-12-25 00:10:18 +01:00
label
lfs Add User-Agent for gitea's self-implemented lfs client. (branding) 2024-12-17 06:18:24 +01:00
log chore: Make Forgejo build with go1.24 2024-12-17 16:12:22 +01:00
markup fix: remove softbreak from github legacy callout 2024-12-04 22:08:38 +01:00
mcaptcha
metrics
migration
nosql
optional
options
packages fix: maven fallback to parent groupId 2024-12-21 11:48:09 +01:00
paginator
pprof
private
process feat: add limited execution tracing support 2025-01-05 04:07:49 +01:00
proxy
proxyprotocol
public
queue
recaptcha
references fix trailing comma not matched in the case of alphanumeric issue (#32945) 2024-12-28 19:00:07 +00:00
regexplru
repository feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
secret
session
setting feat: allow changing default branch update style 2024-12-23 18:55:25 +03:00
sitemap
ssh fix: ensure correct ssh public key is used for authentication 2024-12-12 05:54:07 +01:00
storage
structs feat: add files to compare (#6461) 2025-01-05 02:32:46 +00:00
svg
sync
system
templates chore(branding): strip metadata information from the footer 2024-12-29 22:40:13 +00:00
test
testlogger test: add trailing newline to testlogger.go:recordError message 2024-11-14 14:38:47 +01:00
timeutil
translation
turnstile
typesniffer Update modules/typesniffer/typesniffer.go 2024-11-28 10:27:33 +00:00
updatechecker
uri
user
util Validate OAuth Redirect URIs (#32643) 2024-12-03 10:19:22 +01:00
validation Validate OAuth Redirect URIs (#32643) 2024-12-03 10:19:22 +01:00
web
webhook
zstd