Skip to content

fix(engine): don't check idempotency keys for dag steps - #5211

Merged
mrkaye97 merged 3 commits into
mainfrom
mk/dont-check-nondeterminism-for-dags
Oct 14, 2026
Merged

mrkaye97 merged 3 commits into
mainfrom
mk/dont-check-nondeterminism-for-dags

Conversation

@mrkaye97

Copy link
Copy Markdown
Contributor

Description

Since we're orchestrating DAGs internally, we know there's no risk of non-determinism, so we don't need to bother checking idempotency keys. This also simplifies future payload work, so figured it'd make sense to do now

Type of change

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

Checklist

Changes have been:

  • Documented (where applicable)
  • Added to CHANGELOG (where applicable) -- see Keep a Changelog

🤖 AI Disclosure

No AI

@vercel

vercel Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
hatchet-docs Ready Ready Preview Oct 14, 2026 9:39pm UTC

Request Review

fix: tests + cleanup

fix: naming

fix: naming
@mrkaye97
mrkaye97 force-pushed the mk/dont-check-nondeterminism-for-dags branch from 5a80383 to 4eae4fd Compare October 14, 2026 21:34
@greptile-apps

greptile-apps Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[High impact] This PR appears safe to merge; no blocking issue remains.

Summary

DAG steps now reuse log entries without comparing idempotency keys, allowing replay when input bytes differ.

  • DAG-step replays reuse entries even when input bytes change.

Reviews (2) · Last reviewed commit: "fix: more naming" · Reviewed by Greptile

Comment thread pkg/repository/durable_events_test.go
@mrkaye97
mrkaye97 merged commit 9cce0f4 into main Oct 14, 2026
78 of 80 checks passed
@mrkaye97
mrkaye97 deleted the mk/dont-check-nondeterminism-for-dags branch October 14, 2026 22:09

This branch was successfully deployed

1 active deployment
Preview — c8ac36fe Deployed Oct 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine Related to the core Hatchet engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants