You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(recommendations): show the configured poster badges on For You cards - #3078
Poster badges for age rating, advisory age, studio, runtime, network and series status did not appear on For You posters, even when they were turned on in Card overlays. The same title showed them in Home and library rows. The recommendation cards never carried the metadata those badges read, so the web had nothing to draw. Watch Tonight cards had the same gap.
Approach
Home and library section cards, recommendation cards and Watch Tonight cards now share one function that copies the item's catalog fields onto a card. Before this change, the recommendation and Watch Tonight builders each kept their own shorter copy of that field list. With one shared list, a field added to cards later reaches every card surface.
This is a server-only change. The web, Apple and Android clients already read these fields from /api/v2 cards, so recommendation rows now show the same badges as Home rows with no client change. Jellyfin-compat recommendations build items through a separate path and are not affected.
The frozen /api/v1 recommendation and Watch Tonight routes clear the added fields before they respond, so their responses stay as they were.
Validation
Ran the focused Go tests for internal/api/..., internal/apiv2/... and internal/recommendations/.... All pass, including a new test that checks the badge fields on For You and Watch Tonight cards. That test fails on main.
Ran go build ./..., gofmt, go vet, make lint-changed, make lint-router-recovery, verify-apiv2-openapi, verify-apiv2-contract, verify-apiv2-fixtures, verify-local-paths, verify-size-ratchet, verify-bidi and verify-v1-route-freeze. All pass. I did not run the web half of the gate, because no web files changed.
Checked on a local build with synthetic movies whose ratings, studios and runtimes came from NFO files. Before the fix, /api/v2/recommendations/discover returned these cards without the badge fields and For You posters showed only the resolution and audio badges. After the fix, the cards carry the fields, For You posters show the configured badges at desktop and phone widths, and /api/v2/home/sections returns the same output as before.
before GET /api/v2/recommendations/discover {"title": "Amber Harbor", "content_rating": null, "advisory_age": null, "studios": null, "runtime": null}
before GET /api/v2/home/sections {"title": "Amber Harbor", "content_rating": "PG-13", "advisory_age": 13, "studios": ["Northlight Pictures"], "runtime": 97}
after GET /api/v2/recommendations/discover {"title": "Amber Harbor", "content_rating": "PG-13", "advisory_age": 13, "studios": ["Northlight Pictures"], "runtime": 97}
Review follow-up: merged current main into the branch. The recommendations.go and watch_tonight.go conflicts resolve to the shared mapper, which now also carries the release and last-air dates main added to cards. A separate commit corrects two stale comments. The focused internal/api/handlers, internal/apiv2 and internal/recommendations tests, make lint-changed, and the v2 OpenAPI, contract and fixture checks pass on the merged branch.
Review follow-up: a7cdc39e9 keeps the v1 responses unchanged, as the maintainers decided. A throwaway handler test, not committed, produced identical JSON from the four v1 routes (/recommendations/discover, /recommendations/section/..., /recommendations/watch-tonight and /recommendations/watch-tonight/cards) on merge base 81ae2ce1c and on this branch. The card fields the v2 routes read did not change. The same focused tests and checks pass.
The badge regression test now calls the production WatchTonight method used by v2 and checks both movie and series cards. It fails when runtime is temporarily dropped inside that path; the mutation was restored and the focused tests pass.
Surface and build: web For You page, desktop (1440 px) and phone (390 px), local build of this branch on synthetic media.
Risks
/api/v1 responses do not change. The v1 recommendation and Watch Tonight handlers clear the fields the shared mapper adds, and v1 Watch Tonight keywords stays null. That reset goes away when /api/v1 is retired. v2 recommendation and Watch Tonight responses are slightly larger because each card carries a few more short fields.
This overlaps with open #1982, which adds date fields in the card mapping that this change moves into the shared function. Whichever merges second needs a small rebase.
Checklist
I read and can explain the complete diff.
This pull request addresses one concern.
Each test this pull request adds meets "Decide what to test" in CONTRIBUTING.md.
The Evidence section shows every change a user can see, or says there is none.
AI Disclosure
Harness: Claude Code (via T3 Code); Codex CLI for code review
Tool(s): Claude Code, Codex CLI, GitHub CLI, headless Chromium (Playwright)
Model(s): claude-opus-5-5; gpt-6.1-sol (code review); gpt-6-astra (Codex in T3 Code, Watch Tonight test follow-up)
Involvement: Fully AI-generated, human verified
Adversarial review: two independent reviews of the full diff, one by claude-opus-5-5 and one by gpt-6.1-sol, each covering correctness, repository standards and the issue. Neither found a correctness or spec problem. Both pointed out that v1 recommendation and Watch Tonight cards change. That change only adds fields that v1 Home cards already send, and it is now listed under Risks; I first kept it rather than writing extra code to hide the fields on v1. The maintainers then chose to keep v1 unchanged, and review follow-up commit a7cdc39e9 (Claude Code in T3 Code, claude-opus-5-5, with a gpt-6.1-sol plan review) clears these fields in the v1 handlers. One reviewer also suggested moving the new test to another file. I kept it next to the existing Discover test and the stubs it uses.
Note
Show configured poster badges on For You recommendation cards
Extracts a shared sectionItemFromMediaItem mapper in sections.go and reuses it in RecommendationsHandler.buildSectionItems and buildSectionItem, so cards built from media items carry catalog fields like runtime, studios, networks, content rating, and advisory metadata.
Adds v1RecommendationCard and v1WatchTonightCard conversions in recommendations.go. Discover, Section, Watch Tonight, and Watch Tonight Cards handlers now clear runtime, studios, networks, content rating, show status, and (for Watch Tonight) keywords before encoding responses.
Adds a test in recommendations_upcoming_test.go verifying Discover and Watch Tonight cards carry the movie's rating, advisory, runtime, and studio, and the series' rating, show status, and network.
Behavioral Change: API responses for these endpoints now include badge metadata fields previously zeroed; the swipe card's separate runtime field still takes precedence in HandleWatchTonightCards.
For You, recommendation section and Watch Tonight cards were built from a
hand-copied subset of the item's fields that left out content rating,
advisory age, studios, runtime, networks and airing status. Poster badges
configured in Card overlays had no value to show, so they were missing on
those cards while the same title showed them in Home and library rows.
All card surfaces now start from one shared mapping of the item's catalog
fields.
Recommendation and Watch Tonight builders now use a shared media-item mapping. Handlers apply v1 card projections before writing responses. A test checks badge metadata on Discover movie and series cards and a Watch Tonight movie card.
sectionItemFromMediaItem maps catalog fields and normalizes nil Genres and Keywords to empty slices. Section, recommendation, and Watch Tonight builders use the helper.
Discover, section, and Watch Tonight handlers apply v1 card projections before writing responses. The Watch Tonight swipe card retains its own runtime. The test checks badge metadata on Discover movie and series cards and a Watch Tonight movie card.
Issue 1146 concerns web recommendation rendering. This change updates recommendation card data used by the web client.
Issue 1139 concerns client rendering of recommendation output. This change updates recommendation card fields used by that rendering.
Issue 1145 concerns server recommendation output. This change updates fields in recommendation card responses.
Suggested reviewers:quick104
Merge Risk: Minimal · up to a7cdc
The implementation is mergeable; add the Watch Tonight production-path assertion to protect against future regressions.
Security architecture risk: Minimal · up to a7cdc
The added metadata remains within the existing profile-filtered card responses. The legacy endpoints explicitly preserve their previous output, and the inspected changes do not expand access permissions or modify shared catalog state. No material security risk was found introduced or worsened by this change.
Retained concerns
No architecture-level concerns identified.
Security review details
Security Blast Radius
inferred — The changed exposure is additional descriptive metadata on cards already selected for the requesting user and profile. The inspected paths preserve existing identity and catalog-filter inputs rather than introducing broader item selection or additional authority.
Trust Boundaries and Controls
observed — Recommendation handlers retain context-derived user/profile identity and request access filtering. The recommendation route group requires a profile, and v2 consumers obtain identity through the profile-scoped viewer gate and derive their access filter from authenticated context.
Resilience and Maintainability Implications
inferred — The new projections operate on freshly constructed response slices and replace fields on card values. Although mapping copies slice and pointer references, the projections do not modify their underlying objects. Consequently, the inspected changes do not introduce cross-request mutation, persistent partial state, or cleanup obligations when a response fails or is interrupted.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title clearly and concisely describes the main change: showing configured poster badges on For You recommendation cards.
Linked Issues check
Issue [#3016] requires For You cards to provide the metadata used by configured poster badges. sectionItemFromMediaItem now supplies the shared catalog fields, including ContentRating, `AdvisoryAg…
Out of Scope Changes check
The reviewed changes stay within [#3016]. The shared mapper refactor prevents card-field drift. The v1 adapter functions preserve the frozen v1 recommendation and Watch Tonight responses while v2 card…
Description check
The pull request description directly explains the recommendation and Watch Tonight card metadata changes, the shared mapper, v1 compatibility handling, tests, validation, and user-facing badge behavi…
Full details: Linked Issues check
Explanation
Issue [#3016] requires For You cards to provide the metadata used by configured poster badges. sectionItemFromMediaItem now supplies the shared catalog fields, including ContentRating, AdvisoryAge, Studios, Runtime, Networks, and ShowStatus. Recommendation and Watch Tonight builders use this mapper. TestRecommendationCardsCarryBadgeMetadata checks the required fields on movie and series cards. The existing client overlay path can therefore use the same fields as ordinary cards.
Full details: Out of Scope Changes check
Explanation
The reviewed changes stay within [#3016]. The shared mapper refactor prevents card-field drift. The v1 adapter functions preserve the frozen v1 recommendation and Watch Tonight responses while v2 cards retain the new metadata. The added test supports the metadata objective. No unrelated product area or client path is changed.
Full details: Description check
Explanation
The pull request description directly explains the recommendation and Watch Tonight card metadata changes, the shared mapper, v1 compatibility handling, tests, validation, and user-facing badge behavior.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Evidence is now published (link in the Evidence section): For You before and after at desktop and phone widths, with the library page as a reference. Watch Tonight cards are built by the same shared function, and the new handler test covers their fields. I didn't capture that row separately, because it needs watch history the synthetic library doesn't have.
The reason will be displayed to describe this comment to others. Learn more.
Reviewed head 566a917df3d405d12071081247fb2bab71203e50 against merge base 6de6d5e5e285a9b423e95a1122cb39e5bb9ca93b.
One disclosed contract-policy finding is attached to the mapper call. The separate summary covers integration, verification, and validation records.
Note
AI-assisted review posted as Quick104 using Codex in T3 Code (gpt-6.1-sol). The review included three focused Codex passes, a final sweep, and one independent Claude review (claude-opus-5-5). Findings were checked against the source by the posting agent.
Fit: 9/10 · Readiness: 9/10 · ready; CI green on 44624272e
Reviewed 566a917 and pushed fixes; the head is now 44624272e. The PR fixes #3016 at the server. For You cards now carry the fields that Card overlays badges read, and recommendation, Watch Tonight and Home cards build from one mapper instead of three field lists. It adds no queries. The frozen /api/v1 routes answer exactly as they did before, and nothing is left for maintainers to decide.
2de69cddc corrects the mapper comment, which claimed more than the mapper does, and the stale swipe-card runtime comments. These are comment changes only.
a7cdc39e9 keeps the v1 responses unchanged, as the maintainers decided in the v1 thread. The v1 Discover, recommendation section, Watch Tonight and swipe-card handlers clear runtime, studios, networks, content_rating and show_status before they respond. On Watch Tonight and swipe cards, keywords goes back to null. Swipe cards keep their own runtime, which v1 always sent. v2 reads the service methods, which are unchanged.
44624272e replaces the direct Watch Tonight mapper assertion with the production WatchTonight method used by v2. The existing test checks both movie and series cards. A temporary runtime-dropping mutation inside that path fails the test; restored production code passes the focused tests and changed-line lint.
Verification
TestRecommendationCardsCarryBadgeMetadata fails on merge base 6de6d5e5e with the missing rating, advisory, runtime, studio, network and show-status fields, and passes on the branch.
v1 equivalence: a throwaway handler test, not committed, ran the same stub items through the four v1 routes. On merge base 81ae2ce1c and on a7cdc39e9 the JSON was identical, including key order, null versus [], and omitted fields. A separate verifier compared the mapper plus the reset against the base builders and got byte-identical JSON. No test was added for this, because repository rules limit frozen v1 tests to authorization checks.
v2: the card fields the v2 adapters read, including the badge fields, keywords and both dates, are the same on a7cdc39e9 as on 2de69cd.
On a7cdc39e9: go build ./..., go vet, and the focused internal/api/handlers, internal/apiv2 and internal/recommendations tests pass. make lint-changed reports 0 issues, and verify-apiv2-openapi, verify-apiv2-contract, verify-apiv2-fixtures and verify-local-paths report no change.
I didn't repeat a live browser check. The author's evidence shows For You through v2 on the pre-merge head, and none of the follow-up commits change the v2 fields it shows, so the evidence page still applies. No first-party client renders Watch Tonight.
Validated features
I read the results from the task comments, because the project board wasn't readable in this run. The 2026-10-23 comments on #1146, Silo-Server/silo-apple#309 and #310, and Silo-Server/silo-android#319 and #320 each record results. In all five tasks, C1, C3 and C4 render For You cards, which can now show more badges. That is a minor presentation change, so those cases need a quick presentation re-check after merge; I didn't run them on a device or in a browser. C2 and C5 are unaffected. The Android TV #320 C3 failure for a stale feed is tracked separately in Silo-Server/silo-android#676, and this PR doesn't change it. The PR body lists changes … C1, C3, C4 for all five tasks.
Follow-ups
Clients: Apple, Android and web read these fields from the existing v2 card schema, so they need no change.
jellycompat: builds recommendations through its own mapper, so it isn't affected.
User manual: the page on poster badges describes server-wide defaults and doesn't exclude For You. This fix makes Silo match it, so no manual issue is needed.
Unrelated, not filed: Favorites and Watchlist in the dedicated v2 list routes still return thinner cards. The web draws those pages from catalog/query, which fills every badge field, so nobody sees the gap.
Note
AI-assisted review posted as Quick104 using Claude Code in T3 Code (claude-opus-5-5). Three finder passes, a validation pass and two verifiers checked the change. Codex (gpt-6.1-sol) ran one cross-provider round on 566a917, which found nothing beyond the v1 question and the merge, and one on the v1 fix plan, which found nothing. A further verifier confirmed a7cdc39e9. The posting agent ran the tests and checks listed above.
🤖 Claude Code in T3 Code (claude-opus-5-5)
Coordinator check: required CI passes on 44624272e; all review threads are resolved, and there are no approving or change-requesting reviews. The fresh target-main fetch adds only #3388’s admin leaderboard query and its documentation/test selection, which do not affect recommendation cards. No base update is needed for that change. Handed back without approval or merge.
Resolve the recommendations.go and watch_tonight.go conflicts by keeping
the shared sectionItemFromMediaItem call. The release and last-air dates
main added to each card literal now come from the shared mapper, and the
parent-artwork assignments stay with each caller.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The shared card mapper's comment said every card surface shows the same
metadata wherever an item appears. Recommendation and Watch Tonight items
are not localized before mapping, and the taste-seed picker keeps its own
card, so it now says which surfaces use the mapper and that it copies the
item as given.
The swipe card comments said production sets runtime only on the swipe
card. The shared mapper now fills the embedded card's runtime from the
same item, so they describe the outer member hiding the inner one.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The reason will be displayed to describe this comment to others. Learn more.
Second review of 566a917 (merge base 6de6d5e5e). The fix works: TestRecommendationCardsCarryBadgeMetadata fails on the merge base with the missing rating, advisory, runtime, studio, network and show-status fields, and passes on this head. I found one defect in how the branch meets current main and two comments that are now wrong. None of them changes what the PR fixes. I'm fixing all three in commits on this branch, so there's no need to change anything yourself.
The swipe-card comments are outside the diff, so they're covered here. In watch_tonight_cards.go, the comments on Card() and NewWatchTonightCardView say production sets runtime on the swipe card and not on the embedded section item. Since buildSectionItem now starts from the shared mapper, the embedded card carries the same mi.Runtime. The output doesn't change: v1 JSON still has one runtime key, because the outer field hides the inner one, and v2 still gets mi.Runtime. Only the comments are now wrong.
The v1 freeze question in the existing thread is still open; I added what I found there.
The recorded recommendation-card cases need a minor presentation re-check: the mapper now supplies catalog metadata consumed by configured poster overlays. This affects #1146 C1/C3/C4; silo-apple#309 C1/C3/C4 and #310 C1/C3/C4; and silo-android#319 C1/C3/C4 and #320 C1/C3/C4. Recommendation ranking and refresh logic, profile selection, and access filtering are unchanged. Android TV C3’s recorded stale-feed result is tied to the separate issue #676; this PR does not change that refresh path. #1145 C1–C3 still await the parent rubric/window agreement; this PR does not unblock them.
The current Validation tasks: line is wrong: the 2026-10-23 comment on #1146 records results for C1–C5 on server 31fabc723; the client tasks also have recorded results.
The shared card mapper also fills runtime, studios, networks, content
rating and show status, and Watch Tonight cards now carry keywords. The
v1 discover, section, Watch Tonight and swipe-card routes never sent
these, so their handlers reset them before writing the response. Watch
Tonight keeps keywords as null and swipe cards keep their own runtime,
as v1 always sent. The service methods are unchanged, so v2 cards keep
the badge fields and dates.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Route the Watch Tonight badge assertion through WatchTonight.
The Watch Tonight assertion calls handler.buildSectionItem directly on movie. That checks only the shared card mapper. It skips the production Watch Tonight path, watchTonight, which merges candidates, enriches them through enrichItems, and then calls buildSectionItem for each item. A regression in that path, such as enriched fields that are dropped or a removed mapper call, would not fail this test.
Change the test so the Watch Tonight case exercises the production path:
Configure the Watch Tonight reader stub to return the movie and series IDs.
Configure the item fetcher that enrichItems uses to return movie and series.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: CHILL
Plan: Advanced
Run ID: 04f26dce-f5b1-481c-9eb1-73ca3111c4ff
Commits
Reviewing files that changed from the base of the PR and between 566a917 and a7cdc39.
Files selected for processing: 4
internal/api/handlers/recommendations.go
internal/api/handlers/sections.go
internal/api/handlers/watch_tonight.go
internal/api/handlers/watch_tonight_cards.go
Files skipped from review as they are similar to previous changes: 1
internal/api/handlers/sections.go
Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 2 remain after this review.
CI on a7cdc39e9 failed in TestRelayMovePreservesMandatoryAudio/legacy=true with unconfirmed rehome status=502, cleanup=0, the existing playback cleanup race tracked in #3361. The aggregate CI result failed because of that job. I requested one rerun of the failed jobs in run 41363822432; the result is pending.
Addressed CodeRabbit’s Watch Tonight test suggestion in 44624272e. TestRecommendationCardsCarryBadgeMetadata now calls WatchTonight, using the existing reader and fetcher stubs, and checks movie and series cards alongside Discover.
Temporarily dropping runtime inside the production Watch Tonight path makes the revised test fail; restoring it makes the focused recommendation/Watch Tonight/swipe-card tests pass. Changed-line lint reports 0 issues. This commit changes only the existing test; the frozen v1 response fix and v2 output are unchanged. CI is pending on the new head.
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
api-v2API v2 / Huma migration program (epic #135); long-running, stacked by phasebugSomething isn't workinggoPull requests that update go codeimpact: polishAnnoyance, cosmetic, or nice-to-haveimpact: usabilityCore flow broken or severely blockedpriority: P2Limited scope, workaround exists, or polishsize/M50–199 added + deleted lines (all files); change volume, not priority.
2 participants
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.
Problem
Closes #3016
Related issue: N/A
Validation tasks: changes #1146 C1, C3, C4; changes Silo-Server/silo-apple#309 C1, C3, C4; changes Silo-Server/silo-apple#310 C1, C3, C4; changes Silo-Server/silo-android#319 C1, C3, C4; changes Silo-Server/silo-android#320 C1, C3, C4
Poster badges for age rating, advisory age, studio, runtime, network and series status did not appear on For You posters, even when they were turned on in Card overlays. The same title showed them in Home and library rows. The recommendation cards never carried the metadata those badges read, so the web had nothing to draw. Watch Tonight cards had the same gap.
Approach
Home and library section cards, recommendation cards and Watch Tonight cards now share one function that copies the item's catalog fields onto a card. Before this change, the recommendation and Watch Tonight builders each kept their own shorter copy of that field list. With one shared list, a field added to cards later reaches every card surface.
This is a server-only change. The web, Apple and Android clients already read these fields from
/api/v2cards, so recommendation rows now show the same badges as Home rows with no client change. Jellyfin-compat recommendations build items through a separate path and are not affected.The frozen
/api/v1recommendation and Watch Tonight routes clear the added fields before they respond, so their responses stay as they were.Validation
internal/api/...,internal/apiv2/...andinternal/recommendations/.... All pass, including a new test that checks the badge fields on For You and Watch Tonight cards. That test fails onmain.go build ./...,gofmt,go vet,make lint-changed,make lint-router-recovery,verify-apiv2-openapi,verify-apiv2-contract,verify-apiv2-fixtures,verify-local-paths,verify-size-ratchet,verify-bidiandverify-v1-route-freeze. All pass. I did not run the web half of the gate, because no web files changed./api/v2/recommendations/discoverreturned these cards without the badge fields and For You posters showed only the resolution and audio badges. After the fix, the cards carry the fields, For You posters show the configured badges at desktop and phone widths, and/api/v2/home/sectionsreturns the same output as before.Review follow-up: merged current
maininto the branch. Therecommendations.goandwatch_tonight.goconflicts resolve to the shared mapper, which now also carries the release and last-air datesmainadded to cards. A separate commit corrects two stale comments. The focusedinternal/api/handlers,internal/apiv2andinternal/recommendationstests,make lint-changed, and the v2 OpenAPI, contract and fixture checks pass on the merged branch.Review follow-up:
a7cdc39e9keeps the v1 responses unchanged, as the maintainers decided. A throwaway handler test, not committed, produced identical JSON from the four v1 routes (/recommendations/discover,/recommendations/section/...,/recommendations/watch-tonightand/recommendations/watch-tonight/cards) on merge base81ae2ce1cand on this branch. The card fields the v2 routes read did not change. The same focused tests and checks pass.The badge regression test now calls the production
WatchTonightmethod used by v2 and checks both movie and series cards. It fails when runtime is temporarily dropped inside that path; the mutation was restored and the focused tests pass.Evidence
Evidence: https://evidence.siloserver.org/r/silo-server/pr-3078/
Surface and build: web For You page, desktop (1440 px) and phone (390 px), local build of this branch on synthetic media.
Risks
/api/v1responses do not change. The v1 recommendation and Watch Tonight handlers clear the fields the shared mapper adds, and v1 Watch Tonightkeywordsstaysnull. That reset goes away when/api/v1is retired. v2 recommendation and Watch Tonight responses are slightly larger because each card carries a few more short fields.This overlaps with open #1982, which adds date fields in the card mapping that this change moves into the shared function. Whichever merges second needs a small rebase.
Checklist
AI Disclosure
a7cdc39e9(Claude Code in T3 Code, claude-opus-5-5, with a gpt-6.1-sol plan review) clears these fields in the v1 handlers. One reviewer also suggested moving the new test to another file. I kept it next to the existing Discover test and the stubs it uses.Note
Show configured poster badges on For You recommendation cards
sectionItemFromMediaItemmapper in sections.go and reuses it inRecommendationsHandler.buildSectionItemsandbuildSectionItem, so cards built from media items carry catalog fields like runtime, studios, networks, content rating, and advisory metadata.v1RecommendationCardandv1WatchTonightCardconversions in recommendations.go. Discover, Section, Watch Tonight, and Watch Tonight Cards handlers now clear runtime, studios, networks, content rating, show status, and (for Watch Tonight) keywords before encoding responses.HandleWatchTonightCards.Macroscope summarized 4462427.