Fix local installer dev flow#12627
Conversation
✨ Benchmark resultsComparing 1.9.x (before) to fix/local-installer-dev-flow (after). Before
After
Delta
Top API waits
|
🔄 PHP-Retry SummaryFlaky tests detected across commits: Commit
|
| Test | Retries | Total Time | Details |
|---|---|---|---|
RealtimeConsoleClientTest::testIndexesCollectionAPI |
1 | 429ms | Logs |
Commit 9c28275 - 1 flaky test
| Test | Retries | Total Time | Details |
|---|---|---|---|
LegacyCustomClientTest::testNotContains |
1 | 240.41s | Logs |
Greptile SummaryThis PR fixes several issues in the local web-installer dev flow: it corrects host-reachable paths for Compose commands, guards the Docker network attach step to only run inside containers, makes the reset endpoint use the host path from config, and adds null-coalescing fallbacks for optional index fields to prevent undefined-index warnings.
Confidence Score: 5/5Safe to merge; the changes are scoped to the local installer dev flow and defensive null-coalescing fixes with no impact on production code paths. All changes are in the local installer orchestration layer and optional-field null guards. The null-coalescing fixes are straightforward and low-risk. The installer changes are well-reasoned and the test plan covers the critical paths (health check, executor connectivity, migration exec). src/Appwrite/Platform/Tasks/Install.php deserves a second look — the step-index arithmetic and the unconditional Important Files Changed
Reviews (5): Last reviewed commit: "Fix local installer dev flow" | Re-trigger Greptile |
2703329 to
9c28275
Compare
9c28275 to
c62143c
Compare
2dbf8e4 to
9c55fef
Compare
9c55fef to
66cacc5
Compare
66cacc5 to
fdcabe1
Compare
What does this PR do?
Fixes several issues in the local web installer/dev flow:
.env.web-installerwhen running local installer Compose commands.runtimesnetwork and configuringOPR_EXECUTOR_IMAGESfor valid startup pulls.lengthsororders.Test Plan
composer linton touched PHP/template files.http://localhost:80/v1/health/version.http://host.docker.internal:80/v1/health/version.openruntimes-executorlocally and verifiedappwritecan reachhttp://exc1/v1/health.[ImagePuller] Pulled 3/3 images.without the blank image pull failure.Related PRs and Issues
Checklist