Commit 5b3fed2
authored
fix: Bump Go 1.26.1 to 1.26.2 for 6 stdlib CVEs (#2170)
* fix: Bump Go 1.26.1 to 1.26.2 to resolve 6 stdlib security vulnerabilities
Fixes GO-2026-4865 (html/template), GO-2026-4866 (crypto/x509),
GO-2026-4869 (archive/tar), GO-2026-4870 (crypto/tls),
GO-2026-4946 (crypto/x509), GO-2026-4947 (crypto/x509).
Updates go.mod, all Dockerfiles, and all CI workflow files.
* docs: Update Go version references in docs to 1.26.2
* fix: Update 16 service Dockerfiles to Go 1.26.2
* chore: Bump golangci-lint from v2.9.0 to v2.11.4
Aligns CI with Go 1.26.2 contextcheck behavior. v2.9.0 had stale
contextcheck heuristics that flagged existing nolint directives as
unused, while v2.11.4 correctly identifies them as necessary.
* fix: Resolve lint issues surfaced by Go 1.26.2 and golangci-lint v2.11.4
- Migrate proxy.Director to proxy.Rewrite (deprecated since Go 1.26)
- Use fmt.Fprintf instead of WriteString(fmt.Sprintf(...))
- Exclude noctx linter for test files (httptest.NewRequest creates a
valid context; requiring WithContext in tests is noise)
- Remove now-unused nolint:noctx directive in bench test
- Add nolint:prealloc for defensive-copy test
* fix: Restore em dash in topic list output
Accidentally replaced the em dash with a hyphen during the
fmt.Fprintf refactor, breaking TestBuildTopicList_TopicsHaveDescriptions.
* fix: Address remaining lint and review feedback
- Use fmt.Fprintf in saga validation report (4 instances)
- Preserve Host header in proxy.Rewrite (SetURL overwrites it)
* fix: Create ReverseProxy directly with Rewrite instead of deprecated Director
Replace NewSingleHostReverseProxy + Director=nil with a direct
ReverseProxy struct literal using only the Rewrite field. This avoids
both the deprecated Director API and the mutual exclusivity error.
Preserves existing X-Forwarded-Host from incoming requests.
---------
Co-authored-by: Ben Coombs <bjcoombs@users.noreply.github.com>1 parent 0f2ddf9 commit 5b3fed2
46 files changed
Lines changed: 84 additions & 80 deletions
File tree
- .github/workflows
- cmd/meridian
- docs
- guides
- skills
- services
- api-gateway
- cmd
- control-plane
- cmd
- internal/generator
- current-account/cmd
- event-router/cmd
- financial-accounting/cmd
- financial-gateway/cmd
- forecasting/cmd
- internal-account/cmd
- market-information/cmd
- mcp-server/cmd
- party/cmd
- payment-order/cmd
- position-keeping
- cmd
- domain
- reconciliation/cmd
- reference-data/cmd
- tenant/cmd
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
54 | | - | |
| 53 | + | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
166 | | - | |
| 166 | + | |
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| |||
207 | 207 | | |
208 | 208 | | |
209 | 209 | | |
210 | | - | |
| 210 | + | |
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments