cloudflare / cloudflare/workerd

Workflow id initialized to a non-UUID

Open
#6,885 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

One of the instances of the workflow was assigned a non-UUID string. It breaks our system because internally in DB we store the workflowInstanceId and our system expects a UUID string. The workflow instance id was the following:

-f42ee415a40ce387734f11185e6fb8ef9337c809cba9414dd5cbdcb897b1991d

Image

NOTE: We are not manually setting the id for this workflow.

Contributor guide

Open the contributing guide

Research direction

No file, test, or entry point is identified in the report. Start by locating where workflowInstanceId is initialized and reproduce the non-UUID assignment; done means the workflow instance receives a valid UUID and a regression test covers the observed case.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.