Skip to content

Add missing Nexus Operation events to event groups#3309

Merged
Alex-Tideman merged 1 commit into
mainfrom
nexus-operation-grouping-fix
Apr 15, 2026
Merged

Add missing Nexus Operation events to event groups#3309
Alex-Tideman merged 1 commit into
mainfrom
nexus-operation-grouping-fix

Conversation

@Alex-Tideman

@Alex-Tideman Alex-Tideman commented Apr 15, 2026

Copy link
Copy Markdown
Collaborator

Description & motivation 💭

We were missing the NexusOperationTimedOut and all NexusOperationCancelRequest events in our event group building. This fixes that.

Screenshots (if applicable) 📸

Before
Screenshot 2026-04-15 at 9 35 33 AM
Screenshot 2026-04-15 at 9 35 52 AM

After
Screenshot 2026-04-15 at 9 44 34 AM
Screenshot 2026-04-15 at 9 44 50 AM

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

@Alex-Tideman
Alex-Tideman requested a review from a team as a code owner April 15, 2026 15:01
@vercel

vercel Bot commented Apr 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Apr 15, 2026 3:01pm

Request Review

return String(event.nexusOperationCanceledEventAttributes.scheduledEventId);
}

if (isNexusOperationTimedOutEvent(event)) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  • ⚠️ 'event.nexusOperationTimedOutEventAttributes' is possibly 'null' or 'undefined'.

}

