Add remote logging and prepare the 0.3.0b1 beta #3

Merged
adam merged 3 commits from codex/logging-service into main 2026-11-28 17:32:15 -05:00
Owner

Crewbot users can opt into remote diagnostics and normalized telemetry while the engineer continues to operate locally. The Go service adds OIDC login, upload-only device tokens, tenant-scoped search and support grants, durable ingestion, 30-day searchable logs, and one-year compressed archives. The locked Nix flake and NixOS module package the gateway and VictoriaLogs for x86-64 and ARM64.

This PR also prepares Crewbot 0.3.0b1. The immutable tag v0.3.0b1 points to cb797fd4f73207b48ee6e5138598c0c96a34418b; the following commit pins ci/release.json to that source. Release resolution accepts PEP 440 alpha/beta/RC tags and marks them as Forgejo prereleases. Merging this PR into main starts the publication workflow, which tests the tagged source, publishes and verifies the Python registry wheel, and creates the prerelease with its wheel attached.

The installation guide covers the Windows beta, installation from the tag before publication, and the logger on an existing NixOS-WSL host. The supplied local configuration uses https://localhost:8443, a Windows-trusted development certificate, systemd credentials, and a separate Keycloak client.

Validation:

  • All 93 Python tests passed with RELEASE_TAG=v0.3.0b1 nix-shell ci/shell.nix --run 'bash ci/check.sh', including beta tag/commit binding and wheel mismatch regressions; the built beta wheel and installed-app smoke passed.
  • The WSL HTTPS example evaluated to a complete NixOS system derivation using the pinned nixpkgs. Its Windows certificate, real Keycloak login, and live upload procedure still need verification on the target PC.
  • The release resolver checked the pushed tag and emitted the exact source SHA with prerelease=true.
  • The original logging implementation passed desktop/wheel CI and logging/NixOS CI. New CI runs are pending runner assignment; they have not been reported as passing. Detailed original validation and remaining Windows/iRacing acceptance checks are in docs/logging-validation.md.
Crewbot users can opt into remote diagnostics and normalized telemetry while the engineer continues to operate locally. The Go service adds OIDC login, upload-only device tokens, tenant-scoped search and support grants, durable ingestion, 30-day searchable logs, and one-year compressed archives. The locked Nix flake and NixOS module package the gateway and VictoriaLogs for x86-64 and ARM64. This PR also prepares **Crewbot 0.3.0b1**. The immutable tag `v0.3.0b1` points to `cb797fd4f73207b48ee6e5138598c0c96a34418b`; the following commit pins `ci/release.json` to that source. Release resolution accepts PEP 440 alpha/beta/RC tags and marks them as Forgejo prereleases. **Merging this PR into main starts the publication workflow**, which tests the tagged source, publishes and verifies the Python registry wheel, and creates the prerelease with its wheel attached. The [installation guide](https://git.pseudo.design/adam/crewbot/src/branch/codex/logging-service/docs/beta-wsl-install.md) covers the Windows beta, installation from the tag before publication, and the logger on an existing NixOS-WSL host. The supplied local configuration uses `https://localhost:8443`, a Windows-trusted development certificate, systemd credentials, and a separate Keycloak client. Validation: - All 93 Python tests passed with `RELEASE_TAG=v0.3.0b1 nix-shell ci/shell.nix --run 'bash ci/check.sh'`, including beta tag/commit binding and wheel mismatch regressions; the built beta wheel and installed-app smoke passed. - The WSL HTTPS example evaluated to a complete NixOS system derivation using the pinned nixpkgs. Its Windows certificate, real Keycloak login, and live upload procedure still need verification on the target PC. - The release resolver checked the pushed tag and emitted the exact source SHA with `prerelease=true`. - The original logging implementation passed [desktop/wheel CI](https://git.pseudo.design/adam/crewbot/actions/runs/19) and [logging/NixOS CI](https://git.pseudo.design/adam/crewbot/actions/runs/20). New CI runs are pending runner assignment; they have not been reported as passing. Detailed original validation and remaining Windows/iRacing acceptance checks are in `docs/logging-validation.md`.
Add portable multi-user logging service
Some checks failed
Test and build / build (push) Successful in 3m3s
Logging service / logging (push) Successful in 6m9s
Test and build / build (pull_request) Successful in 3m5s
Logging service / logging (pull_request) Has been cancelled
bf61a8012e
Prepare 0.3.0b1 beta and document Windows/WSL installation
Some checks failed
Test and build / build (push) Has been cancelled
Logging service / logging (push) Has been cancelled
Test and build / build (pull_request) Has been cancelled
Logging service / logging (pull_request) Has been cancelled
cb797fd4f7
Request the immutable 0.3.0b1 beta release
All checks were successful
Test and build / build (push) Successful in 3m10s
Logging service / logging (push) Successful in 6m22s
Test and build / build (pull_request) Successful in 2m57s
Logging service / logging (pull_request) Successful in 6m21s
7278315eaf
adam changed title from Add portable multi-user logging service to Add remote logging and prepare the 0.3.0b1 beta 2026-11-28 16:46:27 -05:00
adam merged commit f97d0b173e into main 2026-11-28 17:32:15 -05:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
adam/crewbot!3
No description provided.