fix(lint): satisfy wsl whitespace in OAuth callback server test - #999
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
Codex review: needs maintainer review before merge. Reviewed August 16, 2026, 7:24 AM ET / 11:24 UTC. ClawSweeper reviewWhat this changesAdds blank lines between OAuth callback-server timeout assertions in one Go test to satisfy the whitespace linter. Merge readiness✅ Ready for maintainer review The patch is a focused test-formatting repair with no functional or security defect identified. It remains open because the author is a repository collaborator; likely related people: Sebastien Tardif (recent callback-limit work, high confidence) and steipete (long-running OAuth/lint-area contributor, high confidence). Priority: P3 Review scores
Verification
How this fits togetherThe OAuth callback server receives the browser authorization response and applies HTTP safety limits before token exchange completes. Its unit test verifies those limits, and the lint gate checks the test's formatting. flowchart LR
Browser[Browser authorization response] --> Callback[OAuth callback server]
Callback --> Limits[HTTP timeout and header limits]
Limits --> Test[OAuth unit test]
Test --> Lint[Whitespace linter]
Lint --> Checks[Pull-request checks]
Before mergeNone. Agent review detailsSecurityNone. Review metrics
Technical reviewBest possible solution: Land the focused formatting repair after the current platform checks complete, preserving the existing callback-server assertions. Do we have a high-confidence way to reproduce the issue? Not applicable: this PR changes test formatting only; the reported condition is a lint-gate failure rather than a user-facing runtime bug. Is this the best way to solve the issue? Yes: formatting the existing assertions is the narrowest maintainable repair for the reported whitespace-linter failure. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 75aec7f8b0a4. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
Main went red on the lint gate right after the robustness-sweep merge; the PR-branch CI does not run this linter. Verified locally:
golangci-lint runreports 0 issues, build passes.