Skip to content

#1718: add nil guard for Fbe.github_graph in pull_request.rb#1764

Open
VasilevNStas wants to merge 1 commit into
zerocracy:masterfrom
VasilevNStas:1718-github-graph-nil-guard
Open

#1718: add nil guard for Fbe.github_graph in pull_request.rb#1764
VasilevNStas wants to merge 1 commit into
zerocracy:masterfrom
VasilevNStas:1718-github-graph-nil-guard

Conversation

@VasilevNStas

@VasilevNStas VasilevNStas commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Closes #1668

Add nil guard for Fbe.github_graph in Jp.comments_info. When the GitHub GraphQL client is not configured (nil), the resolved_conversations call would raise. Now returns 0 immediately when Fbe.github_graph is nil, with the fallback still catching GraphQL::Client::Error, Octokit errors for configured but failing clients.

@VasilevNStas

Copy link
Copy Markdown
Contributor Author

@yegor256 please review

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.

lib/cover_qo.rb factbase query injection via judge name interpolation

1 participant