Skip to content

fix: bump Bun property access threshold to 42 for claude-code >=2.1.219 - #245

Merged
bash0816 merged 1 commit into
mainfrom
fix/claude-2.1.219-bun-threshold
Jul 25, 2026
Merged

fix: bump Bun property access threshold to 42 for claude-code >=2.1.219#245
bash0816 merged 1 commit into
mainfrom
fix/claude-2.1.219-bun-threshold

Conversation

@bash0816

Copy link
Copy Markdown
Owner

Summary

  • 2.1.219's native bundle throws unexpected Bun property access count 42 at the existing >=216 threshold (40)
  • Measured 42 via sequential-replacement simulation (matching rewriteNativeChunkSource's actual replacement order), consistent with the runtime error
  • typeof Bun (7) and npmInstallDeprecated:!0 (2) counts unchanged from existing >=200/>=203 branches
  • Added >=219 regression tests (success at 42, failure at 41) to both existing test patterns

Test plan

  • node --test lib/termux-run-claude-native.test.js — 24/24 PASS
  • G1/G3/G4 review (GPT-5.6-terra) — G1/G3 Go, G4 No-Go pending TUI verification + auth status (in progress)
  • tgz install smoke test: claude --version2.1.219, claude -p "echo hello"hello (exit 0)
  • TUI verification (user, in progress)

Sequential-replacement simulation (matching rewriteNativeChunkSource's
actual replacement order) measured 42 on the 2.1.219 native bundle,
consistent with the runtime "unexpected Bun property access count 42"
error. typeof Bun (7) and npmInstallDeprecated:!0 (2) counts are
unchanged from their existing >=200/>=203 branches.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@bash0816
bash0816 merged commit 25e06bc into main Jul 25, 2026
4 checks passed
@bash0816
bash0816 deleted the fix/claude-2.1.219-bun-threshold branch July 25, 2026 01:00
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