fix(torghut): bound loop status postgres reads#12287
Open
gregkonush wants to merge 2 commits into
Open
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 001f6e0592
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
gregkonush
force-pushed
the
codex/torghut-loop-status-indexes-main
branch
2 times, most recently
from
July 13, 2026 00:45
57af111 to
99ef567
Compare
Member
Author
|
|
gregkonush
force-pushed
the
codex/torghut-loop-status-indexes-main
branch
from
July 13, 2026 01:04
99ef567 to
a377030
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
Related Issues
None
Testing
uv sync --frozen --extra devuv run --frozen pytest -q tests/test_loop_status_read_indexes_migration.py(7 passed)TORGHUT_TEST_POSTGRES_DSN=postgresql+psycopg://torghut:torghut@127.0.0.1:55432/torghut_test uv run --frozen pytest -q tests/execution/test_loop_status_read_indexes_postgres.pyagainstpostgres:18-trixie(1 passed)uv run --frozen python scripts/check_migration_graph.pyuv run --frozen ruff format --check migrations/versions/0062_loop_status_read_indexes.py tests/test_loop_status_read_indexes_migration.py tests/execution/test_loop_status_read_indexes_postgres.pyuv run --frozen ruff check migrations/versions/0062_loop_status_read_indexes.py tests/test_loop_status_read_indexes_migration.py tests/execution/test_loop_status_read_indexes_postgres.pyuv run --frozen ruff check migrations/versions/0062_loop_status_read_indexes.py tests/test_loop_status_read_indexes_migration.py tests/execution/test_loop_status_read_indexes_postgres.py --select F401 --previewuv run --frozen pyright --project pyrightconfig.jsonuv run --frozen pyright --project pyrightconfig.alpha.jsonuv run --frozen pyright --project pyrightconfig.scripts.jsonuv run --frozen python scripts/run_pylint_torghut_quality_diff_gate.py --base origin/main migrations/versions/0062_loop_status_read_indexes.py tests/test_loop_status_read_indexes_migration.py tests/execution/test_loop_status_read_indexes_postgres.pyuv run --frozen python scripts/run_pylint_torghut_file_length_gate.py --base origin/main migrations/versions/0062_loop_status_read_indexes.py tests/test_loop_status_read_indexes_migration.py tests/execution/test_loop_status_read_indexes_postgres.pyuv run --frozen python scripts/measure_torghut_tech_debt.py --baseline config/quality/tech-debt-baseline.json --enforce-ratchet --format markdownbun test packages/scripts/src/torghut/__tests__/build-push-workflow.test.ts(22 passed)Screenshots (if applicable)
N/A; this is a PostgreSQL migration and CI-only change.
Breaking Changes
None. Alembic applies revision
0062_loop_status_read_indexesafter0061_linked_submission_terminal; index creation and removal use PostgreSQL concurrent operations.Checklist
N/Awith justification).