Conversation
Бамп версии 0.3.2 → 0.3.3 в pyproject.toml не сопровождался пересборкой манифестов плагина, из-за чего падали джобы Codex Plugin и Publish to PyPI (scripts/update_codex_plugin_manifest.py --check и install-тесты). Пересобрано скриптом синка: Claude-манифест → 0.3.3, Codex canonical/root → 0.3.3+codex.9aa7a5c3958b (digest пересчитан по обновлённому payload).
…reate_app Жадный вызов history.init_schema() при конструировании приложения открывал пул Postgres даже при простом создании app (напр. unit-тест SPA-fallback на машине с собранным фронтом), из-за чего срабатывал новый guard изоляции инфраструктуры (PR #111): «Unit-тесту запрещено создание пула Postgres». Инициализация схемы перенесена в startup-часть lifespan (fail-soft сохранён). Прод (reviewer serve → uvicorn) запускает lifespan, поведение не меняется; конструирование app без lifespan к БД больше не подключается.
fix: зелёный CI — синк манифестов 0.3.3 + пул Postgres вне unit-тестов
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.
Релиз
dev → main. Чинит красный CI (Codex Plugin, Publish to PyPI).create_app()больше не открывает пул Postgres при конструировании (init_schema перенесён в lifespan).Локально:
update_codex_plugin_manifest.py --check→ exit 0;pytest -q→ 1341 passed. См. PR #114.