Skip to content

Commit 8e1a39f

Browse files
committed
Merge branch 'master' into refactor/remove-mobx-from-quotas-page
2 parents 8154932 + cd5942d commit 8e1a39f

476 files changed

Lines changed: 42272 additions & 10291 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,39 @@
11
---
22
name: "Backend verify"
33
on:
4-
push:
5-
tags:
6-
- v*
7-
branches:
8-
- master
9-
paths:
10-
- 'backend/**.go'
11-
- 'backend/go.mod'
12-
- '.github/workflows/backend-lint-test.yml'
13-
pull_request:
14-
paths:
15-
- 'backend/**.go'
16-
- 'backend/go.mod'
17-
- '.github/workflows/backend-lint-test.yml'
184
workflow_call:
195
permissions:
206
contents: read
217
jobs:
22-
verify:
23-
name: Lint & Test Backend
8+
lint:
9+
name: Lint Backend
2410
runs-on: blacksmith-4vcpu-ubuntu-2404
2511
steps:
2612
- uses: actions/checkout@v5
2713
- uses: actions/setup-go@v6
2814
with:
2915
go-version-file: 'backend/go.mod'
16+
cache-dependency-path: 'backend/go.sum'
3017
- name: golangci-lint
3118
uses: golangci/golangci-lint-action@v8
3219
with:
33-
version: v2.4
20+
version: v2.10
3421
working-directory: backend
3522
args: --timeout=10m --config=.golangci.yaml
23+
24+
test:
25+
name: Test Backend
26+
runs-on: blacksmith-4vcpu-ubuntu-2404
27+
steps:
28+
- uses: actions/checkout@v5
29+
- uses: actions/setup-go@v6
30+
with:
31+
go-version-file: 'backend/go.mod'
32+
cache-dependency-path: 'backend/go.sum'
3633
- name: Install Task
3734
uses: arduino/setup-task@v1
3835
with:
3936
version: 3.x
4037
repo-token: ${{ secrets.GITHUB_TOKEN }}
4138
- name: Unit & Integration Tests
42-
run: task backend:test-integration
39+
run: task backend:test-integration

.github/workflows/claude.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
name: Claude Code
2+
3+
on:
4+
issue_comment:
5+
types: [created]
6+
pull_request_review_comment:
7+
types: [created]
8+
pull_request_review:
9+
types: [submitted]
10+
issues:
11+
types: [opened, assigned]
12+
13+
jobs:
14+
claude:
15+
# Only org members with write access can trigger via @claude mentions
16+
if: |
17+
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '@claude')) ||
18+
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
19+
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
20+
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
21+
runs-on: ubuntu-latest
22+
permissions:
23+
contents: write
24+
pull-requests: write
25+
issues: write
26+
actions: read
27+
id-token: write
28+
29+
steps:
30+
- name: Checkout repository
31+
uses: actions/checkout@v6
32+
with:
33+
fetch-depth: 1
34+
persist-credentials: false
35+
36+
- name: Configure git credentials
37+
run: gh auth setup-git
38+
env:
39+
GITHUB_TOKEN: ${{ github.token }}
40+
41+
- name: Run Claude Code
42+
uses: anthropics/claude-code-action@v1
43+
env:
44+
GITHUB_TOKEN: ${{ github.token }}
45+
with:
46+
anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}
47+
allowed_bots: ""
48+
allowed_non_write_users: ""
49+
use_commit_signing: true
50+
claude_args: |
51+
--disallowedTools WebFetch,WebSearch
52+
--allowedTools "mcp__github_inline_comment__create_inline_comment,Bash(gh issue view:*),Bash(gh issue list:*),Bash(gh search:*),Bash(gh pr view:*),Bash(gh pr diff:*),Bash(gh pr list:*),Bash(gh pr comment:*)"
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: PR verification (forks)
3+
on:
4+
pull_request:
5+
paths:
6+
- "frontend/**"
7+
- "backend/**"
8+
permissions:
9+
contents: read
10+
jobs:
11+
backend-verify:
12+
if: github.event.pull_request.head.repo.fork == true
13+
uses: ./.github/workflows/backend-lint-test.yml
14+
permissions:
15+
contents: read
16+
17+
frontend-verify:
18+
if: github.event.pull_request.head.repo.fork == true
19+
uses: ./.github/workflows/frontend-verify.yml
20+
permissions:
21+
contents: read

