| Age | Commit message (Collapse) | Author |
|
without full Kernel tables.
- Link foo.zone stylesheet and mirror header/heading/quote layout for HTML reports.
- Default -all stats order matches foo.zone (Host Uptime through Score, then KernelMajor and KernelName; full Kernel last when include-kernel).
- Daemon root HTML uses include-kernel=false like the public stats page.
- Refresh HTML integration fixtures.
Made-with: Cursor
|
|
Serve aggregated uptime stats as HTML on GET /. Cache rendered output for 10 minutes. Bump version to 0.3.1.
Made-with: Cursor
|
|
Document the full HTTP API surface, bump the version for the new daemon/upload/report capabilities, and add Docker build assets so goprecords can be packaged and deployed in f3s.
Made-with: Cursor
|
|
- CreateKey: avoid shadowing named return err on rand.Read
- daemon Run: rename slog logger to slogLog vs stdlib log package
- version: rename Version to Tag to avoid version.Version stutter
- LoadRecords: COUNT(*) then make slice with capacity
Made-with: Cursor
|
|
|
|
|
|
|
|
|
|
Amp-Thread-ID: https://ampcode.com/threads/T-019ca323-dde1-73ac-97f0-cebfae5922a5
Co-authored-by: Amp <amp@ampcode.com>
|
|
Performance improvement:
- Use transactions for database imports (118x speedup)
- Import time reduced from 11.2s to 0.076s
Amp-Thread-ID: https://ampcode.com/threads/T-019c7c73-58f9-7516-958d-f30eb17a3bff
Co-authored-by: Amp <amp@ampcode.com>
|
|
Major improvements:
- Apply Go best practices (reorganized types, constructors, methods)
- Remove obsolete files (guprecords.raku, compare-with-raku.sh)
- Extract processRecordsFile helper function
- Fix word-wrapping bug
- Support database import/query workflow
- Add database-backed uprecords Makefile target
Amp-Thread-ID: https://ampcode.com/threads/T-019c7c73-58f9-7516-958d-f30eb17a3bff
Co-authored-by: Amp <amp@ampcode.com>
|
|
- cmd/goprecords: CLI with import, query, report-from-files, test
- internal/goprecords: types, order, aggregate, db, report
- internal/version: version constant (0.1.0)
- SQLite import (repeatable: clears record table then inserts)
- Magefile: Build, Test, Install, Uninstall
- Table-driven unit tests; comparison script vs Raku guprecords
- .gitignore: *.db, /goprecords binary
Co-authored-by: Cursor <cursoragent@cursor.com>
|