Skip to content

test(web): expect no subtitle for a movie session on Activity - #5109

Merged
Quick104 merged 1 commit into
mainfrom
fix/activity-movie-subtitle-test
Nov 22, 2026
Merged

Quick104 merged 1 commit into
mainfrom
fix/activity-movie-subtitle-test

Conversation

@Quick104

@Quick104 Quick104 commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A
Validation tasks: none

Other clients: N/A (no client-visible change)

ci / Web test (1/2) fails on main, and on every pull request built on it, because one Activity test expects a subtitle that main no longer shows. #5105 removed the "Movie" subtitle from movie sessions on the Activity and stream cards on purpose. #5106 merged a minute later with a test that still expected it:

FAIL src/pages/adminActivityPresentation.test.ts > playback session title > keeps a movie's own title
AssertionError: expected null to be 'Movie'

This change updates the test to match #5105: a movie session keeps its own title and has no subtitle.

Approach

Only the test changes. The production behavior from #5105 is the intended one, so the subtitle stays removed.

web.common.activity.subtitle.movie now has no reference in web/src outside the generated locale files. Removing it from the catalog belongs in Silo-Server/silo-translations and is left out of this pull request.

Validation

  • The test fails on main at 1d6a023 with the assertion above, and passes on this branch (3 of 3).
  • Web typecheck passes. eslint and prettier pass on the changed file.

Evidence

Evidence: https://evidence.siloserver.org/r/silo-server/activity-movie-subtitle-test/

Risks

None identified.

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 how I checked a change nobody sees.

Council review

Ran as a follow-up run from the review of #4861, which found this failure on main. The background review was skipped because the pull request is test-only.

AI Disclosure

  • Harness: Claude Code in T3 Code
  • Tool(s): Claude Code
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated; not yet verified by a person
  • Adversarial review: n/a. Plan round skipped (mechanical test-only fix, follow-up run). The implementing agent read the whole two-line diff, and the background review was skipped because the pull request is test-only.

🤖 Generated with Claude Code

Note

Expect no subtitle for movie sessions in admin Activity test

Updates the movie playback-session test in adminActivityPresentation.test.ts. The test now expects the subtitle to be null instead of "Movie".

Macroscope summarized 6ca92a8.

#5105 removed the "Movie" subtitle from movie sessions on the Activity
and stream cards, and #5106 merged a minute later with a test that still
expected it, so the web test shard fails on main. The test now expects
a movie session to keep its own title and have no subtitle.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@silo-triage silo-triage Bot added the size/S 0–49 added + deleted lines (all files); change volume, not priority. label Nov 22, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-22T06:41:58.695264Z 6ca92a8 PR opened
🔒 Security Review ✅ Completed 2026-11-22T06:44:06.602743Z 6ca92a8 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@silo-kody

silo-kody Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Silo Kody — review complete

Review finished. Check the inline comments for findings and verify each suggestion against the code and tests.

Reviewing changes in Silo
  • Include the related issue, expected behavior, and validation steps in the PR description.
  • For API changes, describe the effect on Apple and Android clients and Jellyfin compatibility.
  • For plugin changes, identify the affected SDK contract, plugin, and catalog entry.
  • Follow this repository's AGENTS.md and CONTRIBUTING.md.
  • Request another review with @kody start-review in a PR comment.
  • React with 👍 or 👎 to give feedback on individual suggestions.
Review settings
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug ✅
Performance ✅
Security ✅
Business Logic ❌
⚠️ 4 Kody Rule(s) were not evaluated

These rules declare that they need repository context beyond this diff, and the review could not retrieve it, so they were not judged on this pull request:

  • Preserve optional store capabilities through production wrappers
  • Detach mandatory cleanup from request cancellation and bound its lifetime
  • Preserve durable media identity and share identity-evidence precedence
  • Bound decoder throughput trades and share direct-play eligibility

@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The movie test still checks that the title is "Heat". It now expects the subtitle to be null instead of "Movie".

Changes: Movie subtitle test

Layer / File(s) Summary
Update movie test expectation
web/src/pages/adminActivityPresentation.test.ts
The movie test keeps the title assertion and expects a null subtitle.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Possibly related PRs

Merge Risk: Minimal · up to 6ca92

This is a test-only correction that aligns the movie subtitle expectation with the intended behavior, so it is safe to merge.

Security architecture risk: Minimal · up to 6ca92

The change aligns one movie-subtitle assertion with existing behavior. It does not change production execution or introduce a design-level security risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the change: a web test now expects no subtitle for a movie session on Activity. The raw summary confirms the only change is a two-line update to that test expectation, so the title mat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description check Passed The description is related to the changeset. It explains that the web test adminActivityPresentation.test.ts fails on main because it expects a 'Movie' subtitle that was intentionally removed by #5105…
Full details: Title check

Explanation

The title names the change: a web test now expects no subtitle for a movie session on Activity. The raw summary confirms the only change is a two-line update to that test expectation, so the title matches the changeset.

Full details: Description check

Explanation

The description is related to the changeset. It explains that the web test adminActivityPresentation.test.ts fails on main because it expects a 'Movie' subtitle that was intentionally removed by #5105. It states the change updates the test so a movie session keeps its own title with no subtitle, and it reports the validation it ran (test passes on the branch, typecheck, eslint, and prettier).

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 26d85cf1-4b2f-4ad7-b984-ed7587fa2454
Commits

Reviewing files that changed from the base of the PR and between 1d6a023 and 6ca92a8.

Files selected for processing: 1

  • web/src/pages/adminActivityPresentation.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.

@silo-triage silo-triage Bot added bug Something isn't working priority: P2 Limited scope, workaround exists, or polish triaged High-confidence review completed; does not mean fixed, validated, or accepted for release. labels Nov 22, 2026
@Quick104
Quick104 merged commit c90e406 into main Nov 22, 2026
19 checks passed
@Quick104
Quick104 deleted the fix/activity-movie-subtitle-test branch November 22, 2026 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working priority: P2 Limited scope, workaround exists, or polish size/S 0–49 added + deleted lines (all files); change volume, not priority. triaged High-confidence review completed; does not mean fixed, validated, or accepted for release.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant