Repository navigation
Add optional userspace EasyTier connections to server profiles - #9
Open
Hahaxiong838383 wants to merge 1 commit into
Open
Hahaxiong838383 wants to merge 1 commit into
Hahaxiong838383 wants to merge 1 commit into
Conversation
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.
Adds an optional embedded EasyTier connection to the existing server profiles, so the Android client can reach a private Codeg server using a user-configured mesh. The existing selected-server persistence restores that connection at startup. A bounded connection screen verifies authenticated
/api/healthbefore opening the main app and offers retry or server selection on failure.The native engine runs in userspace and forwards only Codeg HTTP/WebSocket traffic through loopback. Each connection gets its own local endpoint; switching servers stops the previous instance. Mesh passwords use the existing Android Keystore-backed secret store. Connection revisions invalidate cached clients after token/password edits, while editing another profile leaves the selected connection running. The server editor supports direct connections, mesh settings, and connection tests.
The standard build remains available. Build the optional transport with
-PeasyTier=true; maintainers can set the repository variableCODEG_EASYTIER=trueto include it in official releases. The native build uses public EasyTier revision4a10d1c2b93beae60ff0d6d3329463c1ad6928b2, with its Android logger disabled. There are no bundled server profiles or runtime credentials. The optional release workflow publishes the corresponding engine source and dependency notices, and the app includes LGPL/GPL texts plus the resolved native dependency notices in its license screen. Build checks bind the ABI set and library hashes to the build manifest and reject incomplete or unresolved license-pointer records.Validation completed:
:app:check,:app:assembleDebug, and:app:assembleReleasewith the default build and with-PeasyTier=true; each configuration passes 191 debug and 191 release JVM tests.Current scope: mesh URLs use HTTP with an IPv4 address and explicit port. HTTPS profiles use the direct transport. Local native/runtime validation covers ARM64; the release workflow defines the other Android ABIs, which have not been locally built or tested on physical devices. The selected native instance is process-scoped and can remain after leaving the Activity; there is no foreground service or background-connectivity guarantee. Physical-phone, 5G, and long-running background acceptance remain for maintainer/device testing. Local release packaging is unsigned; official signing stays in the existing release workflow.
Build, replacement-library, license-source, and reproducible fixture instructions are in
docs/easytier-native-build.md.