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 1, 2025, 12:26 PM

@c-julin c-julin force-pushed the jc/shadowlink-task-status-update branch from 33a589f to fb17156 Compare December 1, 2025 12:19
push: false
- uses: bufbuild/buf-setup-action@v1
- name: Buf – breaking (excluding imports)
run: buf breaking --against 'https://github.com/redpanda-data/console.git#branch=master' --exclude-imports
Copy link
Contributor Author

Choose a reason for hiding this comment

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

adding this in but can be temporary but because of the core breaking changes this rule fails

Copy link
Contributor

Choose a reason for hiding this comment

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

You can also add a label to this PR and introduce a breaking change: https://buf.build/docs/bsr/ci-cd/github-actions/#skip-breaking-change-detection-using-labels, which can help us in the future as we introduce more changes from alpha/beta versions.

…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 👍

push: false
- uses: bufbuild/buf-setup-action@v1
- name: Buf – breaking (excluding imports)
run: buf breaking --against 'https://github.com/redpanda-data/console.git#branch=master' --exclude-imports
Copy link
Contributor

Choose a reason for hiding this comment

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

You can also add a label to this PR and introduce a breaking change: https://buf.build/docs/bsr/ci-cd/github-actions/#skip-breaking-change-detection-using-labels, which can help us in the future as we introduce more changes from alpha/beta versions.

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.

3 participants