Skip to content

feat: add short_description to dataplane v1 FieldSpec - #2605

Merged
prakhargarg105 merged 1 commit into
masterfrom
short-description-field
Aug 17, 2026
Merged

feat: add short_description to dataplane v1 FieldSpec#2605
prakhargarg105 merged 1 commit into
masterfrom
short-description-field

Conversation

@prakhargarg105

Copy link
Copy Markdown
Contributor

What

Adds an optional string short_description = 14; to message FieldSpec in proto/redpanda/api/dataplane/v1/pipeline.proto, plus the regenerated Go / TypeScript / OpenAPI code (task proto:generate).

Why

Redpanda Connect ≥ v4.104.0 emits a short_description for config fields (redpanda-data/connect#4638, benthos redpanda-data/benthos#463): a plain-text, ≤140-char summary suitable for inline help in the pipeline config editor, unlike description which is Asciidoc documentation prose often hundreds of characters long (e.g. postgres_cdc heartbeat_interval is 715 chars).

This proto field is the transport hop that lets the value reach the Console UI. Follow-ups (separate PRs): the connect-api mapping in cloudv2 to populate it, and frontend rendering.

Compatibility

Adding a new proto3 field is wire- and JSON-compatible in both directions: servers that don't populate it send nothing (clients see ""), and older clients ignore the unknown field. FieldSpec is component-schema metadata for the config editor only — running pipelines never consume it — so no coordination with deployed Connect versions is required.

Testing

  • buf lint / buf format pass (run as part of task proto:generate).
  • Verified the generated Go diff is exactly the new field + getter + descriptor bytes; go build ./pkg/protogen/... passes.
  • v1alpha2/v1alpha3 OpenAPI outputs unchanged (FieldSpec is v1-only).

🤖 Generated with Claude Code


Supersedes #2600 (same commit): reopened from an in-repo branch so the AWS-credential CI checks (Proto generate, Audit registry usage) get real secrets, which fork PRs are denied. Already reviewed by @r-vasquez there.

Adds an optional short_description field to the pipeline component
schema FieldSpec, carrying the plain-text inline help introduced in
Redpanda Connect 4.104.0 (redpanda-data/connect#4638). The field is
empty until the connect-api populates it; adding field 14 is wire- and
JSON-compatible in both directions, so no coordination with deployed
pipelines or older UI builds is required.

Generated code (Go, TypeScript, OpenAPI) regenerated via task
proto:generate.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown
Contributor

The latest Buf updates on your PR. Results from workflow Buf CI / validate (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedAug 17, 2026, 6:22 PM

@prakhargarg105
prakhargarg105 merged commit 2deda0a into master Aug 17, 2026
52 of 56 checks passed
@prakhargarg105
prakhargarg105 deleted the short-description-field branch August 17, 2026 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants