You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Fail migrations whose source or destination stops answering #14331
Goal: Migrations whose source or destination accepts a connection but never answers should fail with a recorded error instead of sitting in processing forever (the cause of the intermittent Migrations E2E timeouts in CI).
What changes:
src/Appwrite/Platform/Workers/Migrations.php: the scope-probe Client in authenticateSource() gets Target::CONNECT_TIMEOUT and Target::REQUEST_TIMEOUT.
Tracks PR #14330.
Plan
Goal: Migrations whose source or destination accepts a connection but never answers should fail with a recorded error instead of sitting in
processingforever (the cause of the intermittent Migrations E2E timeouts in CI).What changes:
src/Appwrite/Platform/Workers/Migrations.php: the scope-probeClientinauthenticateSource()getsTarget::CONNECT_TIMEOUTandTarget::REQUEST_TIMEOUT.composer.json/composer.lock:utopia-php/migrationpoints at branchfix/request-timeoutsaliased as2.0.9(the library change is fix: time out stalled source and destination requests utopia-php/migration#232: 10s connect timeout, 30s no-bytes limit).tests/e2e/Services/Migrations/MigrationsBase.php: newtestAppwriteMigrationFailsWhenSourceNeverAnswers, using a listening socket that never replies.Remaining steps:
composer.jsonfrom the dev branch alias to the released tag and refreshcomposer.lock.Done when: