Skip to content

Conversation

@sha1n
Copy link
Owner

@sha1n sha1n commented Jan 16, 2026

No description provided.

sha1n added 12 commits January 16, 2026 22:54
Go 1.20+ automatically seeds the global random source, making
explicit rand.Seed() calls unnecessary and deprecated.

Removed the redundant seeding in demoMatrix().
strings.Title is deprecated due to not handling Unicode properly.
Use cases.Title from golang.org/x/text for correct title casing.

Added golang.org/x/text v0.33.0 dependency.
Go 1.21+ has built-in min() and max() generic functions.
Remove the redundant custom implementations.
The isActiveSafe() method was only used in tests and exposed internal
implementation details. Refactored test to use behavioral verification
(checking no output is produced) instead of checking internal state.
Changed writeString to return (int, error) to properly handle
the io.WriteString return values. Callers explicitly ignore errors
using blank identifiers, making the intentional error handling clear.

This improves code transparency without changing behavior.
Add Go Reference badge linking to the official Go documentation
on pkg.go.dev for better API discoverability.
Add usage example for the Matrix component, demonstrating how to
create multi-row layouts for concurrent task progress. Updated
table of contents to include Matrix section.
Add project overview, key components table, build commands, testing
conventions, and code style guidelines for AI coding assistants.

Force added because GEMINI.md is ignored by global git settings.
…trings-title', 'fix/issue-4-builtin-minmax', 'fix/issue-5-remove-isactivesafe', 'fix/issue-6-cursor-error-handling', 'fix/issue-7-godoc-badge', 'fix/issue-8-matrix-example', 'fix/issue-9-gemini-md' and 'fix/issue-10-progressbar-isdone-test' into fix/issue-11-table-driven-tests
Refactored title-related and error-handling tests to use table-driven
patterns for better maintainability. Switched to test.RandomString()
from gommons for consistency with other tests. Removed duplicate
test case.
Added a stress test to verify Matrix thread safety under concurrent row
updates. Also synchronized test helper usage by switching to
test.RandomString() across affected test files.
@coveralls
Copy link

coveralls commented Jan 16, 2026

Pull Request Test Coverage Report for Build 21081835689

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 91.921%

Totals Coverage Status
Change from base Build 21081829077: 0.0%
Covered Lines: 603
Relevant Lines: 656

💛 - Coveralls

@sha1n sha1n merged commit b9155a7 into master Jan 16, 2026
4 checks passed
@sha1n sha1n deleted the fix/issue-12-matrix-stress-tests branch January 16, 2026 21:46
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.

3 participants