Skip to content

chore: bump version 3.2.0 - #2160

Open
piotr-iohk wants to merge 5 commits into
masterfrom
release-3.2.0
Open

piotr-iohk wants to merge 5 commits into
masterfrom
release-3.2.0

Conversation

@piotr-iohk

@piotr-iohk piotr-iohk commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Twin: synonymdev/bitkit-ios#1531

Prepares Bitkit 3.2.0 RC3 (build 200) for mainnet verification. Spark is the main change in this release.

Description

Bumps the app to 3.2.0 and folds the latest fixes into the changelog. RC3 is based on master at fc82f5c9d2 with signed release commit c60db829f1, tagged v3.2.0-rc3. RC1 and RC2 remain available at their candidate tags. RC3 automated verification · RC2 automated verification

Design

N/A for the version bump.

Preview

N/A for the version bump.

QA Notes

Track manual tests in the 3.2.0 mainnet QA runbook and record results in the evidence tab. Mainnet execution is pending the signed Android APK and tester availability in TestFlight. Coverage includes upgrading a funded 3.1.1 wallet and sending and receiving Lightning payments through Spark.

RC1 automated verification

Tagged commit eed6efad0e70 on release-3.2.0. Run links show live results. Standard migration is in scope.

Suite Last checked status
Android instrumented tests (all) Passed · 302 passed, 6 fixture-dependent cases skipped (test report)
Spark regtest Passed · 3 tests on first attempt
E2E Staging Passed · 9 tests across 2 shards on first attempt
Lint Passed
Standard migration from native 3.1.1 and RN baseline Passed · 4/4 scenarios on first attempt
CI Passed · build and unit tests, plus 261 Compose UI tests with 0 skips and 0 failures.
Full local E2E Passed · 39 tests across 7 shards on first attempt

Coverage status All seven Android RC1 workflows passed. The instrumented report records six fixture-dependent skips.

Checked 2026-11-28 06:06 CET.

Models used

Preparation and independent diff review used GPT-6.2 Astra (reasoning effort not exposed).

@greptile-apps

greptile-apps Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · This version bump and release-note collection appear safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This version bump and release-note collection appear safe to merge.

Summary

Prepares Bitkit 3.2.0, build 198.

  • Bitkit now identifies the Android build as version 3.2.0.

Reviews (1) · Last reviewed commit: "chore: version 3.2.0" · Reviewed by Greptile

@talosmachina talosmachina left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No findings. Bumps Android to 3.2.0 (build 198) and folds the changelog.d/next fragments into CHANGELOG.md. Reviewed eed6efa, light tier, not built (Android release branches are reviewed from the diff and CI).

What I checked, and 3 candidates I ruled out

Read in full: the app/build.gradle.kts hunk, the new ## [3.2.0] section, the deleted fragments
Checked by script against the head: each of the 92 deleted fragments appears as one bullet, with its PR number, under the section its file suffix names (added, changed, fixed, security); the section has exactly 92 bullets; changelog.d/next holds only .gitkeep
CI: still running at review time

Ruled out

  • A fragment dropped or filed under the wrong heading: none, per the script above.
  • An entry already shipped in an earlier release: no PR number in 3.2.0 appears in any older section.
  • Version mismatch: versionCode 197 to 198 and versionName 3.1.1 to 3.2.0, matching the body's build 198, and the tagged sha matches the PR head.

Merge confidence: 4/5, the change is a version bump and changelog, but CI had not finished.

@github-actions

github-actions Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Regtest APK

Built from c60db82 (run).

Download bitkit-dev-debug universal APK (expires in 30 days).

@piotr-iohk

piotr-iohk commented Nov 30, 2026 •

Copy link
Copy Markdown
Collaborator Author

RC2 automated verification · build 199

Release branch release-3.2.0 at 054395f335. Migration uses the standard suite.

Workflow Result
Android Instrumented Tests Passed · 302 passed and 6 fixture-dependent skips (all-suite report)
CI Passed · build and unit tests, plus 261 Compose UI tests with 0 skips and 0 failures
Full local E2E Passed · 39 tests across all seven RC1 shards on attempt 1
E2E Migration Passed · 4/4. React Native upgrade passed on attempt 2 after a timeout waiting for an activity row. First-attempt evidence.
E2E Staging Passed · 6 Pubky/Paykit and 3 hardware-wallet tests on attempt 1
Lint Passed
Spark regtest Passed · 3/3 on attempt 1 (Lightning receive, Lightning send, on-chain deposit)

