Repository navigation
chore: forward bitkit-docker's new lnd and lnurl host ports in just run docker - #1438
Conversation
…735 and 23000 in just run docker
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Regtest APKDownload bitkit-dev-debug universal APK (expires in 30 days). |
|
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Moves just run docker's adb reverse forwards to bitkit-docker's new host ports for LND P2P (23735) and the LNURL server (23000). Reviewed 6c21807, light tier.
What I checked, and 2 candidates I ruled out
Read in full: Justfile (run recipe)
Cross-repo contract: bitkit-docker#19 (merged) publishes LND as 23735:9735 with --externalip=127.0.0.1:23735, and lnurl-server as 23000:3000 with DOMAIN=http://localhost:23000, so the node URI and the LNURL callbacks the emulator receives both name the forwarded ports.
CI: green (build, lint, detekt); e2e jobs skipped by change detection.
Not built here: Bitkit Android branches are reasoned from code and CI, not built on this box.
Ruled out
- Other callers still on
9735/3000: no other reference in the repo targets the local docker LND or lnurl-server by those ports. The remaining127.0.0.1:9735strings are preview and mock data (IcJitEntry.kt,TransferPreviewData.kt,PeerDetailsTest.kt). - Emulator reaching other bitkit-docker services: the E2E build dials them at
E2E_LOCAL_HOST(default10.0.2.2), not throughadb reverse, so they need no forward.
Merge confidence: 5/5, CI green and the change is a config value no test would exercise.
jvsena42
left a comment
There was a problem hiding this comment.
No findings at 6c21807.
Checked:
Justfile:117-118: bothadb reverse tcp:<port> tcp:<port>lines are valid and use the same port on each side, so host/device order cannot be wrong.- 23735 and 23000 match what the fixture advertises after synonymdev/bitkit-docker#19 (
--externalip=127.0.0.1:23735,DOMAIN=http://localhost:23000). The app has no hardcoded local LND or lnurl-server address; it dials what the fixture hands out, which is device loopback and is whatadb reversecovers. - Services the E2E build dials by fixed number go through
E2E_LOCAL_HOSTand were not moved by that change: Electrum 60001, Homegate 6288, Trezor Bridge 21325. - No other consumer of the old 9735 / 3000 host ports at head: remaining hits are staging peers, preview data, a placeholder, animation durations and tests.
journeys/README.mddescribesjust run dockerwithout port numbers.
Not run on a device. Device gate: no device check needed (dev tooling only, no user-visible change).
jvsena42
left a comment
There was a problem hiding this comment.
No findings at 6c21807.
Checked:
Justfile:117-118: bothadb reverse tcp:<port> tcp:<port>lines are valid and use the same port on each side, so host/device order cannot be wrong.- 23735 and 23000 match what the fixture advertises after synonymdev/bitkit-docker#19 (
--externalip=127.0.0.1:23735,DOMAIN=http://localhost:23000). The app has no hardcoded local LND or lnurl-server address; it dials what the fixture hands out, which is device loopback and is whatadb reversecovers. - Services the E2E build dials by fixed number go through
E2E_LOCAL_HOSTand were not moved by that change: Electrum 60001, Homegate 6288, Trezor Bridge 21325. - No other consumer of the old 9735 / 3000 host ports at head: remaining hits are staging peers, preview data, a placeholder, animation durations and tests.
journeys/README.mddescribesjust run dockerwithout port numbers.
Not run on a device. Device gate: no device check needed (dev tooling only, no user-visible change).
Refs: synonymdev/bitkit-docker#19
Description
just run dockerforwards23735(LND P2P) and23000(LNURL server) throughadb reverse, the host ports bitkit-docker#19 moves them to. LND advertises127.0.0.1:23735in its node URI, so a channel open from the emulator dials that port.Design
N/A — no UI changes.
Preview
N/A — no user-visible changes.
QA Notes
Journeys
N/A
Manual Tests
just run dockeragainst bitkit-docker main after Popup for new transactions #19 →adb reverse --listshowstcp:23735andtcp:23000.Automated Checks
N/A