feat: Traffic-aware route forecast#181
Conversation
|
Hey Hiral — good progression from #180. The traffic layer is well-structured: the feature-flag defaults are safe, the env variable naming is consistent, the threshold logic mirrors the weather path cleanly, and the new unit tests cover the traffic path well ( A few things to work through before merge: Must-fix
Worth fixing
Frontend carryovers from #180
The event-loop threading fix is the one I'd want to see before this merges. Everything else can be sequenced, but the leg-loop blocking is a regression in server availability under real traffic conditions. Happy to talk through the async approach if that's helpful. |
74e14fe to
9728bca
Compare
df30825 to
d69889d
Compare
|
Good iteration — all three must-fixes from the last round are in and clean. The thunder double-count fix is especially nice, the A few new things surfaced: Worth fixing before merge
Lower priority
Frontend carryovers (same as last time, sequencing is fine): The job ID indexing one is the new must-look-at — everything else can be sequenced or documented. Happy to talk through the ID→position fix if useful. |
Summary
Motivation
Changes
Backend:
Infrastructure:
Validation
Frontend
npm --prefix app/ui run lintnpm --prefix app/ui run format:checknpm --prefix app/ui run typechecknpm --prefix app/ui run testnpm --prefix app/ui run buildnpm --prefix app/mobile run lintnpm --prefix app/mobile run typecheckBackend
cmake --preset dev.github/scripts/check-backend-static.sh build/devcmake --build --preset conan-release --parallelgit diff --checkdocker compose -f deploy/compose/docker-compose.arm64.yml --env-file deploy/env/http-server.arm64.env configcmake --build --preset dev --parallelctest --preset dev --output-on-failure --no-tests=error -LE 'e2e|docker'Risk
Rollout and Recovery
DELIVERYOPTIMIZER_TRAFFIC_FORECAST_ENABLED=1and settingGOOGLE_MAPS_API_KEY.DELIVERYOPTIMIZER_TRAFFIC_FORECAST_ENABLEDto0)High-Signal PR Checklist