Page MenuHomePhabricator

Page collection 'None': newly fetched
Closed, ResolvedPublic1 Estimated Story PointsBUG REPORT

Description

During the cache update process, when a new page collection is found and added to cache, The log.debug message uses the wrong variable for the collection name so it is displayed as 'None'.

No actual errors or impact on users, just suspicious log entries.


Derived Requirement

Ensure that during the cache update process, when a new page collection is fetched and added to the cache, the log.debug message displays the correct collection name instead of 'None'.

Test Steps

Test Case 1: Confirm No Impact on Existing Cache Behavior

  1. After a new collection is fetched and cached, access existing page collections.
  2. Perform standard read or retrieval operations on previously cached page collections.
  3. Observe logs for any unexpected side effects or incorrect logging tied to existing collections.
  4. ✅❓❌⬜ AC1: Confirm that Page collection 'None': newly fetched no longer exists

QA Results - Logstash

ACStatusDetails
1T410396#11411321

Event Timeline

Change #1206890 had a related patch set uploaded (by Sbisson; author: Sbisson):

[research/recommendation-api@master] Fix typo in cache update logs

https://gerrit.wikimedia.org/r/1206890

SBisson triaged this task as Medium priority.
SBisson moved this task from Backlog to Needs Code Review on the LPL Hypothesis board.

Change #1206890 merged by jenkins-bot:

[research/recommendation-api@master] Fix typo in cache update logs

https://gerrit.wikimedia.org/r/1206890

ngkountas set the point value for this task to 1.Nov 19 2025, 2:18 AM

Change #1211118 had a related patch set uploaded (by Sbisson; author: Sbisson):

[operations/deployment-charts@master] Update recommendation-api to 2025-11-20-132855-production

https://gerrit.wikimedia.org/r/1211118

Change #1211118 merged by jenkins-bot:

[operations/deployment-charts@master] Update recommendation-api to 2025-11-20-132855-production

https://gerrit.wikimedia.org/r/1211118

@SBisson Confirmed Page collection 'None': newly fetched error no longer exists, as seen in the screenshot below. I will move this to Sign-Off. Thanks for all your work!

Test Result - LogStash

Status: ✅ PASS
Environment: LogStash
OS: macOS Tahoe 26.1
Browser: Chrome 142
Device: MBA
Emulated Device: NA

Test Artifact(s):

Test Steps

Test Case 1: Confirm No Impact on Existing Cache Behavior

  1. After a new collection is fetched and cached, access existing page collections.
  2. Perform standard read or retrieval operations on previously cached page collections.
  3. Observe logs for any unexpected side effects or incorrect logging tied to existing collections.
  4. AC1: Confirm that Page collection 'None': newly fetched no longer exists.

2025-11-26_11-09-47.png (966×2 px, 537 KB)

GMikesell-WMF updated Other Assignee, removed: GMikesell-WMF.
GMikesell-WMF moved this task from Needs QA to Design Signoff on the LPL Hypothesis board.