Canceling inventory source sync leads to error state on job output
- Dominant language
- Python
- Stars
- 15.6k
- Forks
- 3.7k
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 25
Description
### Please confirm the following
- [X] I agree to follow this project's [code of conduct](http://docs.ansible.com/ansible/latest/community/code_of_conduct.html).
- [X] I have checked the [current issues](https://github.com/ansible/awx/issues) for duplicates.
- [X] I understand that AWX is open source software provided for free and that I am not entitled to status updates or other assurances.
### Summary
Canceling inventory source sync leads to error state on job output.
Inventory source was sourced from a project.
### AWX version
devel
### Installation method
docker for mac
### Modifications
no
### Ansible version
_No response_
### Operating system
_No response_
### Web browser
_No response_
### Steps to reproduce
1 - Create an inventory source - sourced from a project
2 - Sync the inventory source
3 - Cancel the inventory source sync
4 - See job output
### Expected results
Job output status to be cancelled.
### Actual results
Job output status is in error state.


On the older versions we shown this status as canceled as below.

### Additional information
HTTP Requests made:


There is also the job data related to the inventory source sync.
Contributor guide
Research direction
Start by reproducing the inventory source sync from a project, cancel it, and inspect the resulting job output and related job data. Compare the HTTP requests and older canceled-status behavior shown in the issue; done means the canceled sync is displayed with a cancelled status rather than an error state.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ansible, python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100