Public launch phase 2 hardening#25
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
logging.stdout/TORVIX_LOG_STDOUT, while keeping subsystem log files as the default./healthzand centralize the runtime version ininternal/version.TORVIX_HEALTH_START_PERIODdefaulting to120s, and add a dev app healthcheck.CONTRIBUTING.mdandSECURITY.mdfor public project onboarding and private vulnerability reporting.Validation
env GOCACHE=/tmp/torvix-go-build GOMODCACHE=/tmp/torvix-go-mod go test ./...env GOCACHE=/tmp/torvix-go-build GOMODCACHE=/tmp/torvix-go-mod go build ./cmd/... ./internal/...make compose-dev-config && make compose-prod-config && jq empty docs/swagger.json && git diff --checkdocker buildx build --check --file Dockerfile .env GOCACHE=/tmp/torvix-go-build GOMODCACHE=/tmp/torvix-go-mod go vet ./...env GOCACHE=/tmp/torvix-go-build GOMODCACHE=/tmp/torvix-go-mod go run golang.org/x/vuln/cmd/govulncheck@latest ./...env GOCACHE=/tmp/torvix-go-build GOMODCACHE=/tmp/torvix-go-mod go test ./internal/logging ./internal/config ./internal/ports/http ./tests/unit -count=1Notes
/healthzand/swagger/*remain public; API, dashboard, reports, waste, metrics, and ingestion endpoints remain bearer-protected when auth is enabled.TORVIX_LOG_STDOUT=falsekeeps current file-only behavior. Set it totruefor container log collectors or easier production troubleshooting.