Repository navigation
Conversation
Contributor
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. If the migration derives an incorrect route or profile mapping, it persists configuration that can affect where messages are handled and removes the legacy metadata from the stored profile. Reverting the code does not undo those writes, but the routing and profile state are bounded and can be repaired or reconstructed by rerunning or correcting the migration.
Author
|
Hi @Soulter, friendly ping on this one — CI is green and it merges cleanly. Happy to adjust anything if needed. |
This branch has not been deployed
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
Fixes #10390
Validation
uv run pytest tests/unit/test_migra_45_to_46.py tests/unit/test_astrbot_config_manager.py -q(11 passed)uv run ruff format --check astrbot/core/db/migration/migra_45_to_46.py astrbot/core/umop_config_router.py tests/unit/test_migra_45_to_46.pyuv run ruff check astrbot/core/db/migration/migra_45_to_46.py astrbot/core/umop_config_router.py tests/unit/test_migra_45_to_46.pySummary by Sourcery
Make legacy UMO migration atomic and retryable across validation, routing persistence, and profile metadata updates.
Bug Fixes:
Enhancements:
Tests: