fix(proxy): repair request failure metadata migration#870
Conversation
f079941 to
bacadb7
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f079941a92
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 29ec46fcc2
ℹ️ 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".
|
@codex review |
|
Codex Review: Didn't find any major issues. 👍 ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
Summary
mainmigration merge revisionSource PR
maintainerCanModify=false), so this branch carries the maintainer-side repair commit.Tests
uv run pytest tests/unit/test_proxy_utils.py::test_write_request_log_persists_failure_metadata tests/unit/test_proxy_utils.py::test_request_log_failure_metadata_does_not_use_status_code_for_local_selection_failures -quv run ruff check app/db/alembic/versions/20260526_000000_add_request_log_failure_metadata.py app/db/alembic/versions/20260601_000000_merge_relative_availability_and_usage_raw_heads.py app/db/models.py app/modules/proxy/service.py tests/unit/test_proxy_utils.pymake migration-checkuv run openspec validate fix-request-log-failure-metadata --strict