if (isNexusOperationCancelRequestedEvent(event)) {
return String(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  • ⚠️ 'event.nexusOperationCancelRequestedEventAttributes' is possibly 'null' or 'undefined'.

}

if (isNexusOperationCancelRequestCompletedEvent(event)) {
return String(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  • ⚠️ 'event.nexusOperationCancelRequestCompletedEventAttributes' is possibly 'null' or 'undefined'.

}

if (isNexusOperationCancelRequestFailedEvent(event)) {
return String(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

  • ⚠️ 'event.nexusOperationCancelRequestFailedEventAttributes' is possibly 'null' or 'undefined'.

@temporal-cicd

temporal-cicd Bot commented Apr 15, 2026

Copy link
Copy Markdown
Contributor
Warnings
⚠️

📊 Strict Mode: 33 errors in 2 files (3.1% of 1063 total)

src/lib/utilities/is-event-type.ts (5)
  • L218:55: Function lacks ending return statement and return type does not include 'undefined'.
  • L245:19: Element implicitly has an 'any' type because expression of type '"userMetadata" | "workflowExecutionStartedEventAttributes" | "workflowExecutionCompletedEventAttributes" | "workflowExecutionFailedEventAttributes" | "workflowExecutionTimedOutEventAttributes" | ... 54 more ... | "workflowExecutionUnpausedEventAttributes"' can't be used to index type 'HistoryEvent | CommonHistoryEvent | IterableEvent'.
  • L464:6: 'event.markerRecordedEventAttributes' is possibly 'null' or 'undefined'.
  • L464:6: Argument of type 'string | null | undefined' is not assignable to parameter of type 'string'.
  • L498:4: 'event.workflowExecutionUpdateCompletedEventAttributes' is possibly 'null' or 'undefined'.
src/lib/models/event-groups/get-group-id.ts (28)
  • L34:18: 'event.activityTaskStartedEventAttributes' is possibly 'null' or 'undefined'.
  • L37:18: 'event.activityTaskCanceledEventAttributes' is possibly 'null' or 'undefined'.
  • L42:6: 'event.activityTaskCancelRequestedEventAttributes' is possibly 'null' or 'undefined'.
  • L47:18: 'event.activityTaskFailedEventAttributes' is possibly 'null' or 'undefined'.
  • L51:18: 'event.activityTaskTimedOutEventAttributes' is possibly 'null' or 'undefined'.
  • L55:18: 'event.activityTaskCompletedEventAttributes' is possibly 'null' or 'undefined'.
  • L60:6: 'event.childWorkflowExecutionStartedEventAttributes' is possibly 'null' or 'undefined'.
  • L66:6: 'event.childWorkflowExecutionTerminatedEventAttributes' is possibly 'null' or 'undefined'.
  • L72:6: 'event.childWorkflowExecutionCompletedEventAttributes' is possibly 'null' or 'undefined'.
  • L78:6: 'event.childWorkflowExecutionCanceledEventAttributes' is possibly 'null' or 'undefined'.
  • L84:6: 'event.childWorkflowExecutionFailedEventAttributes' is possibly 'null' or 'undefined'.
  • L90:6: 'event.childWorkflowExecutionTimedOutEventAttributes' is possibly 'null' or 'undefined'.
  • L95:18: 'event.timerFiredEventAttributes' is possibly 'null' or 'undefined'.
  • L99:18: 'event.timerCanceledEventAttributes' is possibly 'null' or 'undefined'.
  • L104:6: 'event.workflowExecutionUpdateCompletedEventAttributes' is possibly 'null' or 'undefined'.
  • L110:6: 'event.externalWorkflowExecutionSignaledEventAttributes' is possibly 'null' or 'undefined'.
  • L115:18: 'event.workflowTaskStartedEventAttributes' is possibly 'null' or 'undefined'.
  • L119:18: 'event.workflowTaskCompletedEventAttributes' is possibly 'null' or 'undefined'.
  • L123:18: 'event.workflowTaskFailedEventAttributes' is possibly 'null' or 'undefined'.
  • L127:18: 'event.workflowTaskTimedOutEventAttributes' is possibly 'null' or 'undefined'.
  • L131:18: 'event.nexusOperationStartedEventAttributes' is possibly 'null' or 'undefined'.
  • L136:6: 'event.nexusOperationCompletedEventAttributes' is possibly 'null' or 'undefined'.
  • L141:18: 'event.nexusOperationFailedEventAttributes' is possibly 'null' or 'undefined'.
  • L145:18: 'event.nexusOperationCanceledEventAttributes' is possibly 'null' or 'undefined'.
  • L149:18: 'event.nexusOperationTimedOutEventAttributes' is possibly 'null' or 'undefined'.
  • L154:6: 'event.nexusOperationCancelRequestedEventAttributes' is possibly 'null' or 'undefined'.
  • L160:6: 'event.nexusOperationCancelRequestCompletedEventAttributes' is possibly 'null' or 'undefined'.
  • L167:6: 'event.nexusOperationCancelRequestFailedEventAttributes' is possibly 'null' or 'undefined'.

Generated by 🚫 dangerJS against 7230f6b

@andrewzamojc andrewzamojc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Alex-Tideman
Alex-Tideman merged commit c983481 into main Apr 15, 2026
23 checks passed
@Alex-Tideman
Alex-Tideman deleted the nexus-operation-grouping-fix branch April 15, 2026 15:20
rossnelson added a commit that referenced this pull request Apr 20, 2026
Auto-generated version bump from 2.48.3 to 2.48.4

Specific version: 2.48.4

Changes included:
- [`7cf1be53`](7cf1be5) Adjust breadcrumb spacing and min-height (#3304)
- [`c9834815`](c983481) Add missing Nexus Operation events to event groups (#3309)
- [`5c7aa86c`](5c7aa86) feat: add onItemsChange callback to PaginatedTable (#3300)
- [`66d3cf68`](66d3cf6) Update pre-release badge to secondary in Workers (#3310)
- [`393e84de`](393e84d) Keep Pending Activities/Operations at the top of Timeline and Compact view (#3307)
- [`9f721347`](9f72134) Update error link in codec-server-error-banner (#3313)
- [`e698bda3`](e698bda) Add class prop to BottomNav component (#3314)
- [`55767fc9`](55767fc) Add overrides (#3317)
- [`256cd274`](256cd27) refactor(decode-payload): clean up decode-payload.ts API surface (#3302)
- [`04f8c251`](04f8c25) Make input height full so its easier to click into the input (#3318)
- [`b2231056`](b223105) Workflows Table Row Density (#3285)
- [`0b2ce4fd`](0b2ce4f) PR Review Notifications (#3322)
- [`84618196`](8461819) feat: serverless worker deployment CRUD (#3236)

Co-authored-by: rossnelson <[email protected]>
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