mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
127 stars 41 forks source link

[Task]: use new jobs/.../decision api to make decisions on job #14779

Closed eviljeff closed 6 months ago

eviljeff commented 6 months ago

Description

resolves https://mozilla-hub.atlassian.net/browse/AMO2-723

Previously if AMO wanted to resolve a cinder job with a decision via it’s api the only option was to create a decision on the entity, and then close the job. Now there is a new create decision on job api endpoint which will allow us to do it in a single step, and associate the decision with the job correctly.

Acceptance Criteria

### Acceptance Criteria
- [x] jobs/xx/decision is used for decisions on jobs
- [x] use of close job is removed

Checks

┆Issue is synchronized with this Jira Task

eviljeff commented 6 months ago

To test this issue:

ioanarusiczki commented 5 months ago

I see the status "Closed" instead of "Cancelled" and in Decisions tab the AMO reject action, I'll continue this tomorrow , try a couple more scenarios.

ioanarusiczki commented 5 months ago

I've added a comment into https://github.com/mozilla/addons/issues/14788#issuecomment-2115208071 so I can follow the unresolved issues there and mark this verified.