Skip to content

Move PlaylistEntry to a neutral model with compatible exports - #66

Draft
ghbarker wants to merge 2 commits into
varunsalian:webdav-syncfrom
ghbarker:codex/upstream-neutral-playlist-entry
Draft

ghbarker wants to merge 2 commits into
varunsalian:webdav-syncfrom
ghbarker:codex/upstream-neutral-playlist-entry

Conversation

@ghbarker

@ghbarker ghbarker commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Move the unchanged PlaylistEntry declaration into lib/models/playlist_entry.dart, so other models no longer import a player-screen implementation directory. The original path re-exports the same declaration, preserving source compatibility and runtime type identity.

Based independently on webdav-sync at 077f2e79. This changes two model imports and the ownership map; it does not change player behavior or require another refactor PR.

Validation with Flutter 3.44.8 / Dart 3.12.2: all three original model contract tests pass before and after the move; two additional import-identity tests pass. Declaration bytes match upstream after line-ending normalization. Analysis adds no diagnostics; one existing empty_catches informational diagnostic remains in series_playlist.dart.

Independent review found no production regressions. Two additional committed tests protect the former player-screen re-export and real-consumer type identity, bringing the final suite to seven passing tests. Removing the compatibility export is caught. Supplemental-test analysis is clean.

Combined validation with the other ten proposed slices: 304 focused/integration tests passed and an Android release build succeeded with Flutter 3.44.8 / Dart 3.12.2 / JDK 17. The test and build source trees match. The existing Windows Spotlight golden is excluded from that selection. A separate clean upstream full-suite run has 6,044 passes, 12 skips, 55 failing user tests and one failing teardown hook; this is not a full-suite or GitHub CI pass. Physical-device validation of the upstream ports remains outstanding.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant