kestra-io / kestra-io/plugin-azure
plugin-azure: kill()/stop() not implemented on killable/pollable tasks
- Dominant language
- Java
- Stars
- 8
- Forks
- 19
- Avg merge
- 3d 2h
- Merged PRs (30d)
- 7
Description
Sub-issue of kestra-io/kestra-ee#10964.
**Tasks:** io.kestra.plugin.azure.aifoundry.RunAgent
**Why:** Starts an AI Foundry agent run and polls until terminal status; no kill()/stop() to cancel the remote run when the execution is killed.
**Fix:** override `kill()` and/or `stop()` on these task classes to cancel the poll loop / close the consumer / cancel the remote job. See `io.kestra.plugin.gcp.bigquery.AbstractBigquery` for a reference implementation.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with io.kestra.plugin.azure.aifoundry.RunAgent and compare its polling behavior with the kill()/stop() implementation in io.kestra.plugin.gcp.bigquery.AbstractBigquery. Trace how the agent run is started and polled, then implement cancellation for the poll loop and remote run as appropriate. Done means killed executions no longer leave the AI Foundry run polling or running remotely.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, java
- Domain
- backend, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 68/100