Skip to content

Forward-merge release/2.2 into develop - #350

Merged
GPUtester merged 1 commit into
developfrom
release/2.2
Jul 15, 2026
Merged

Forward-merge release/2.2 into develop#350
GPUtester merged 1 commit into
developfrom
release/2.2

Conversation

@rapids-bot

@rapids-bot rapids-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown

Forward-merge triggered by push to release/2.2 that creates a PR to keep develop up-to-date. If this PR is unable to be immediately merged due to conflicts, it will remain open for the team to manually merge. See forward-merger docs for more info.

#### Overview

Fixes AIQ-3571 by declaring the async deep-research flag on `DeepResearchWorkflowConfig` and safely reading it in the Dask job runner. Async jobs submitted with `config_domain_routing_and_skills.yml` now enter the deep-research workflow instead of failing with an `AttributeError`.

A focused regression test covers enabled, disabled, absent, and missing-workflow cases.

#### DCO sign-off for the squash commit

Signed-off-by: Kyle Zheng <kyzheng@nvidia.com>

#### Validation

- [x] `.venv/bin/ruff check frontends/aiq_api/src/aiq_api/jobs/runner.py src/aiq_agent/agents/deep_researcher/register.py tests/aiq_agent/jobs/test_runner.py` — passed.
- [x] `.venv/bin/ruff format --check frontends/aiq_api/src/aiq_api/jobs/runner.py src/aiq_agent/agents/deep_researcher/register.py tests/aiq_agent/jobs/test_runner.py` — 3 files already formatted.
- [x] `.venv/bin/pytest tests/aiq_agent/jobs/test_runner.py -q` — 114 passed.
- [x] Manual async regression with `config_domain_routing_and_skills.yml`: health and agent discovery passed; the Dask worker entered source routing and planning without the reported `AttributeError`. The report later stopped on unrelated model-provider 429 throttling.
- [x] Tests cover the behavior change.
- [x] Documentation is not required because this restores the existing configuration behavior.
- [x] This PR contains no secrets, credentials, or internal-only data.
- [x] The commit is DCO-signed and the squash sign-off above matches the GitHub identity.

#### Where should reviewers start?

Start with `_get_worker_function_type` in `frontends/aiq_api/src/aiq_api/jobs/runner.py` and its regression test in `tests/aiq_agent/jobs/test_runner.py`.

#### Related Issues

- Relates to AIQ-3571



## Summary by CodeRabbit

* **New Features**
  * Added an option to submit deep research tasks asynchronously instead of running them inline.
  * The option is disabled by default.

* **Bug Fixes**
  * Improved compatibility with workflow configurations where the asynchronous research option is not specified.
  * Added coverage for enabled, disabled, missing, and empty workflow configurations.

Authors:
  - Kyle Zheng (https://github.com/KyleZheng1284)

Approvers:
  - Ajay Thorve (https://github.com/AjayThorve)

URL: #347
@rapids-bot
rapids-bot Bot requested a review from a team July 15, 2026 21:24
@GPUtester
GPUtester merged commit 505342f into develop Jul 15, 2026
5 checks passed
@rapids-bot

rapids-bot Bot commented Jul 15, 2026

Copy link
Copy Markdown
Author

SUCCESS - forward-merge complete.

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.

2 participants