Improve order edit retrieve active
Committed by adrien2p
feat(medusa): Improve order edit retrieve active (#2244)
**What**
- Improve `retrieveActive` to take into account `(confirmed/canceled/declined)_at`
**Test**
- one more Integration test on that case
FIXES CORE-601Editor assessment
A feature commit with a disciplined body. The What section precisely names the behavior change — 'retrieveActive' now accounting for confirmed, canceled, and declined timestamps — and the Test section documenting added integration coverage is a commendable practice. The subject is a bit loose: 'Improve order edit retrieve active' is vague about the method and reads awkwardly; 'Honor confirmation state in retrieveActive' would be sharper, and it should start lowercase. Also, 'FIXES CORE-601' is not spec-compliant footer grammar — 'FIXES: CORE-601' would satisfy the token format. No breaking markers, correctly; the change is behavioral tightening, arguably a fix, but feat is defensible if the semantics were undefined before. Overall: informative, near-compliant, minor polish from being exemplary.