- Notifications
You must be signed in to change notification settings - Fork909
Commitd17bca2
committed
feat(agent/agentcontainers): recreate devcontainers concurrently
This change introduces a refactor of the devcontainers recreation logicwhich is now handled asynchronously rather than being request scoped.The response was consequently changed from "No Content" to "Accepted" toreflect this.A new `Status` field was introduced to the devcontainer struct whichreplaces `Running` (bool). This reflects that the devcontainer can nowbe in various states (starting, running, stopped or errored).The status field also protects against multiple concurrent recrations,as long as they are initiated via the API.Updates#164241 parent5cdda2e commitd17bca2
File tree
10 files changed
+422
-162
lines changed- agent
- agentcontainers
- coderd
- apidoc
- codersdk
- workspacesdk
- docs/reference/api
- site/src/api
10 files changed
+422
-162
lines changedLines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2188 | 2188 |
| |
2189 | 2189 |
| |
2190 | 2190 |
| |
2191 |
| - | |
| 2191 | + | |
2192 | 2192 |
| |
2193 |
| - | |
| 2193 | + | |
2194 | 2194 |
| |
2195 | 2195 |
| |
2196 | 2196 |
| |
2197 | 2197 |
| |
2198 |
| - | |
| 2198 | + | |
2199 | 2199 |
| |
2200 | 2200 |
| |
2201 | 2201 |
| |
| |||
2205 | 2205 |
| |
2206 | 2206 |
| |
2207 | 2207 |
| |
2208 |
| - | |
| 2208 | + | |
2209 | 2209 |
| |
2210 | 2210 |
| |
2211 | 2211 |
| |
| |||
2225 | 2225 |
| |
2226 | 2226 |
| |
2227 | 2227 |
| |
2228 |
| - | |
| 2228 | + | |
2229 | 2229 |
| |
2230 | 2230 |
| |
2231 | 2231 |
| |
| |||
2253 | 2253 |
| |
2254 | 2254 |
| |
2255 | 2255 |
| |
2256 |
| - | |
| 2256 | + | |
2257 | 2257 |
| |
2258 | 2258 |
| |
2259 | 2259 |
| |
2260 | 2260 |
| |
2261 |
| - | |
| 2261 | + | |
2262 | 2262 |
| |
2263 | 2263 |
| |
2264 | 2264 |
| |
| |||
2272 | 2272 |
| |
2273 | 2273 |
| |
2274 | 2274 |
| |
2275 |
| - | |
| 2275 | + | |
2276 | 2276 |
| |
2277 | 2277 |
| |
2278 | 2278 |
| |
|
0 commit comments
Comments
(0)