CRDCDH-3811 Introduce In Revision status flow - #88
Conversation
#284 Bundle Size — 12.87MiB (+100%).Warning Bundle contains 54 duplicate packages – View duplicate packages Bundle metrics
|
| Current #284 |
Baseline | |
|---|---|---|
878.22KiB |
- |
|
0B |
- |
|
0% |
- |
|
74 |
- |
|
117 |
- |
|
9161 |
- |
|
0 |
- |
|
0% |
- |
|
320 |
- |
|
53 |
- |
Bundle size by type no changes
| Current #284 |
Baseline | |
|---|---|---|
10.35MiB (+100%) |
- | |
1.72MiB (+100%) |
- | |
805.07KiB (+100%) |
- | |
18KiB (+100%) |
- |
Bundle analysis report Branch CRDCDH-3811 Project dashboard
Generated by RelativeCI Documentation Report issue
There was a problem hiding this comment.
Pull request overview
This PR introduces a new SRF status, In Revision, to support the updated workflow where an Inquired SRF transitions to In Revision when the submitter resumes work. The change updates backend constants, service-layer status handling, GraphQL schema documentation, DAO inactivity selection, and the relevant unit test.
Changes:
- Added
IN_REVISIONapplication status constant. - Updated
Applicationservice status lists/order, version auto-upgrade logic, andresumeInquiredApplicationtransition target toIN_REVISION. - Updated GraphQL schema documentation and DAO inactive-status filtering; updated the resume test expectation.
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/backend/constants/application-constants.js | Adds the IN_REVISION status constant. |
| apps/backend/services/application.js | Threads IN_REVISION through status handling, version selection, and resume transition logic. |
| apps/backend/dao/application.js | Includes IN_REVISION in inactivity queries. |
| apps/backend/resources/graphql/crdc-datahub.graphql | Updates schema comments/docs to include “In Revision” and the new transition wording. |
| apps/backend/test/services/application.test.js | Updates the resume test to expect IN_REVISION. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Overview
This PR implements the backend portion of the new "In Revision" SRF workflow change, where an "Inquired" SRF now becomes "In Revision" when opened by the submitter.
Change Details (Specifics)
N/A
Related Ticket(s)
CRDCDH-3744 (US)
CRDCDH-3811 (Task)