Repository navigation
Build native Android apps for individual agents - #2192
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4dca7bf3b7
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| def appName = branded ? brand.name : 'Mu' | ||
| def server = branded ? brand.server : '' | ||
| def agentName = branded ? brand.agent : '' | ||
| def icon = branded ? new File(configFile.parentFile, brand.icon ?: '') : null |
There was a problem hiding this comment.
Preserve absolute icon paths when resolving brand configuration
The new branded job in .github/workflows/android.yml writes an absolute icon path into $RUNNER_TEMP/agent-app.json (lines 73–74), but Java's File(parent, child) constructor resolves even an absolute child beneath the supplied parent. Consequently, this produces a path such as $RUNNER_TEMP/home/runner/work/.../icon-512.png, and the icon.isFile() validation rejects the configuration before any branded tests or packaging can run. Check whether the configured icon is absolute before resolving it relative to the configuration directory.
Useful? React with 👍 / 👎.
Customers can install a native app branded for one published agent, sign in with their own account, and continue private chats or existing paid sessions. Ordinary Mu builds retain agent and server selection.
Validation on latest head: standard and branded Android CI passed, including unit tests, lint, APK/AAB packaging and emulator tests. Protocol CI passed. Server security, browser and race checks passed. Local Go build and targeted vet passed; local full short tests had only the pre-existing missing-Chromium environment failure, covered by passing browser checks on CI. The review's absolute icon-path finding is fixed.
The CLA status requires the contributor's explicit acceptance for the current PR head; no acceptance was supplied on their behalf.