Commit cf80a55
committed
feat(service): mark GetStatus, GetStatuses, ListServices as NO_SIDE_EFFECTS
Annotate the three read-only methods on service.v1.ServiceManager with
idempotency_level = NO_SIDE_EFFECTS so Connect-RPC handlers accept
HTTP GET for them. The service plugin's read endpoints can then sit
behind CDN/proxy caches and be probed from cacheable URLs.
CreateService, Terminate, Restart stay POST-only — each mutates the
service plugin's process table.
Additive proto change; existing POST clients keep working.1 parent 8399265 commit cf80a55
1 file changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
21 | 27 | | |
0 commit comments