Skip to content

chore: post-v0.10.4 audit cleanup#426

Merged
tomasz-tomczyk merged 2 commits intomainfrom
audit/cleanup-v0.10.4
May 2, 2026
Merged

chore: post-v0.10.4 audit cleanup#426
tomasz-tomczyk merged 2 commits intomainfrom
audit/cleanup-v0.10.4

Conversation

@tomasz-tomczyk
Copy link
Copy Markdown
Owner

Summary

Follow-up to the v0.10.4 release audit. All P3 nits, no behavior change.

  • frontend/style.css (.sidebar-resize-handle): drop align-self: stretch and height: calc(100vh - var(--header-height)) — the flex row already stretches the handle, so both rules were redundant overdetermination.
  • github.go (findReviewFileByCommentID godoc): document the not-found / multi-match error case so the contract matches the implementation.
  • server.go (Server.cliArgs field comment): correct overstated comment — the field only holds positional file args; flags (--pr, --range, etc.) are not preserved.
  • server_test.go (buildNextCommand table case): rename misleading "flag-style arg passes through" to "unknown leading-dash arg formats verbatim" and add a note that this exercises shellQuoteArg formatting, not a real runtime call shape (cliArgs only holds positional args at runtime).

Test plan

  • go vet ./... clean
  • go test ./... passes
  • gofmt -l . clean
  • Pre-commit hook passes (golangci-lint, tests, ESLint, Stylelint, CSS vars)

🤖 Generated with Claude Code

Follow-up to release audit; all P3 nits, no behavior change.

- frontend/style.css: drop redundant align-self/height on .sidebar-resize-handle (flex row already stretches it).
- github.go: clarify findReviewFileByCommentID godoc to mention the missing/multi-match error case.
- server.go: correct cliArgs comment - it holds positional file args only; flags aren't preserved.
- server_test.go: rename misleading "flag-style arg passes through" case and note that this exercises shellQuoteArg formatting, not a real call shape.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov Bot commented May 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 67.41%. Comparing base (b270678) to head (a57a978).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #426      +/-   ##
==========================================
+ Coverage   67.38%   67.41%   +0.03%     
==========================================
  Files          26       26              
  Lines        9747     9747              
==========================================
+ Hits         6568     6571       +3     
+ Misses       2663     2661       -2     
+ Partials      516      515       -1     
Flag Coverage Δ
e2e 33.86% <ø> (ø)
unit 63.66% <ø> (+0.03%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

The "redundant" claim from the prior cleanup was wrong. With
position: sticky, the handle needs an explicit height to be tall
enough to drag — without it the handle collapses and three
sidebar-resize.spec.ts tests fail in CI.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@tomasz-tomczyk tomasz-tomczyk merged commit 68ade03 into main May 2, 2026
8 checks passed
@tomasz-tomczyk tomasz-tomczyk deleted the audit/cleanup-v0.10.4 branch May 2, 2026 11:02
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.

1 participant