镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

basketball-scoreboard: harness fixture seeds the schedule key the managers read (1.36.1) - #549

Merged
ChuckBuilds merged 1 commit into
mainfrom
claude/ecstatic-yalow-9f6086
Sep 28, 2026
Merged

ChuckBuilds merged 1 commit into
mainfrom
claude/ecstatic-yalow-9f6086

Conversation

@ChuckBuilds

Copy link
Copy Markdown
Owner

Problem

The safety harness warned nba_upcoming (fill warn: extent 0%x0%) at 64x64, 128x64, 256x32, 128x96 and 256x128. In fact Upcoming was blank at all eight sizes: the fill check only runs on panels at least 2x the 128x32 design size, so 64x32, 128x32 and 96x48 were blank with no warning.

Cause

This was a harness artifact, not a plugin bug. #524 moved the schedule cache to per-window keys (nba_schedule_window_14_7 for the default 14-day lookback and 7-day lookahead). Hockey's fixture was updated then; basketball's still seeded nba_schedule_2025. Every Recent/Upcoming render therefore missed the cache and fetched the frozen window (2026-01-01 to 01-22) live from ESPN; that's where the "ESPN rejected the date range" lines in the harness output came from. All of those games are final now, so Upcoming had nothing to draw, and Recent was drawing real ESPN results instead of the fixture.

Fix

  • test/fixtures/mock.json: renamed the key nba_schedule_2025 -> nba_schedule_window_14_7
  • test/harness.json: updated _comment to name the right key and say what happens when it goes stale
  • Version 1.36.0 -> 1.36.1 (manifest versions[0], CHANGELOG, plugins.json via update_registry.py). Test fixture only, no runtime change.

Verification

Ran check_plugin.py from a fresh git archive of core origin/main (6cfcf2e3):

  • 24/24 PASS, no fill warnings, no ESPN fetch log lines
  • nba_upcoming.png has content at all eight sizes (the fixture's DAL @ DEN, 01/16 02:00 UTC); Recent shows the fixture's NY @ BOS final
  • update_registry.py --check and check_version_bump.py --base origin/main basketball-scoreboard pass

Follow-up

The baseball (mlb_schedule_2026) and football (nfl_schedule_2025) fixtures appear to have the same stale key. That's out of scope here and will be handled separately.

🤖 Generated with Claude Code

…agers read (1.36.1)

The fixture still seeded nba_schedule_2025, a key the managers stopped
reading when #524 moved the schedule cache to per-window keys. Every
Recent/Upcoming render missed the cache and fetched the frozen January 2026
window from ESPN; those games are all final now, so nba_upcoming drew
nothing at all eight sizes. The fill warning only covers panels at least
twice the design size, so it flagged five of them. The fixture now seeds
nba_schedule_window_14_7. Test fixture only, no runtime change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 28, 2026

Copy link
Copy Markdown
Contributor

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 11669fa8-de48-49f5-86a1-a2b57cfd4289


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@ChuckBuilds
ChuckBuilds merged commit 7386fd2 into main Sep 28, 2026
5 checks passed
ChuckBuilds added a commit that referenced this pull request Sep 28, 2026
basketball-scoreboard's manifest conflicted with main's 1.36.1 (#549);
kept main's history with this change on top as 1.37.0. plugins.json
regenerated.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ChuckBuilds
ChuckBuilds deleted the claude/ecstatic-yalow-9f6086 branch September 29, 2026 16:45
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