bagas
5857dec730
Fix data races across session/forwarder/registry, resolve POST/PUT hang, harden port allocation, add frontendURL env ( #157 )
...
SonarQube Scan / SonarQube Trigger (push) Successful in 4m6s
Docker Build and Push / Run Tests (push) Successful in 2m31s
Docker Build and Push / Build and Push Docker Image (push) Successful in 18m4s
Reviewed-on: #157
Co-authored-by: Bagas <bagas@fossy.my.id >
Co-committed-by: Bagas <bagas@fossy.my.id >
2026-07-19 14:10:50 +07:00
bagas
4af011b91d
refactor: move types package to internal
Tests / Run Tests (pull_request) Successful in 2m7s
2026-03-30 11:50:24 +07:00
bagas
2ee24c8d51
test(config): add test for keyloc and header size
2026-01-27 16:28:20 +07:00
bagas
09aa92a0ae
fix: properly initialize tlsStoragePath in config load
2026-01-27 16:28:20 +07:00
bagas
2f5c44ff01
test(bootstrap): add unit tests for initial bootstrap behavior
2026-01-27 16:28:20 +07:00
bagas
d0e052524c
refactor: decouple application startup logic from main
2026-01-27 16:28:20 +07:00
bagas
2bc20dd991
refactor(config): centralize env loading and enforce typed access
...
- Centralize environment variable loading in config.MustLoad
- Parse and validate all env vars once at initialization
- Make config fields private and read-only
- Remove public Getenv usage in favor of typed accessors
- Improve validation and initialization order
- Normalize enum naming to be idiomatic and avoid constant collisions
2026-01-21 19:43:19 +07:00