test(integration): MySQL CI + AuthManager lifecycle - #496
Open
Ibochkarev wants to merge 2 commits into
Open
Conversation
Add MySQL 8 service to PHP CI for @group mysql tests, cover AuthManager authenticate/session/logout/lockout against PDO stores, and OptionSync on MySQL.
MySQL may return tags before color; compare after ksort.
Ibochkarev
force-pushed
the
test/issue-429-mysql-auth-lifecycle
branch
from
August 2, 2026 02:29
b4b8634 to
6f69007
Compare
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.
Описание
Инфра и интеграционные тесты для
#429: MySQL 8 service в jobPHP lint + smoke(MS3_TEST_MYSQL_*,pdo_mysql).AuthManagerLifecycleTestна SQLite всегда: PasswordAuthProvider login, rotate токена, чужой токен без переноса корзины, logout с guest mint, validate/revoke, lockout. Группа@group mysql— тот же Auth lifecycle иOptionSyncна реальном MySQL (локально skip без DSN). В OptionSync assert порядок ключей игнорируется черезksort(MySQL может вернутьtagsраньшеcolor).Тип изменений
Связанные Issues
Refs #429
Как это было протестировано?
Локально (MySQL group skip без DSN):
cd core/components/minishop3 composer install composer ci:phpCI на PR: MySQL service поднимается,
@group mysqlне skip; PHP lint + smoke, PHPStan, vueManager lint — pass.composer ci:php/composer test,npm run lint:ci,composer stan/ GitHub Actions CI)Конфигурация тестирования:
test/issue-429-mysql-auth-lifecycleСкриншоты (если применимо)
n/a
Чеклист
composer stan/ CI jobPHPStan)npm run lint:ciдля Vue)Дополнительные заметки
Лексиконы, Vue и CHANGELOG не затрагивались. Локально без
MS3_TEST_MYSQL_*MySQL-тесты пропускаются; в CI DSN задаёт workflow.