Phase 8: hard-cut identity auth routes#1671
Merged
Merged
Conversation
5531ce9 to
acd9359
Compare
5 tasks
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
Phase 8 task #36: identity/auth route dependency hard-cut.
aperag/views/auth.pyintoaperag/domains/identity/api/auth_routes.pyand deleteaperag/auth/*.aperag/domains/identity/service/auth_dependencies.pyand login-method config helpers intoaperag/domains/identity/service/login_methods.py./api/v2/authand config at/api/v2/config; remove the old/api/v1auth/config route exposure.aperag.views.auth.Boundary Notes
Invitationwas carved by task [Features] support chinese model baichuan-13b #39 / PR cleanup(phase8/task39): legacy ORM carve + old evaluation stack hard-delete + partial unique indexes #1670, then this PR rebased ontomain@6bcc0ef2and now importsInvitationdirectly fromaperag.domains.identity.db.models.Verification
uv run pytest tests/unit_test/test_modularization_boundaries.py tests/unit_test/test_openapi_spec.py -q-> 24 passeduv run pytest tests/unit_test/test_web_typed_api_contract.py::test_final_sweep_v1_ghost_paths_are_gone_from_exported_spec tests/unit_test/test_web_typed_api_contract.py::test_e2e_http_does_not_call_removed_v1_paths tests/unit_test/test_web_typed_api_contract.py::test_phase1_fe_complete_identity_auth_admin_audit_adapter_boundary -q-> 3 passeduv run python scripts/export_openapi.py --check-> passuv run ruff check aperag tests/unit_test/test_modularization_boundaries.py tests/unit_test/test_openapi_spec.py tests/unit_test/test_web_typed_api_contract.py tests/e2e_pytest/conftest.py-> passcd web && yarn lint-> passgit diff --check origin/main...HEAD-> passaperag.app:/api/v2/auth/{login,register,user,users,invite,invitations,change-password}and/api/v2/configpresent; old/api/v1/{login,register,user,users,invite,config}absentcd web && yarn tsc --noEmitstill fails on known mainline FE type issues inpage.tsx,collection-form.tsx,chat-input.tsx, andcollection-provider.tsx; none are introduced by this PR.