[codex] Fix failing tests and timeouts#168
Draft
tkilias wants to merge 22 commits into
Draft
Conversation
This was referenced Jun 27, 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.




What changed
This PR collects the stability and robustness fixes needed to make the failing lifecycle checks reviewable on their own.
It includes:
ApiErrorparsing so malformed backend error payloads do not crash error handlingWhy it changed
The original branch mixed test-stability work, workflow changes, feature work, and refactoring. This PR isolates the behavioral fixes that address flaky deletion and allowed-IP polling, plus the API error hardening that supports those flows.
Impact
This should make the handwritten access helpers and their related tests more resilient to transitional backend states and malformed error responses.
Validation
poetry run pytest -q test/unit/test_api_access.py test/unit/test_ensure_type.pypoetry run nox -s format:checkpoetry run nox -s lint:typingIntegration tests requiring SaaS credentials were not run locally in this publish step.