OpenRailAssociation / OpenRailAssociation/osrd
core: kt-infra: migrate all distances from `double` to `Distance`/`long`
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 660
- Forks
- 87
- Avg merge
- 3d 4h
- Merged PRs (30d)
- 269
Description
There are still lots of places that use doubles for distances, in particular anything related to envelopes.
The scope of this change is much larger than just stdcm, I believe it should only be done when we intend on migrating the schedule endpoint and removing all reference of legacy infra.
Contributor 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.
Research direction
The issue names kt-infra, envelope-related distance handling, the schedule endpoint, and legacy infrastructure, but no files or tests. Start by locating those entry points and cataloguing remaining distance uses; completion requires an agreed migration scope and removal of the legacy references.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, backend
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100