Commit cc4e8be
authored
fix(release-tool): use HTTP/2-specific timeouts for GraphQL queries (#169)
* feat: add GoReleaser with automated version bumping
- Add .goreleaser.yml with multi-platform build config
- Create release.yaml workflow with workflow_dispatch trigger
- Support manual version input or auto-bump (patch/minor/major)
- Auto-creates and pushes git tag
- Builds release-tool binaries for linux/darwin/windows (amd64/arm64)
- Auto-generates changelog from commits
- Publishes binaries to GitHub releases
Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
* fix(release-tool): use HTTP/2-specific timeouts for GraphQL queries
Replaces http.Transport with http2.Transport to properly handle timeouts
for GitHub's GraphQL API which uses HTTP/2.
Issue: http.Transport.IdleConnTimeout is ignored by HTTP/2 connections,
causing stream cancellation after ~11 seconds during long queries.
Solution: Use http2.Transport with ReadIdleTimeout and PingTimeout to
prevent stream cancellation by sending ping frames during long-running
queries (500+ commits).
Refs: https://github.com/Kong/kong-mesh/actions/runs/20380687072
Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>
---------
Signed-off-by: Marcin Skalski <skalskimarcin33@gmail.com>1 parent 65e59ee commit cc4e8be
3 files changed
+20
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
147 | 148 | | |
148 | 149 | | |
149 | 150 | | |
150 | | - | |
151 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
152 | 155 | | |
153 | 156 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
19 | | - | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
28 | 32 | | |
29 | 33 | | |
30 | 34 | | |
| |||
0 commit comments