Skip to content

Cover expired player callbacks deterministically - #73

Merged
fardavide merged 1 commit into
mainfrom
codex/player-callback-coverage
Oct 5, 2026
Merged

fardavide merged 1 commit into
mainfrom
codex/player-callback-coverage

Conversation

@fardavide

Copy link
Copy Markdown
Owner

Coverage of the expired-item guard varies between otherwise identical CI runs. Move the existing nil guard into the playback-status handler and add a regression proving that an expired callback leaves replacement playback and its deadline unchanged. Preserve the weak captures and MainActor hop.

Validation: three complete AuraKit coverage collections, including a clean rebuild, produce identical per-file counts and retain all 938 methods plus 30 argument cases. The ordinary package command also passes. Full and two-shard iOS collection pass all 79 methods and retain all 592 snapshot renders with identical coverage measurements. Both iOS and macOS builds pass.

@fardavide fardavide added the chore Tooling, CI, dependencies or docs label Oct 5, 2026
@semanticdiff-com

semanticdiff-com Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Review changes with  SemanticDiff

Changed Files
File Status
  AuraKit/Sources/Common/Player/LivePlayerModel.swift  50% smaller
  AuraKit/Tests/Common/PlayerTests/LivePlayerModelTests.swift Unsupported file format

@fardavide
fardavide merged commit 4551f13 into main Oct 5, 2026
4 checks passed
@fardavide
fardavide deleted the codex/player-callback-coverage branch October 5, 2026 13:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Tooling, CI, dependencies or docs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant