Skip to content

fix: rename with proto changes#1629

Merged
cicoyle merged 9 commits into
dapr:masterfrom
sicoyle:fix/updates-from-renames
May 11, 2026
Merged

fix: rename with proto changes#1629
cicoyle merged 9 commits into
dapr:masterfrom
sicoyle:fix/updates-from-renames

Conversation

@sicoyle
Copy link
Copy Markdown
Contributor

@sicoyle sicoyle commented Apr 9, 2026

Description

Precursor to #1628 that I stumbled upon in testing my local changes.

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #[issue number]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

Signed-off-by: Samantha Coyle <sam@diagrid.io>
Copilot AI review requested due to automatic review settings April 9, 2026 19:46
@sicoyle sicoyle requested review from a team as code owners April 9, 2026 19:46
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Aligns the CLI’s workflow history parsing/output with upstream Durable Task / Dapr proto renames, and bumps Go module dependencies to versions that include those proto changes.

Changes:

  • Update workflow history event handling to use renamed proto fields/events (e.g., WorkflowInstance, WorkflowStarted, ChildWorkflowInstance*).
  • Update workflow status mapping to the renamed WorkflowStatus field.
  • Bump Dapr/DurableTask-Go (and related) module versions in go.mod/go.sum.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.

File Description
pkg/workflow/history.go Renames proto event/field usage for workflow history display and derived metadata.
go.mod Updates Go module versions to pull in proto changes; includes an extra trailing comment.
go.sum Records checksum updates for the dependency version changes.
Comments suppressed due to low confidence (1)

go.mod:275

  • The trailing commented-out local replace github.com/dapr/dapr => ../dapr looks like a leftover from local development. Please remove it before merging to avoid confusion about the module's intended dependency graph.
	sigs.k8s.io/controller-runtime v0.19.0 // indirect
	sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
	sigs.k8s.io/kustomize/api v0.19.0 // indirect

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread pkg/workflow/history.go
Comment thread pkg/workflow/history.go
sicoyle added 2 commits April 10, 2026 11:06
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
@sicoyle
Copy link
Copy Markdown
Contributor Author

sicoyle commented Apr 13, 2026

e2e test failures are unrelated from what I can tell

cicoyle
cicoyle previously approved these changes Apr 13, 2026
Copy link
Copy Markdown
Contributor

@cicoyle cicoyle left a comment

Choose a reason for hiding this comment

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

lgtm, thx for doing this! 🎉

Signed-off-by: Samantha Coyle <sam@diagrid.io>
sicoyle added 4 commits April 24, 2026 10:19
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
Signed-off-by: Samantha Coyle <sam@diagrid.io>
@cicoyle cicoyle merged commit 79af325 into dapr:master May 11, 2026
43 of 56 checks passed
@nelson-parente nelson-parente added this to the v1.18 milestone May 20, 2026
cicoyle pushed a commit to WhitWaldo/dapr-cli that referenced this pull request May 22, 2026
The E2E - KinD non-HA matrix has been red for 10 days (since 2026-05-11).
TestRenewCertificateMTLSEnabled hangs at the 25-minute suite timeout in
the "Renew certificate which expires in less than 30 days" subtest.

Root cause: PR dapr#1629 bumped github.com/dapr/dapr from v1.17.3 to a
pseudo-version (commit f8d0f6142987, 2026-04-25) to pull in the workflow
proto renames. That commit also includes #9598 (Sentry: Ed25519 for
X.509 cert key generation, merged 2026-03-18). The CLI now generates
Ed25519 root/issuer certs via bundle.GenerateX509().

The E2E pinned runtime was 1.17.3, whose sentry cannot parse Ed25519
keys -- it crashes on startup with "unsupported key type
ed25519.PrivateKey" (a known issue documented in the 1.18 release notes
as the "rollback floor is 1.17.7" caveat). After the cert renewal step,
sentry crash-loops and the post-renewal `kubectl rollout status` call
(which has no timeout) blocks until the 25-minute test alarm fires.

Bumping the pinned version to 1.17.7 -- the first stable release that
includes the Ed25519 PEM-decoder fix (dapr/dapr#9904) -- aligns the
E2E runtime with the minimum compatible sentry for a 1.18 CLI.

Only non-HA matrix legs were affected because TestRenewCertificateMTLSEnabled
is skipped in HA mode (DaprModeNonHA guard at the top of the test).

Note: the unbounded `kubectl rollout status` in `restartControlPlaneService`
is a separate latent bug that turned this incompatibility into a 25-min
hang instead of a clean failure. Worth fixing in a follow-up.

Signed-off-by: Nelson Parente <nelson_parente@live.com.pt>
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.

4 participants