Repository navigation
Conversation
…776) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RP6NCQEpUhDEkHf3cCpnKe
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
CI failed: The 'Milestone is set' CI check failed because the pull request has no milestone assigned, a configuration issue. The analyzer attributes it to missing PR metadata rather than the S3776 cognitive-complexity refactor, with high confidence.OverviewThe 'Milestone is set' CI check failed because the pull request has no milestone assigned, a configuration issue. The analyzer attributes it to missing PR metadata rather than the S3776 cognitive-complexity refactor, with high confidence. FailuresMilestone check failed: PR has no milestone assigned (unrelated to change)
Summary
Code Review ✅ Approved 🟢 Low riskThe helper extractions preserve the supplied logic across server and client code, limiting impact to internal structure with no meaningful behavior or interface change. Refactors 10 SonarCloud S3776 cognitive-complexity hotspots across server, shared, and client code by extracting behaviour-preserving helpers such as VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Approved For more verification details, comment Tip Comment OptionsAuto-apply is off → Gitar will not commit updates to this branch. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
The "Milestone is set" check fails because this PR has no milestone. The diff can't fix that, and the GitHub tools available to this session can't set one, so a maintainer needs to assign it. Codex review also failed because the Codex usage limit was reached, so no review ran. The remaining checks are still running. Generated by Claude Code |
📊 Automated PR Analysis
SummaryThis PR refactors the 10 most severe open SonarCloud cognitive-complexity (S3776) issues across several server and client files by extracting helper functions, without changing behavior. Changes span steam-achievements, steam-playtime, storage, backlog-burndown, BacklogBurndown/PlayTimeStats components, xmlrpc, transmission, and diagnostics modules, including a new shared timezone utility. Review Checklist
Analyzed automatically by wshm · This is an automated analysis, not a human review. |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Closing as superseded by #1446. This branch conflicts with Generated by Claude Code |
Description
Fixes the 10 most severe open SonarCloud issues on
main. All were CRITICALtypescript:S3776(cognitive complexity above 15). Each fix is a behaviour-preserving extraction of helpers:server/steam-achievements.tsisWithinMinGap, an error-message constant, and simplified unlock deltaserver/steam-playtime.tsfetchSteamTotalsserver/storage.tsisSyncBlockedfromupdateGameStatusshared/backlog-burndown.tsbuildHistory,buildPlayed,countMoves,buildSpansclient/src/components/BacklogBurndown.tsxdescribeProjection; shareddetectTimeZoneclient/src/components/PlayTimeStats.tsxsaveBlob; shareddetectTimeZone(newclient/src/lib/timezone.ts)server/downloaders/xmlrpc.tsgetText,parseXmlRpcArray,parseXmlRpcStructserver/downloaders/transmission.tsbuildRequestHeaders, simplified RPC URL buildingserver/diagnostics.tsparseWarnLine,errorMessageOfScreenshots
The two client files (
BacklogBurndown.tsx,PlayTimeStats.tsx) are pure refactors with no markup changes. This was an unattended scheduled run, so no screenshot was captured. Please check the Statistics page before merging.Type of change
Checklist:
vitest run: 6269 passed;tscand ESLint clean)AI-assisted: Claude Sonnet 5.5 (
claude-sonnet-5-5), default thinking level.Generated by Claude Code
Summary by CodeRabbit