Repository navigation
Fail builds early when the configured main class is missing - #6017
shai-almog wants to merge 5 commits into
Conversation
|
@codex review |
Codex Review SummaryThis 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: 077f9e3768
ℹ️ 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".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e8d80d43b8
ℹ️ 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".
|
Compared 170 screenshots: 170 matched. Native Android coverage
✅ Native Android screenshot tests passed. Native Android coverage
Benchmark ResultsDetailed Performance Metrics
|
|
Compared 206 screenshots: 206 matched. |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3122862965
ℹ️ 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".
✅ Continuous Quality ReportTest & Coverage
Static Analysis
Generated automatically by the PR CI workflow. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Breezy! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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". |
When an app's main class is renamed or moved without updating its settings, builds can upload successfully and then fail in generated platform code. The shared Maven/Gradle build engine now validates the configured main class before invoking the build client or reusing a cached Android APK.
The error names the missing or stale class and directs the developer to
mvn cn1:settingsor to editcodename1.mainNameandcodename1.packageNameincodenameone_settings.properties. It suggests a replacement only when exactly one live lifecycle class is identified. Staging-only builds also validate the main class.Validation: 179 focused tests passed under Java 8 across the build engine and Maven plugin. Coverage includes incremental renames/package moves, switching entry points through settings and command-line overrides, custom/generated source roots, binary dependencies, common-module directories/JARs, and existing source-scanning/provisioning/class-closure checks.
Gradle build tasks resolve the complete source set lazily, including Kotlin and added/generated roots. All 22 Gradle-plugin unit tests passed under Java 8, along with a real Gradle staging regression covering Java/Kotlin source roots, configuration-cache reuse, and rejection of orphaned bytecode. Targeted SpotBugs analysis reported no findings.
Fixes #6015.