Use purchased library for cloud ownership#44
Open
Strategizm wants to merge 1 commit into
Open
Conversation
Strategizm
marked this pull request as ready for review
July 23, 2026 07:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
purchasedTitlesRetrieveGraphQL operationinternal_entitlementsflow as a compatibility fallbackRoot cause
The existing ownership flow relies exclusively on
internal_entitlements. For some accounts that endpoint omits active game-library licenses, particularly free-to-play or add-to-library titles. When the ownership row is absent, Pylux cannot cross-reference the catalog card and incorrectly presents Add Game.The reproduced case was Fortnite:
UP1477-PPSA01922_00-FNBNDL0000000000UP1477-PPSA01922_00-PSCP320000000000UP1477-PPSA01922_00-FORTNITETESTING2The new source supplies all three structural identities. Existing concept/stable-key matching can then produce one owned card and retain the entitlement required by the PS5 cloud route. No title-specific matching is added.
This addresses an ownership-source gap discussed in #6. It complements the broader catalog work in #25 and #43; those changes improve matching and routing but do not replace the legacy owned-library source.
Resilience
User impact
Titles returned by the current purchased-library API but omitted from the legacy entitlement API can now be recognized as owned and streamed. Fortnite is the live-verified regression; the fix is intentionally general and may cover other free-to-play, add-to-library, regional, or alternate-SKU titles with the same ownership-data gap.
Validation
./build-arm64/test/chiaki-unit /chiaki/cloudcatalog_merge/fortnite_purchased_library_sku./build-arm64/test/chiaki-unit— 119/119 passinggit diff --checkLocal ad-hoc bundle re-signing stopped after compilation because the existing
build-output/Pylux.appcontains resource-fork/Finder metadata. This is confined to the local packaging artifact; source compilation and linking completed successfully.