Skip to content

fix: repin proot to 5.1.107.102 (CI) and harden OpenCodeEventParser type handling - #443

Merged
yuga-hashimoto merged 2 commits into
mainfrom
codex/bug-fixes
Nov 25, 2026
Merged

yuga-hashimoto merged 2 commits into
mainfrom
codex/bug-fixes

Conversation

@yuga-hashimoto

Copy link
Copy Markdown
Owner

Summary

OpenCodeEventParser.parse read root["type"]?.jsonPrimitive outside its runCatching. A malformed event whose type is an object/array threw IllegalArgumentException and could abort SSE collection. It now yields OpenCodeEvent.Unknown.

Verification

  • Added a regression test; :app:testGithubDebugUnitTest passes (runtime asset prep tasks excluded locally because the pinned Termux proot deb returns 404 from mirrors).
  • detekt and spotlessCheck pass.

Pre-PR review

The repo-reviewer subagent was unavailable in this session, so the pre-PR review was not performed. Please review before merging.

🤖 Generated with Claude Code

yuga-hashimoto and others added 2 commits November 25, 2026 06:43
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Termux removed proot 5.1.107.101 from its pool, so clean builds (including CI on main) fail in prepareOpenCodeRuntimeAssets with HTTP 404. Lock refreshed with prepare_android_runtime_assets.py --refresh-lock-file; hashes match the Termux Packages index, and the source archive SHA-256 matches the upstream recipe. Notices and mirrored recipe updated.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@yuga-hashimoto yuga-hashimoto changed the title fix(api): don't throw on non-primitive event type in OpenCodeEventParser fix: repin proot to 5.1.107.102 (CI) and harden OpenCodeEventParser type handling Nov 25, 2026
@yuga-hashimoto
yuga-hashimoto merged commit afc9ef1 into main Nov 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant