Tonis Tiigi
e05a89e0b8
improve stacks of cancels from defers
...
In this case the current stack trace points to the line
where the context was created. Instead the stack should be
captured when the defer is running so the return path to
the defer call is also part of the stack.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-11-19 18:40:00 -08:00
Tonis Tiigi
ab2c224e72
session: remove session name property
...
This seems to be completely unused.
I believe it is remnant of pre-buildkit session implementation
and was used for either logging of some transfer reuse.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2024-07-19 17:22:04 -07:00
Tonis Tiigi
8a2a3e83ec
replace context.WithCancel with WithCancelCause
...
Keep stack traces for cancellation errors where possible.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2023-12-06 22:15:06 -08:00
David Gageot
1245e43085
Enable gosimple linter
...
Signed-off-by: David Gageot <david.gageot@doctolib.com >
2022-04-23 23:57:16 +02:00
Tonis Tiigi
b474dbf55f
resolver: clean up unused resolver pool
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2020-08-13 17:27:18 -07:00
msg
78a8e643f6
Add missing locks around broadcasts
...
Signed-off-by: Mark Gordon <msg555@gmail.com >
2019-05-10 18:27:37 -04:00
Tonis Tiigi
b7424f41fd
session: clear prefix on lookup
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-02-23 10:52:55 -08:00
Tonis Tiigi
6e40e83d35
Remove net/context dependencies
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2018-01-17 09:11:22 -08:00
Tonis Tiigi
2e48745f57
session: remove confusing uuid variable
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2017-07-17 16:08:26 -07:00
Tonis Tiigi
5c2e675d18
source: add local file source fundamentals
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2017-07-12 23:23:20 -07:00
Tonis Tiigi
fed5c1d9ce
session: copy over session package from moby/moby
...
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com >
2017-07-12 22:32:44 -07:00