Skip to content

post-O.7 wave 4 (K.1): consume phlex-shared arr clients#80

Merged
detain merged 1 commit into
masterfrom
post-o7-fixes/k1-arr-consume
May 19, 2026
Merged

post-O.7 wave 4 (K.1): consume phlex-shared arr clients#80
detain merged 1 commit into
masterfrom
post-o7-fixes/k1-arr-consume

Conversation

@detain
Copy link
Copy Markdown
Owner

@detain detain commented May 19, 2026

Server-side consumption of the arr clients moved upstream in detain/phlix-shared#2 (v0.4.0). Plan K.1 explicitly required arr clients to live in phlex-shared so phlex-server and phlex-hub can both depend on them.

  • composer require detain/phlex-shared:^0.4.0
  • src/Arr/ and tests/unit/Arr/ removed
  • All Phlex\Arr\* imports rewritten to Phlex\Shared\Arr\*

🤖 Generated with Claude Code

Plan §4.3 + step K.1 require Sonarr/Radarr/Bazarr/Prowlarr typed clients
to live in phlex-shared so both phlex-server and phlex-hub can consume
them. Reviewer found them in src/Arr/ here instead. phlex-shared PR #2
moved them to Phlex\Shared\Arr and tagged v0.4.0; this PR consumes that
package on the server side.

- composer.json requires detain/phlex-shared:^0.4.0 (was ^0.3.0)
- composer.lock updated to phlex-shared v0.4.0
- src/Arr/ removed (10 files, ~2000 lines)
- tests/unit/Arr/ removed (replaced upstream in phlex-shared)
- All Phlex\Arr\* imports rewritten to Phlex\Shared\Arr\*
  in src/Requests/RequestManager.php, src/Server/Core/Application.php,
  src/Server/Http/Controllers/Arr/SyncController.php, and the
  StructuredLogger touch surface.
- CustomFormatSyncerTest moved under tests/unit/Server/Arr/ for the
  server-side wiring that still lives here.

Tests: scoped phpunit on Requests/Sync/Arr filters pass against the
shared package. Pre-existing LiveTvManagerTest HdHomeRunTunerDriver
constructor mismatch is unaffected (predates this branch).

Refs PHLEX_EXPANSION_PLAN.md §3 K.1, post-O.7 review.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@detain detain merged commit 04c6e38 into master May 19, 2026
2 of 9 checks passed
@detain detain deleted the post-o7-fixes/k1-arr-consume branch May 19, 2026 02:48
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