Commit f298084
authored
[FC] Fix context cancellation bug when reporting snapshot metadata (#11345)
The context is being canceled
[here](https://github.com/buildbuddy-io/buildbuddy/blob/master/enterprise/server/remote_execution/containers/firecracker/firecracker.go#L2501).
Defers run LIFO
There is a test for this bug (and an additional one) in this
[PR](https://github.com/buildbuddy-io/buildbuddy/pull/11302/changes#diff-095afcdc05618fde198c278a09b3c5f964cd16cd8eb0f6efbe9639f90b0697ff)1 parent 2c8e85b commit f298084
File tree
1 file changed
+3
-0
lines changed- enterprise/server/remote_execution/containers/firecracker
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2400 | 2400 | | |
2401 | 2401 | | |
2402 | 2402 | | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
2403 | 2406 | | |
2404 | 2407 | | |
2405 | 2408 | | |
| |||
0 commit comments