Skip to content

Conversation

@c-julin
Copy link
Contributor

@c-julin c-julin commented Dec 1, 2025

Summary

  • Removes duplicate TaskState enum and ShadowLinkTaskStatus message definitions from console and dataplane protos
  • Updates both console (v1alpha1) and dataplane (v1alpha3) shadowlink protos to use the shared core.admin.v2.ShadowLinkTaskStatus type
  • Updates buf dependency buf.build/redpandadata/core to latest version
  • Updates frontend imports and field accessors to match the core proto structure (shard instead of shardId)

Test plan

  • Proto generation passes (task proto:generate)
  • Frontend linting passes (bun run lint)
  • Backend linting passes (task backend:lint)

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

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

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed⏩ skippedDec 2, 2025, 11:03 AM

@c-julin c-julin force-pushed the jc/shadowlink-task-status-update branch from 33a589f to fb17156 Compare December 1, 2025 12:19
…e APIs

Remove duplicate TaskState enum and ShadowLinkTaskStatus message from
console/v1alpha1 and dataplane/v1alpha3 protos. Both now reference
core.admin.v2.ShadowLinkTaskStatus.

Update buf.build/redpandadata/core to latest SHA and regenerate protos.
Update frontend imports to use core proto types and adjust field name
from shardId to shard.
Configure buf breaking change detection to ignore changes in external
dependencies (buf.build/redpandadata/core) using --exclude-imports flag
in CI workflow. Add secret.proto to ignore list and enable
ignore_unstable_packages to handle dependency version changes.
Update import paths after proto dependency reorganization:
- ACL types moved from redpanda/core/common/acl_pb to v1/acl_pb
- TLS types moved from shadow_link_pb to common/v1/tls_pb

Affects shadowlink creation, editing, and detail views.
@c-julin c-julin force-pushed the jc/shadowlink-task-status-update branch from fb17156 to d0e93c6 Compare December 1, 2025 12:26
Copy link
Contributor

@r-vasquez r-vasquez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks for doing this. Just 1 comment on the CI, let me know how you want to handle it 👍

Remove the --exclude-imports flag from buf breaking change detection
to properly validate all proto changes including imported dependencies.
Also remove secret.proto from ignore list and ignore_unstable_packages
setting from buf.yaml.

This reverts the changes made in commits:
- 4c25c2a: fix: exclude imported proto breaking changes from CI validation
- ec4e442: fix: update proto import paths for ACL and TLS types (partial)
@c-julin c-julin force-pushed the jc/shadowlink-task-status-update branch from 67bd6a7 to 18a0f11 Compare December 2, 2025 08:26
Add topic_id as field 2 in ShadowTopic and GetShadowTopicResponse
messages to support topic identification beyond name. Regenerated
backend Go, frontend TypeScript, and OpenAPI specs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants