mirror of
https://github.com/Comfy-Org/Comfy-PR.git
synced 2026-11-04 23:37:33 +00:00
[PR #91] [MERGED] fix: add null check for repository field in updateCNReposInfo #89
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/Comfy-PR#89
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/Comfy-PR/pull/91
Author: @snomiao
Created: 10/22/2025
Status: ✅ Merged
Merged: 10/22/2025
Merged by: @snomiao
Base:
main← Head:sno-fix-pr-hourly-ci📝 Commits (1)
4ff6d66fix: add null check for repository field in updateCNReposInfo📊 Changes
1 file changed (+8 additions, -0 deletions)
View changed files
📝
src/updateCNReposInfo.ts(+8 -0)📄 Description
Summary
TypeError: null is not an object (evaluating 'gitUrl.replace')in parseGithubRepoUrl()Root Cause
The hourly CI job was failing when
updateCNReposInfo()tried to process repositories with invalidrepositoryfield values. The function callsparseGithubRepoUrl(repository)which expects a valid string, but some documents hadnull,undefined, or empty string values.Error from CI Log
Solution
Added an early filter in the sflow pipeline that:
repositoryfield exists and is a stringTest Plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.