Change ProcessTraceEvent.getDuration() to return long or Duration
Open
⚙️ Refactoring
- Dominant language
- Java
- Stars
- 71
- Forks
- 39
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the refactoring action**
Change ProcessTraceEvent.getDuration() to return long or Duration.
**Expected benefit**
Currently, it returns an int which might be truncated.
Contributor guide
Research direction
Start by locating ProcessTraceEvent.getDuration() and inspect its callers and related tests to understand the current duration unit and API expectations. Resolve whether the return type should be long or Duration, then update the affected usages and verify that durations are no longer truncated.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100