All seven in-scope RC2 workflows passed. Coverage matches RC1, including the native 3.1.1 and React Native 1.1.6 migration baselines.

Checked 2026-11-30 16:35 CET.

jvsena42
jvsena42 previously approved these changes Nov 30, 2026

@jvsena42 jvsena42 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approving at 054395f33 (RC2, build 199). No HIGH or MEDIUM findings. Four LOW changelog/tag comments are inline; each can be fixed here or moved to a follow-up issue, your choice. Please reply on each thread with which, and the issue link for a follow-up.

I reviewed this as a release against the last published tag, not just its own diff: git diff 'v3.1.1^{commit}'..054395f33 and git log --no-merges 'v3.1.0^{commit}'..054395f33 (3.1.1 is the hotfix side branch). Because the release bumps ldk-node, bitkit-core, paykit, vss-client and adds breez-sdk-spark, I reviewed it as a funds/key-material change.

Checked and clean
  • Version: versionCode 199 / versionName 3.2.0 in defaultConfig, above 3.1.1 (197) and RC1 (198); flavors only add id suffixes.
  • Changelog: 3.1.1 section byte-identical to the tag; changelog.d/next and hotfix hold only .gitkeep; every RC1→RC2 merge has an entry; the Pubky swaps route (#1732, #1923, #1929) correctly has none since Env.kt:100-101 gates it to debug regtest.
  • Dependencies since 3.1.1: ldk-node rc.80→rc.84 (shutdown/VSS write fencing, key-domain builder, panics become a stopped node handled by LightningRepo.restartStoppedNode; no persisted-format change), vss-client rc2→rc3 (adds keyDomain), bitkit-core rc11→rc15 (no CREATE/ALTER TABLE or user_version change), paykit rc8→rc9 (compat with 3.1.1 profiles rests on green E2E Staging), breez-sdk-spark 0.28.3 (ABIs match abiFilters; release not minified). Room has no schema change. Persisted models add only defaulted/nullable fields.
  • 3.1.1 hotfix carried: profile-tag fixes landed on master as #1884 and all six hotfix test names exist at head; paykit ≥ rc8, ldk-node ≥ rc.80, vss ≥ rc2.
  • Newly on by default: Spark for every mainnet wallet with BREEZ_API_KEY (release workflow fails without it), Paykit ungated, Nearby/NFC on (HCE answers only while Receive is shown and the device is unlocked), wake registration only with Background Payments plus notification permission. All look intended.
  • Debug leaks: local Spark config, regtest Esplora, Blocktank regtest auth, backup test endpoints, wake URL override and swaps route are all behind isDebug/regtest; isDevModeEnabled defaults to Env.isDebug; app/src/release holds only no-op overrides; no new Logger line logs mnemonic, seed, secret or token values.
  • Upgrade from 3.1.1: existing channels stay open and Spark is used only when the node lacks capacity (LightningRepo.kt:1626-1644); Move to Spark closes cooperatively after payments settle; the Spark seed derives from mnemonic plus passphrase, so it restores from seed; a 3.1.1 backup without SPARK_EXIT restores with a warning.
  • Mainnet VSS / LNURL-auth host move (#2154, #2167): Env.kt:169-170 passes key domain bitkit.to to ldk-node and both backup clients. ldk-node rc.84 derives the linking key from that domain with the LUD-05 path, and https://api.bitkit.to/lnurl_auth/auth returns an LNURL on bitkit.to, matching what 3.1.1 used. api.bitkit.to/vss_rs_auth answers like the old host. Unauthenticated probes only.
  • Twin parity with synonymdev/bitkit-ios#1531: ldk-node rc.84, bitkit-core rc15, paykit rc9, vss rc3, breez 0.28.3, VSS/LNURL-auth/wake URLs and key domain are identical. Android lists more platform-only items (BouncyCastle, Jade, tablets, NFC) and separate Spark retry fixes.

One mainnet check CI cannot cover. Every CI job (including the 3.1.1 migration) runs the dev flavor, where the key domain is null and the VSS/LNURL-auth URLs did not change, so the mainnet buildWithVssStoreAndLnurlAuthKeyDomain branch is untested on an upgrade. The author's check in 4275500 was a wipe-and-restore on a mainnetDebug build, not an upgrade. Please make sure the mainnet QA run includes: signed RC2 installed over a mainnet 3.1.1 wallet with a channel and backups; node id, channel list and spending balance unchanged; adb logcat -s APP:V shows keyDomain: 'bitkit.to' with no VSS auth error; App Status shows Spark connected (Spark regtest CI needs no API key, so a bad BREEZ_API_KEY secret shows only here).

Device gate: no device check needed beyond CI for the PR's own diff (version bump and changelog). perf: not relevant (no code in the PR diff).
⚠️ Device gate: not run — the mainnet upgrade check above needs a signed mainnet build and a funded mainnet 3.1.1 wallet with a channel, which is not available on my setup. This approval rests on the code review against v3.1.1 and CI.
Skipped — covered by CI at 054395f: unit tests, Compose UI tests, instrumented tests, detekt/lint, full local E2E, E2E Staging, Spark regtest, migration from native 3.1.1 and RN 1.1.6 (all green).

Reviewer model: claude-fable-5-2 (release review), claude-opus-5-5 (coordination and verification)
Reasoning effort: medium (Fable, from the subagent run record); Opus not exposed

Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved
Comment thread CHANGELOG.md Resolved

@piotr-iohk piotr-iohk left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

QA review

Scope: full PR diff against its merge base, at ad2881b.

No new actionable code findings.

No actionable code findings. versionName is 3.2.0 and versionCode is 199 in defaultConfig, above 3.1.1 (197) and RC1 (198). All 103 changelog.d/next fragments at the merge base were checked against the 3.2.0 section: the notes add the wake line for #1847, omit the profile-tag line that already shipped in 3.1.1, and keep one profile-edit line under #1951.

The four threads on the RC2 review are still open. The wake, profile-tag, and duplicate profile-edit notes match CHANGELOG.md at this head. On the tag thread, signed tag v3.2.0 still points at eed6efad (RC1, build 198). The active ruleset default-tags-protection blocks updates and deletions of refs/tags/v*. The 3.2.0 compare links use v3.2.0-rc2 (054395f, build 199). The RC2 draft release body includes those corrected notes.

Changelog and version comparison with twin bitkit-ios#1531 at a0e19ff: marketing version 3.2.0, build 206, and the same v3.2.0-rc2 compare links. iOS tag v3.2.0 points at 027be152 (RC2, build 206).

Device testing: not performed in this review. The author's RC2 workflow report is for 054395f; later commits only edit CHANGELOG.md. Mainnet QA remains the runbook in the PR description.

Suggested additional test cases

  • Android mainnet build 199: open Support and confirm the version reads 3.2.0 (199).

Reviewer model: grok-4.7
Reasoning effort: xhigh

@jvsena42

jvsena42 commented Dec 1, 2026

Copy link
Copy Markdown
Member

Mainnet QA of RC2 (build 199) on my Android 17 phone, with one funded legacy channel moved to Spark. Follow-ups from the logs:

Electrum: the DNS errors all fall in the 5 s between going to background and the node stop (Android cuts the network), the same as on 3.1.1. Foreground sync and connect timeouts also occurred, at a higher rate than on 3.1.1 (9 of 15 foreground sessions ≥45 s finished no on-chain sync, vs 1 of 8); the slower node start in #2219 accounts for much of it. No funds were lost.

piotr-iohk commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator Author

RC3 automated verification · build 200

Release branch release-3.2.0 at c60db829f1, tagged v3.2.0-rc3. Migration covers the standard native 3.1.1 and React Native 1.1.6 upgrade and restore cases.

Final Android status. All seven verification workflows passed, including standard migration with the Wallet Backup test fix.

Workflow Result
Android Instrumented Tests (all) Passed · 302 passed, 6 skipped, 0 failed. All-suite report.
CI Passed · build, unit tests and 261 Compose UI tests with no skips or failures.
Full local E2E Passed across all seven shards after retry. The first Lightning security job stopped before its tests due to a Docker port collision in regtest setup. The same-commit retry passed.
E2E Migration Passed, 4/4 standard cases. RN 1.1.6 upgrade passed on attempt 1 and verified the migrated wallet before and after a cold reopen. The harness tapped Later when Wallet Backup appeared after reopen. RN upgrade job · Original PR run.
E2E Staging Passed · hardware-wallet and Pubky/Paykit shards.
Lint Passed
Spark regtest Passed

The signed Android build passed release signature verification. The build 200 APKs and symbols passed local checksum verification. The RC3 draft contains all four APKs, native symbols and the checksum manifest. All six uploaded digests match.

The passing migration run used the same app revision as the original and the same test files now merged in E2E #324. The original PR-triggered migration check still shows the historical failure.

@piotr-iohk piotr-iohk left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

QA review

Scope: full PR at c60db829, re-reviewed after the comparison base changed from d979138 to fc82f5c.

No new actionable code findings.

No actionable code findings. versionName is 3.2.0 and versionCode is 200, above 3.1.1 (197), RC1 (198), and RC2 (199). All 102 changelog.d/next fragments at the merge base were checked against the 3.2.0 section. The differences from verbatim collection are the resolved RC2 edits and the RC3 removal of the withdrawn Move to Spark notes: the background-wake line for #1847 is present, the profile-tag line stays out because that restore behavior is already in the v3.1.1 tag, the two profile-edit lines are one #1951 line, and #1768, #1819, #1984, #1989, and the old #1946 wording are gone with Move to Spark. Compare links use v3.2.0-rc3, which is this commit.

The four threads on the RC2 review are resolved, and the changelog still matches those fixes. On the tag thread, tag v3.2.0 still points at eed6efad (RC1, build 198) because v* tags cannot be moved. This candidate is v3.2.0-rc3. The PR description still says RC2, build 199.

Compared with twin bitkit-ios#1531 at 049285d for this version bump only: marketing version 3.2.0, build 207, changelog date 2026-12-02, and the same v3.2.0-rc3 compare links. That pull request was not reviewed.

Device testing: not performed in this review. GitHub Actions for this commit showed CI, Lint, instrumented tests, and Release succeeded. E2E, E2E Migration, E2E Staging, and the Spark regtest run were still in progress. The author's RC2 report is for 054395f, build 199.

Recommended before device testing: install the signed RC3 build 200 from the Release run, not tag v3.2.0 (build 198) and not the RC2 build 199 named in the PR description.

Suggested additional test cases

  • Android, signed build 200: open Settings → Support and confirm the version reads 3.2.0 (200).

Reviewer model: grok-4.7
Reasoning effort: xhigh

@jvsena42

jvsena42 commented Dec 3, 2026

Copy link
Copy Markdown
Member

Follow-up from mainnet QA of 3.2.0 RC3 (build 200) on a Pixel, Android 17. Node start and Electrum are still slow on this wallet. #2219's fix holds: the channel-monitor write took 0.3 s. The remaining slowness has other causes, none of them a regression in this release.

Root causes measured on the device

Filed

Issue Survives the move to BDK
#2237 each Paykit server approval creates a new watch-only account yes
#2238 watch-only accounts sync every 10 s and slow node start yes
#2239 work started after backgrounding fails once Android blocks the network yes
#2240 background node stop hangs until the user returns ldk-node only
#2241 Spark and rate refreshes keep failing in background yes
#2242 sync retry logs success when the retry was skipped ldk-node only
synonymdev/ldk-node#151 stop hangs on the final persist without network upstream
synonymdev/ldk-node#152 ~10 s unlogged gap at build, ~2 s per extra wallet upstream
synonymdev/ldk-node#153 extra wallets slow every sync and time out together upstream
#2032 (comment) Send overlay blocks the Recipient step while Spark is ready yes

Since the earlier report, #2217, #2218 and #2221 were closed by #2223 (Move to Spark removed), and #2219 was closed by #2224 / #2222. #2220 is still open.

None of these blocks 3.2.0 in my view. The worst user-visible effect, the slow Send after a resume, is worst on wallets with several Paykit server accounts. The upstream ldk-node issues may become moot with the move to pure BDK. #2237–#2239 and #2241 apply either way.

@piotr-iohk

Copy link
Copy Markdown
Collaborator Author

@piotr-iohk please resolve conflicts.

This branch was successfully deployed

1 active deployment
release — c60db829 Deployed Dec 2, 2026 by piotr-iohk via build-release #24
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