.github/workflows/frontend-verify.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,6 @@
11
---
22
name: "Frontend Lint & Compile check"
33
on:
4-
push:
5-
branches:
6-
- master
7-
paths:
8-
- "frontend/**"
9-
- ".github/workflows/frontend-verify.yml"
10-
pull_request:
11-
paths:
12-
- "frontend/**"
13-
- ".github/workflows/frontend-verify.yml"
144
workflow_call:
155
env:
166
CI: true

.github/workflows/repository-dispatch.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
paths:
66
- "frontend/**"
77
- "backend/**"
8+
- '.github/workflows/repository-dispatch.yml'
9+
- '.github/workflows/backend-lint-test.yml'
10+
- '.github/workflows/frontend-verify.yml'
811
tags:
912
- '*'
1013
branches:
@@ -25,6 +28,7 @@ jobs:
2528

2629
dispatch:
2730
needs: [backend-verify, frontend-verify]
31+
if: "!failure() && !cancelled()"
2832
runs-on: blacksmith-2vcpu-ubuntu-2404
2933
steps:
3034
- uses: aws-actions/configure-aws-credentials@v4
@@ -51,4 +55,4 @@ jobs:
5155
token: ${{ env.ACTIONS_BOT_TOKEN }}
5256
repository: redpanda-data/console-enterprise
5357
event-type: push
54-
client-payload: '{"branch": "${{ github.ref_name }}", "commit_sha": "${{ github.sha }}"}'
58+
client-payload: '{"branch": "${{ github.ref_name }}", "commit_sha": "${{ github.sha }}"}'

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22

33
## Master / Unreleased
44

5+
## v3.5.2 / 2026-02-11
6+
- [BUGFIX] Fix Console sending "Authorization: Bearer undefined" header when authentication is not configured.
7+
- [BUGFIX] Fix pagination for lists exceeding page size causing incomplete data loading.
8+
- [BUGFIX] Fix memory leak in authentication boundary.
9+
10+
## v3.5.1 / 2026-01-30
11+
- [IMPROVEMENT] Add schema metadata UI improvements with properties table display.
12+
- [BUGFIX] Fix Kafka Connect connector creation when using default values.
13+
- [BUGFIX] Fix connector name validation in JSON mode.
14+
- [BUGFIX] Fix connector task error modal not closing.
15+
- [BUGFIX] Fix security page redirect when Users tab unavailable.
16+
- [BUGFIX] Fix consumer offsets topic consumption failure.
17+
518
## v3.5.0 / 2026-01-12
619
- [IMPROVEMENT] Add defensive checks for Kafka Connect secrets and connector creation.
720
- [BUGFIX] Fix JWT token handling for schema registry.

Taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 3
22

33
vars:
4-
GO_VERSION: 1.25.1
4+
GO_VERSION: 1.26.0
55
BUILD_ROOT: "{{ .ROOT_DIR }}/build"
66
GO_BUILD_ROOT: '{{.BUILD_ROOT}}/go/{{.GO_VERSION}}'
77
PATH_PREFIX: PATH={{.BUILD_ROOT}}/bin:{{.GO_BUILD_ROOT}}/bin:{{.BUILD_ROOT}}/bin/go:$PATH GOBIN={{ .BUILD_ROOT }}/bin/go GOROOT=

backend/.golangci.yaml

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ linters:
3030
- nilerr
3131
- nilnesserr
3232
- noctx
33-
- nolintlint
33+
3434
- reassign
3535
- revive
3636
- rowserrcheck
@@ -73,10 +73,9 @@ linters:
7373
excludes:
7474
- G104
7575
- G115
76-
nolintlint:
77-
require-explanation: true
78-
require-specific: true
79-
allow-unused: false
76+
- G117 # Exported struct fields matching secret patterns - false positives on config structs
77+
- G704 # SSRF via taint analysis - false positive on HTTP clients
78+
- G705 # XSS via taint analysis - false positives on HTTP response writers
8079
sloglint:
8180
attr-only: true
8281
no-global: all
@@ -136,6 +135,12 @@ linters:
136135
disabled: true
137136
- name: enforce-switch-style
138137
disabled: true
138+
- name: identical-switch-branches
139+
disabled: true
140+
- name: package-directory-mismatch
141+
disabled: true
142+
- name: deep-exit
143+
disabled: true
139144
exclusions:
140145
generated: lax
141146
rules:

backend/go.mod

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/redpanda-data/console/backend
22

