Install Android and Web dependency locally#661
Merged
mdshakib007 merged 3 commits intodevfrom Feb 16, 2026
Merged
Conversation
Collaborator
Author
📚
|
mdshakib007
approved these changes
Feb 16, 2026
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.
PR Type
Feature
PR Checklist
Overview
This PR introduces local installation support for Android and Web services by creating a dedicated installer router (
server/installers.py).Key changes include:
Framework/install_handler/utils.pyto makesend_responsecalls asynchronous usingasyncio.to_threadfor HTTP requests, improving responsiveness, especially when interacting with external services. The response retry logic now uses a fixed sleep time of 3.5 seconds.server/installers.py, is introduced to host a local installer endpoint (/installer/*).send_responsemechanism across relevant modules (Android/Web) to redirect status updates to the local Job Store/Event Bus when running locally, falling back to the remote mechanism only if configured or if no job context is present.Framework/install_handler/utils.py) was updated to remove the dependency onConfigModule(which seems unused here) and patched to use the new local response mechanism. The commit history suggests an update to uselocalhostfor Android installation hooks, which is facilitated by the patching logic inserver/installers.py.This enables running and monitoring installation jobs (Android/Web) entirely on the local machine without relying on immediate remote communication for status updates.
Test Cases
/installer/servicesreturns expected services filtered for Android/Web categories./installer/jobs/{job_id}returns the updated status as the local job progresses.