Skip to content

Use ~/.gua state dir and record daemon intervals#16

Merged
GHoon-Lee merged 1 commit into
mainfrom
home-state-dir-record-interval
May 27, 2026
Merged

Use ~/.gua state dir and record daemon intervals#16
GHoon-Lee merged 1 commit into
mainfrom
home-state-dir-record-interval

Conversation

@GHoon-Lee

Copy link
Copy Markdown
Contributor

Summary

  • move default gua runtime state to ~/.gua/gua.db, ~/.gua/gua.pid, and ~/.gua/gua.log
  • treat the default DB as appendable local history while keeping custom --db paths collision-safe
  • record daemon run intervals and attach samples to run metadata so reports can compute GPU-hours without repeating --interval
  • update docs, changelog, and tests for the new default path and interval behavior

Verification

  • uv run python -m pytest -q
  • uv run ruff check
  • uv run ruff format --check
  • uv run python -m mypy
  • uv build --out-dir /tmp/gua-dist-home-default
  • bash scripts/smoke-dist-wheel.sh /tmp/gua-dist-home-default/gpu_usage_audit-1.0.2-py3-none-any.whl

@GHoon-Lee GHoon-Lee merged commit 2a87f75 into main May 27, 2026
2 checks passed
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