fix(jangar): index torghut quant health lookup#5570
Merged
gregkonush merged 1 commit intomainfrom May 5, 2026
Merged
Conversation
Member
Author
|
Merge and rollout gate: green and closed with one residual restart noted. Evidence as of 2026-05-05T22:27Z:
|
9809a45 to
8c7e5e5
Compare
This was referenced May 5, 2026
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
DISTINCT ONplan instead of a window-function scan overquant_pipeline_health.Related Issues
None
Testing
bun run --cwd services/jangar pretestbunx oxfmt --check src/server/torghut-quant-metrics-store.ts src/server/__tests__/torghut-quant-metrics-store.test.ts src/server/__tests__/kysely-migrations.test.ts src/server/kysely-migrations.ts src/server/migrations/20260505_torghut_quant_pipeline_health_window_index.tsfromservices/jangarbunx vitest run --config vitest.config.ts src/server/__tests__/kysely-migrations.test.ts src/server/__tests__/torghut-quant-metrics-store.test.ts src/routes/api/torghut/trading/control-plane/quant/-health.test.tsfromservices/jangarbunx tsc --noEmit -p tsconfig.app.json --pretty falsefromservices/jangarbun run --filter @proompteng/jangar lintbun run --filter @proompteng/jangar lint:oxlint(0 errors; existing unrelated warnings remain)bun run --filter @proompteng/jangar lint:oxlint:type(0 errors; existing unrelated warnings remain)git diff --check origin/main...HEADScreenshots (if applicable)
N/A
Breaking Changes
Adds a non-concurrent Kysely migration for
torghut_control_plane.quant_pipeline_health; production is being repaired manually with the same index created concurrently before this migration rolls out.Checklist
N/Awith justification).