Skip to content

test(android): preserve malformed DEX prototype rejection - #2917

Merged
N0zoM1z0 merged 11 commits into
mainfrom
fix/android-dex-descriptor-portable-pattern
Oct 14, 2026
Merged

N0zoM1z0 merged 11 commits into
mainfrom
fix/android-dex-descriptor-portable-pattern

Conversation

@N0zoM1z0

@N0zoM1z0 N0zoM1z0 commented Oct 13, 2026 •

Copy link
Copy Markdown
Collaborator

Strengthen malformed DEX prototype rejection with parameter and return object descriptors containing each ASCII parenthesis, requiring the tagged JADX output error at the exact descriptor path. The AOSP DEX SimpleNameChar grammar excludes these characters. The production regex portability fix was merged independently in #2910; this PR changes only the Android boundary regression test.

Validation on latest captured main e049ef7: complete npm run check and all 13 Android boundary cases pass. Earlier real JADX 0.7.1/JDK21 ApiDemos public CLI/MCP verification passed; this test-only change adds no provider analysis work. Upstream PowerPC installation and CI-report fixtures have been repaired on main and are included in the integration.

Every own commit and the prepared final squash message retain Kaoru0822's canonical co-author trailer.

Use hex parentheses in the shared descriptor character classes so SDK
output schemas compile in JavaScript v mode without changing admission.
Cover malformed parameter and return object types at the producing
JADX boundary with tagged errors and exact descriptor paths.

Fixes #2909

Co-authored-by: Kaoru0822 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-14T00:22:08.817074Z 3680c00 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@greptile-apps

greptile-apps Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Low impact] This test-only change appears safe to merge.

Summary

This PR expands the Android regression test to cover both ASCII parentheses in parameter and return object descriptors.

  • The Android boundary test pinpoints malformed DEX prototypes.

Reviews (9) · Last reviewed commit: "chore: sync latest main for Android regr..." · Reviewed by Greptile

Merge captured main ebaaa79, which already
contains the equivalent descriptor fix from #2910. Keep only the distinct
parameter/return rejection cases and exact tagged producer issue assertions
as the remaining pull request change.

Co-authored-by: Kaoru0822 <[email protected]>
@N0zoM1z0 N0zoM1z0 changed the title fix(android): advertise portable DEX descriptor patterns test(android): preserve malformed DEX prototype rejection Oct 13, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 500fd6de88

ℹ️ 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".

@N0zoM1z0

Copy link
Copy Markdown
Collaborator Author

Synced with main 4d98123279c5a6f5442c458307f5a3ec678fd49e; the final change remains only the 13-case DEX descriptor admission test file. Those focused cases pass.

The previous failed job tested merge 095389903d79e6f525d0e874adcede696b3a8a6e against main 1342eddd03ff4f50cf87484d36fcd72b698d80af and failed the CI npm-cache policy test; its workflow and test blobs are identical to that tested main. Current main locally fails formatting in src/hopper/HopperProcessDiagnostic.test.ts and typechecking in tests/acceptance/providers/hopperStartupRecovery.test.ts:207 (workspace on a string union); both files are byte-identical to main and outside this Android change. No unrelated repairs are included. The new required CI run remains the merge gate.

@morluto morluto added area: runtime Process capture and runtime observation enhancement New feature or request labels Oct 14, 2026
@N0zoM1z0
N0zoM1z0 merged commit d82ad1f into main Oct 14, 2026
33 checks passed
@N0zoM1z0
N0zoM1z0 deleted the fix/android-dex-descriptor-portable-pattern branch October 14, 2026 00:28
@morluto morluto added the area: tests Test suite and verification label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: runtime Process capture and runtime observation area: tests Test suite and verification enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants