Hive
feat(cli): add per-session internal logging
GitHub issue · Closed
Source
tuist/once #90
Updated
Jun 24, 2026
Domains
Once
Summary
- Adds a per-invocation internal tracing session with a UUIDv7 log file, using non-blocking JSONL writes so diagnostic logging stays off stdout and stderr.
- Stores session logs in platform log locations: XDG state directories on Linux,
~/Library/Logs/Onceon macOS for Console.app visibility, andLOCALAPPDATAon Windows. - Preserves existing stderr verbosity behavior while adding internal startup, completion, failure, and argument-parse early-exit events.
- Documents what contributors and agents should log, including cache decisions, action digests, provider choices, retries, durations, and failure causes without secrets.
Testing
mise exec -- cargo fmt --all -- --checkmise exec -- cargo check -p once-climise exec -- cargo clippy -p once-cli --all-targets -- -D warningsmise exec -- env HOME=<temporary directory> cargo run -q -p once-cli -- --listmise exec -- env HOME=<temporary directory> cargo run -q -p once-cli -- --help
Investigate, reproduce, or fix this item in an isolated repository. Each Flight preserves its outcome and agent session.
New Flights are paused
Configure model inference, GitHub, and a sandbox provider to start another Flight. Existing results remain available below.
No Flights yet
Start a Flight and preserve its objective, outcome, and session here.
No GitHub comments yet.