Skip to content

refactor: remove time generation from sql db layer#7631

Merged
natemort merged 1 commit intocadence-workflow:masterfrom
ribaraka:mv-timeSrc-to-persistManager
Jan 23, 2026
Merged

refactor: remove time generation from sql db layer#7631
natemort merged 1 commit intocadence-workflow:masterfrom
ribaraka:mv-timeSrc-to-persistManager

Conversation

@ribaraka
Copy link
Contributor

What changed?

Replaced time.Now() in sql_history/task stores with request.CurrentTime

Why?

I missed a couple of time.Now() calls still living in the sql store layer; we should keep time generation out of low level persistence due to #6610 .

How did you test it?

Unit tests

Potential risks

Release notes

Documentation Changes

…meStamp

Signed-off-by: Stanislav Bychkov <stanislb@netapp.com>
Copy link
Member

@bowenxia bowenxia 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 the contribution!

@natemort natemort merged commit 348f00a into cadence-workflow:master Jan 23, 2026
41 checks passed
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