Skip to content

Refactor: introduce lookahead() in DecompressionPlanner - #171

Merged
Rolf-Smit merged 1 commit into
mainfrom
refactor/introduce-lookahead-in-decompression-planner
Apr 28, 2026
Merged

Refactor: introduce lookahead() in DecompressionPlanner#171
Rolf-Smit merged 1 commit into
mainfrom
refactor/introduce-lookahead-in-decompression-planner

Conversation

@Rolf-Smit

Copy link
Copy Markdown
Contributor

Renamed isCalculatingTts to isLookahead and resetAfter() to lookahead(). The lookahead method now manages the isLookahead flag itself, so all calculations that previously used resetAfter() (TTS, find-ceiling and ceiling-cleared checks) no longer emit per-minute intermediate segments.

Renamed `isCalculatingTts` to `isLookahead` and `resetAfter()` to `lookahead()`. The lookahead method now manages the `isLookahead` flag itself, so all calculations that previously used `resetAfter()` (TTS, find-ceiling and ceiling-cleared checks) no longer emit per-minute intermediate segments.
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.66667% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 69.77%. Comparing base (27b7731) to head (1b8b27e).

Files with missing lines Patch % Lines
...ysner/domain/decompression/DecompressionPlanner.kt 91.66% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   69.80%   69.77%   -0.04%     
==========================================
  Files         141      141              
  Lines        7578     7576       -2     
  Branches      933      933              
==========================================
- Hits         5290     5286       -4     
- Misses       1810     1813       +3     
+ Partials      478      477       -1     
Flag Coverage Δ
domain 77.67% <91.66%> (-0.17%) ⬇️
presentation 67.82% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Rolf-Smit
Rolf-Smit merged commit 72b9e98 into main Apr 28, 2026
4 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 28, 2026
@Rolf-Smit
Rolf-Smit deleted the refactor/introduce-lookahead-in-decompression-planner branch April 28, 2026 09:14
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants