fix(jangar): harden control-plane dependency health#5576
Merged
gregkonush merged 7 commits intomainfrom May 5, 2026
Merged
Conversation
Member
Author
|
Marco release final 2026-05-05 23:26 UTC Merge gate: complete. #5576 merged at 2026-05-05T23:07:18Z as d17e045 after all required checks were pass/skipped, including agents-ci integration in 14m02s. Rollout evidence:
Residual risk: dependency quorum is still blocked by stale empirical jobs, and Torghut /readyz still returns 503. This is a runtime dependency backlog, not a failed Jangar rollout. |
6d2b581 to
e755ff7
Compare
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
/trading/statustimeout default from 5s to 15s and sets the same value in the GitOps deployment.pgdisconnect events log instead of terminating the Jangar process.db.ts, refreshes the generated architecture inventory, and adds quant health lookup indexes./api/torghut/trading/control-plane/quant/health?window=1hremains a cheap rollout probe; scopedaccountpluswindowrequests still read indexed stage health.Related Issues
None
Testing
bun install --frozen-lockfile --ignore-scriptsbun run buildfrompackages/otelbun run buildfrompackages/temporal-bun-sdkgit diff --check origin/main...HEADbunx oxfmt --check services/jangar/src/routes/api/torghut/trading/control-plane/quant/health.ts services/jangar/src/routes/api/torghut/trading/control-plane/quant/-health.test.ts services/jangar/src/server/db.ts services/jangar/src/server/__tests__/db.test.ts services/jangar/src/server/postgres-client-errors.ts services/jangar/src/server/postgres-ssl.ts services/jangar/src/server/kysely-migrations.ts services/jangar/src/server/__tests__/kysely-migrations.test.ts services/jangar/src/server/torghut-quant-metrics-store.ts services/jangar/src/server/__tests__/torghut-quant-metrics-store.test.ts services/jangar/src/server/migrations/20260505_torghut_quant_metrics_latest_account_window_index.ts services/jangar/src/server/migrations/20260505_torghut_quant_pipeline_health_account_window_asof_index.ts docs/jangar/architecture-inventory.mdbunx vitest run --config vitest.config.ts src/routes/api/torghut/trading/control-plane/quant/-health.test.ts src/server/__tests__/db.test.ts src/server/__tests__/kysely-migrations.test.ts src/server/__tests__/torghut-quant-metrics-store.test.ts src/server/__tests__/control-plane-config.test.ts src/server/__tests__/control-plane-empirical-services.test.tsfromservices/jangarbun run docs:inventory:checkfromservices/jangarbun run check:module-sizesfromservices/jangarbun run lintfromservices/jangarbun run lint:oxlintfromservices/jangarwith existing warnings onlybun run lint:oxlint:typefromservices/jangarwith existing warnings onlybun run tscfromservices/jangarbun run buildfromservices/jangarbun run testfromservices/jangarstill times out unrelated 5s default tests in this low-CPU runner after the targeted quant and DB suites pass independently; GitHub CI is the merge gate before squash merge.Screenshots (if applicable)
N/A
Breaking Changes
None
Checklist
N/Awith justification).