Modernization roadmap: stabilize and refactor range-api in phased deliveries
@brijesh-amin is already working on this.
Since Jul 17, 2026.
Assessment
This issue has not been assessed yet.
Description
Goal
Deliver a phased modernization of range-api to reduce operational risk, improve maintainability, and increase delivery velocity without disrupting current behavior.
Scope
This roadmap is organized into quick wins, short projects, and longer initiatives based on impact/risk reduction.
Outcomes
- Safer runtime behavior (error handling + startup semantics)
- CI/runtime consistency and more reliable signals
- Better module boundaries (controller -> service -> repository)
- Stronger typing in critical paths
- Predictable configuration and test execution
Sub-tasks
- #524 Quick wins: runtime stability, CI alignment, and config/test hygiene
- #525 Extract plan vertical slice to controller/service/repository boundary
- #526 Replace DataManager dynamic usage with explicit dependencies
- #527 Decompose auth middleware responsibilities
- #528 Centralize and type environment configuration
- #529 TypeScript hardening for runtime-critical path
- #530 Reduce any usage in db2 model/query layer
Suggested order
- #524
- #525
- #526
- #527
- #528
- #529
- #530
Definition of done
- Child tasks are completed and merged to
dev - CI passes on target Node version
- No startup/error-path regressions in API behavior
- Documentation reflects current runtime/toolchain
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bcgov/range-api
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
-
Renew MyRange SSL certificate (expires Apr 14, 2027)Possibly taken @brijesh-amin claimed this 3 days ago. Open
-
#523 - Reduce any usage in db2 model/query layerMay be free again @brijesh-amin claimed this 76 days ago, and no pull request is open. Open
-
#523 - TypeScript hardening for runtime-critical pathMay be free again @brijesh-amin claimed this 76 days ago, and no pull request is open. Open
-
#523 - Centralize and type environment configurationMay be free again @brijesh-amin claimed this 76 days ago, and no pull request is open. Open
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
betagouv/mon-entreprise#4699 ·
Maintainers usually reply within 3 days
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
jaegertracing/jaeger-ui#4547 · 3 comments ·
Maintainers usually reply within 1 day
-
ai-driven-qa
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
linagora/twake-calendar-frontend#1467 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
need4deed-org/sdk#267 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
auth0/universal-login#414 ·
Maintainers usually reply within 1 day