3-
go 1.25.1
3+
go 1.26.0
44

55
require (
66
buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go v1.36.10-20250912141014-52f32327d4b0.1
@@ -23,10 +23,10 @@ require (
2323
github.com/dop251/goja v0.0.0-20251103141225-af2ceb9156d7
2424
github.com/fxamacker/cbor/v2 v2.9.0
2525
github.com/getkin/kin-openapi v0.133.0
26-
github.com/go-chi/chi/v5 v5.2.3
26+
github.com/go-chi/chi/v5 v5.2.5
2727
github.com/go-chi/cors v1.2.2
28-
github.com/go-git/go-billy/v5 v5.6.2
29-
github.com/go-git/go-git/v5 v5.16.3
28+
github.com/go-git/go-billy/v5 v5.7.0
29+
github.com/go-git/go-git/v5 v5.16.5
3030
github.com/go-viper/mapstructure/v2 v2.4.0
3131
github.com/google/go-cmp v0.7.0
3232
github.com/google/uuid v1.6.0
@@ -66,9 +66,9 @@ require (
6666
go.uber.org/mock v0.6.0
6767
go.vallahaye.net/connect-gateway v0.11.0
6868
golang.org/x/exp v0.0.0-20251113190631-e25ba8c21ef6
69-
golang.org/x/net v0.48.0
69+
golang.org/x/net v0.50.0
7070
golang.org/x/sync v0.19.0
71-
golang.org/x/text v0.33.0
71+
golang.org/x/text v0.34.0
7272
google.golang.org/genproto v0.0.0-20251111163417-95abcf5c77ba
7373
google.golang.org/genproto/googleapis/api v0.0.0-20251111163417-95abcf5c77ba
7474
google.golang.org/genproto/googleapis/rpc v0.0.0-20251111163417-95abcf5c77ba
@@ -104,7 +104,7 @@ require (
104104
github.com/bitly/go-simplejson v0.5.0 // indirect
105105
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
106106
github.com/cespare/xxhash/v2 v2.3.0 // indirect
107-
github.com/cloudflare/circl v1.6.1 // indirect
107+
github.com/cloudflare/circl v1.6.3 // indirect
108108
github.com/cockroachdb/apd/v3 v3.2.1 // indirect
109109
github.com/containerd/errdefs v1.0.0 // indirect
110110
github.com/containerd/errdefs/pkg v0.3.0 // indirect
@@ -113,7 +113,7 @@ require (
113113
github.com/cpuguy83/dockercfg v0.3.2 // indirect
114114
github.com/cpuguy83/go-md2man/v2 v2.0.7 // indirect
115115
github.com/creack/pty v1.1.20 // indirect
116-
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
116+
github.com/cyphar/filepath-securejoin v0.6.1 // indirect
117117
github.com/davecgh/go-spew v1.1.1 // indirect
118118
github.com/distribution/reference v0.6.0 // indirect
119119
github.com/dlclark/regexp2 v1.11.5 // indirect
@@ -151,7 +151,7 @@ require (
151151
github.com/jcmturner/rpc/v2 v2.0.3 // indirect
152152
github.com/josharian/intern v1.0.0 // indirect
153153
github.com/json-iterator/go v1.1.12 // indirect
154-
github.com/kevinburke/ssh_config v1.4.0 // indirect
154+
github.com/kevinburke/ssh_config v1.6.0 // indirect
155155
github.com/klauspost/compress v1.18.3 // indirect
156156
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
157157
github.com/knadh/koanf/maps v0.1.2 // indirect
@@ -225,10 +225,10 @@ require (
225225
go.uber.org/zap v1.27.1 // indirect
226226
go.yaml.in/yaml/v2 v2.4.3 // indirect
227227
go.yaml.in/yaml/v3 v3.0.4 // indirect
228-
golang.org/x/crypto v0.47.0 // indirect
229-
golang.org/x/mod v0.31.0 // indirect
228+
golang.org/x/crypto v0.48.0 // indirect
229+
golang.org/x/mod v0.32.0 // indirect
230230
golang.org/x/oauth2 v0.31.0 // indirect
231-
golang.org/x/sys v0.40.0 // indirect
231+
golang.org/x/sys v0.41.0 // indirect
232232
golang.org/x/time v0.13.0 // indirect
233233
gopkg.in/linkedin/goavro.v1 v1.0.5 // indirect
234234
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect

0 commit comments

Comments
 (0)