Skip to content

Resolve #426: WaitTask base class sets wrong inputParameter key 'wait_until' instead of 'until' - #463

Open
v1r3n wants to merge 2 commits into
mainfrom
harness/issue-426
Open

Resolve #426: WaitTask base class sets wrong inputParameter key 'wait_until' instead of 'until'#463
v1r3n wants to merge 2 commits into
mainfrom
harness/issue-426

Conversation

@v1r3n

@v1r3n v1r3n commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Closes #426

Summary

Correct the direct WaitTask(wait_until=...) serialization key and add a focused unit regression test. No server integration or subclass changes are needed.

Subtasks

  • fix-wait-task-until-key: Change WaitTask.__init__ to store wait_until under the server-recognized until input key. Add unit coverage asserting the direct constructor emits {"until": ...} without wait_until, while preserving existing duration behavior and the already-correct WaitUntilTask behavior.

Verification

  • Verified: false
  • Findings:
  • Complete: direct WaitTask(wait_until=...) now serializes as {"until": ...}, matching the existing server-recognized key used by WaitUntilTask.
  • Focused regression coverage was added in tests/unit/workflow/test_wait_task.py, including an assertion that the obsolete wait_until key is absent. No server integration or subclass implementation changes were introduced.
  • Verification is unavailable from the supplied result: the single-program invocation of coverage failed with FileNotFoundError before any tests ran. This is an unavailable/malformed test command in this environment, not evidence of a project-code failure.

Automated resolution by the Conductor coding harness (code_parallel).

v1r3n added 2 commits August 4, 2026 21:59
…acb2-673eb0aca4df:baseline]

Conductor-Original-Branch: main
Conductor-Original-Head: 5323c3d
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files with missing lines Coverage Δ
src/conductor/client/workflow/task/wait_task.py 95.65% <ø> (+95.65%) ⬆️

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

WaitTask base class sets wrong inputParameter key 'wait_until' instead of 'until'

2 participants