Skip to content

Conversation

@rajeshwar-nu
Copy link

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • WHOSUSING.md
  • Other (please describe):

Changes in this PR

When conductor.app.taskIndexingEnabled=false, task documents should never be indexed, updated, or removed. Previously, some paths still indexed tasks (e.g., async task indexing during terminal workflow updates, and task index removal during workflow deletion). This violates the config contract and can create
unexpected ES load.

This PR:

  • Guards async task indexing during terminal workflow update with taskIndexingEnabled.
  • Skips task index archival/removal when task indexing is disabled.
  • Adds tests for the disabled case in ExecutionDAOFacade.

@rajeshwar-nu rajeshwar-nu force-pushed the respect-task-indexing-config branch from b4d8efb to b72a46d Compare January 8, 2026 11:08
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.

1 participant