Skip to content

Fix: empty parent task external id on olap dags and runs#3605

Merged
mrkaye97 merged 2 commits into
mainfrom
mk/fix-empty-parent-task-external-id
Apr 14, 2026
Merged

Fix: empty parent task external id on olap dags and runs#3605
mrkaye97 merged 2 commits into
mainfrom
mk/fix-empty-parent-task-external-id

Conversation

@mrkaye97
Copy link
Copy Markdown
Contributor

Description

Small fix for empty uuids, just need to pass the pointer

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Copilot AI review requested due to automatic review settings April 10, 2026 23:56
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2026

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

Project Deployment Actions Updated (UTC)
hatchet-docs Ready Ready Preview, Comment Apr 13, 2026 1:28pm

Request Review

Copy link
Copy Markdown
Contributor

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

Fixes incorrect propagation of ParentTaskExternalID when creating DAG payloads, which previously caused “empty UUID” parent task external IDs to be written into OLAP for root DAGs/runs.

Changes:

  • Stop wrapping ParentTaskExternalID in a non-nil pointer to a zero UUID; pass through the original pointer so nil stays nil.
  • Ensures OLAP DAG creation receives a proper NULL parent external ID instead of 00000000-0000-0000-0000-000000000000.

@mrkaye97 mrkaye97 merged commit 3acccfa into main Apr 14, 2026
52 checks passed
@mrkaye97 mrkaye97 deleted the mk/fix-empty-parent-task-external-id branch April 14, 2026 20:41
wsehl pushed a commit to wsehl/hatchet that referenced this pull request Apr 23, 2026
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