Skip to content

chore: speed up bindings generation pipeline#71

Merged
ovitrif merged 14 commits intomainfrom
fix/dsym-debug-symbols
Mar 5, 2026
Merged

chore: speed up bindings generation pipeline#71
ovitrif merged 14 commits intomainfrom
fix/dsym-debug-symbols

Conversation

@ovitrif
Copy link
Collaborator

@ovitrif ovitrif commented Mar 2, 2026

Summary

  • Fix cumulative change-address derivation index leak in dry-run tx builds — cancel_tx /
    cancel_dry_run_tx on all early-return and fee-estimation paths
  • Speed up ./bindgen.sh: remove irrelevant cargo build for debug symbols that was
    running a full host build before the actual cross-compilation, eliminate duplicate
    gobley-uniffi-bindgen install, standardize all targets on release-smaller
  • Fix AI review persona rules blocking Claude code reviews in CI — skip build/test stages
    when running as code-review plugin in GitHub Actions (AGENTS.md)
  • Fix Claude Code Review workflow never posting comments — add missing --comment flag
    and --allowedTools for Bash/gh CLI (reviews were silently discarded since inception)
  • Bump to v0.7.0-rc.32, update all bindings

Build time perf

Got the 1st full ./bindgen.sh build on M1 Mac ~32% faster.

Test plan

  • ./bindgen.sh completes successfully on macOS
  • cargo test passes (including new cancel_dry_run_tx tests in bdk-wallet-aggregate)
  • xcframework checksum in Package.swift matches built artifact
  • Claude Code Review posts comments on next PR (after merge)

Release

Integration

…tion

Add `debug = "line-tables-only"` to the `release-smaller` Cargo profile
so Xcode can generate dSYM files for LDKNodeFFI and Android builds
include DWARF info for crash symbolication. Bumps version to 0.7.0-rc.31.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ovitrif ovitrif changed the title fix: add debug symbols + remove .o artifact feat: add debug symbols Mar 2, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ovitrif ovitrif force-pushed the fix/dsym-debug-symbols branch from 011a4cf to f045195 Compare March 2, 2026 23:05
ben-kaufman and others added 4 commits March 3, 2026 22:50
Ensures debug symbols are bundled into a single .dSYM (macOS) or
embedded DWARF (Linux) rather than scattered across object files.
Addresses PR #71 review feedback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: prevent cumulative change-address index leak in dry-run tx builds
@ovitrif

This comment was marked as resolved.

ovitrif and others added 4 commits March 4, 2026 18:55
The debug/split-debuginfo settings added in #71 doubled the
XCFramework zip size (239→479 MB). Remove them entirely and
revert version from rc.32 back to rc.31.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ovitrif ovitrif changed the title feat: add debug symbols chore: speed up bindings generation pipeline Mar 4, 2026
@ovitrif ovitrif requested review from ben-kaufman and pwltr March 4, 2026 20:03
ovitrif and others added 4 commits March 4, 2026 21:12
- Replace individual binding scripts with single `./bindgen.sh` entry point
- Clarify CHANGELOG is cumulative; point to PR Release Workflow for release notes
- Add critical rules: commit before tagging, delta-only release notes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The code-review plugin defaults to terminal output without --comment,
so reviews were silently discarded in CI. Additionally, Bash commands
(gh CLI, git) are not auto-allowed by the action and need explicit
--allowedTools to function.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Releases must be published (not draft) and set as latest
- Release notes are for binding consumers only — no internal CI/docs/workflow changes

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Bust Android CI cache after rc.31 retag. Update bindgen rule to allow
background execution.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ovitrif ovitrif merged commit c5698d0 into main Mar 5, 2026
4 of 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.

3 participants