Skip to content

Strengthen TUI edge-case coverage#229

Merged
rmanibus merged 1 commit into
mainfrom
test/tui-edge-cases
Apr 3, 2026
Merged

Strengthen TUI edge-case coverage#229
rmanibus merged 1 commit into
mainfrom
test/tui-edge-cases

Conversation

@rmanibus
Copy link
Copy Markdown
Contributor

@rmanibus rmanibus commented Apr 3, 2026

Summary

  • add focused TUI runtime tests for refresh failure and live redraw width polling
  • add narrow-width and layout coverage for the TUI renderer
  • fix suspended raw-mode restoration and footer truncation on narrow terminals

Testing

  • env GOCACHE=/tmp/cloudstic-gocache go test -count=1 ./cmd/cloudstic ./internal/tui
  • env GOCACHE=/tmp/cloudstic-gocache GOLANGCI_LINT_CACHE=/tmp/cloudstic-golangci-lint golangci-lint run ./cmd/cloudstic ./internal/tui
  • env GOCACHE=/tmp/cloudstic-gocache go test -count=1 -cover ./cmd/cloudstic
  • env GOCACHE=/tmp/cloudstic-gocache go test -count=1 -cover ./internal/tui

Closes #219

@rmanibus rmanibus added the test label Apr 3, 2026
@rmanibus rmanibus added this to the v1.15.0 milestone Apr 3, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 3, 2026

Codecov Report

❌ Patch coverage is 68.00000% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cmd/cloudstic/tui_runtime.go 61.90% 5 Missing and 3 partials ⚠️

📢 Thoughts on this report? Let us know!

@rmanibus rmanibus merged commit 335a6df into main Apr 3, 2026
11 checks passed
@rmanibus rmanibus deleted the test/tui-edge-cases branch April 3, 2026 21:39
@rmanibus rmanibus added the area/tui Interactive terminal UI work label Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/tui Interactive terminal UI work test

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TUI: strengthen interactive test coverage and terminal edge-case handling

1 participant