Repository navigation
docs: describe what Blocktank staging still serves - #315
Conversation
Refs synonymdev/bitkit-android#1814 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
talosmachina
left a comment
There was a problem hiding this comment.
No findings. Rewords the BACKEND=regtest docs to Blocktank staging's regtest tools, flips the BLOCKTANK_SUNSET_UI default to manual in blocktank-sunset.e2e.ts and its doc, marks Repro Case #1 historical, and updates the seedkit staging notes. Reviewed bda91fe, light tier. Not run: a static review.
What I checked, and 2 candidates I ruled out
Read in full: test/specs/mainnet/blocktank-sunset.e2e.ts at the head, and the six changed docs
CI: no checks are reported on this branch
Ruled out
- The default flip silently changes a scheduled run: nothing under
.githubin this repo referencesBLOCKTANK_SUNSET_UIor@blocktank_sunset_mainnet, and the spec still validates the value, so an unknown value throws instead of passing. - The new default is not a valid mode:
manualis one of the two values the spec's check accepts (expected legacy or manual).
Merge confidence: 5/5, one default string the spec already validates, the rest docs.
Reviewer model: claude-opus-5-5
Reasoning effort: Not exposed (the run metadata available to the reviewer does not carry it)
piotr-iohk
left a comment
There was a problem hiding this comment.
QA review
Scope: full PR diff against its merge base, at bda91fe.
No new actionable code findings.
The only behavior change is the unset BLOCKTANK_SUNSET_UI fallback in test/specs/mainnet/blocktank-sunset.e2e.ts, now manual. That value is already one of the two modes the spec accepts. Manual runs that leave the variable unset now expect the 3.1.0 sunset UI; BLOCKTANK_SUNSET_UI=legacy remains the 3.0.1 path, as the updated docs/mainnet-nightly.md says.
Compatibility with bitkit-nightly at a8dbb1e, for PR 315: only the sunset-selection and grep contracts were checked, not a full review of that repository. The nightly sunset shard does run this suite. mainnet-nightly.yml writes BLOCKTANK_SUNSET_UI from scripts/resolve_sunset_ui.py before the tests, and the emulator runner passes that environment into ci_run_android.sh. Scheduled run 44007877500 checked out bitkit-e2e-tests main, resolved the 3.1.1 release APK to manual, and passed @blocktank_sunset_1 through @blocktank_sunset_3. That run shows the orchestrator supplies the mode the suite reads, so this fallback leaves the nightly sunset shard on the same path. mainnet-probe.yml greps @probe_mainnet. The documentation and seedkit wording changes are not inputs to either workflow.
Validation: Source review of the sunset spec, its env fallback, and the nightly workflow and resolver at the revisions above. No Appium run. The existing sunset cases already assert manual when BLOCKTANK_SUNSET_UI is set, which is how the nightly shard runs. No further automated case is needed for that path.
Reviewer model: grok-4.7
Reasoning effort: xhigh
There was a problem hiding this comment.
Verdict: ✅ Approve
Findings: None.
QA for bda91fe:
Check: sunset mode selection ✅ Executing the source declaration and validation hook confirms the new default and explicit overrides.
Checked in isolated Node contexts: unset selects manual, explicit manual and legacy remain accepted, and invalid or empty values throw. This checks configuration logic, not app UI.
Check: staging documentation contracts ✅ The updated wording agrees with the reached TypeScript and Go backends.
Static inspection covers deposit, mining and invoice-payment routing, seedkit funding, and the existing sunset assertions. git diff --check passed.
Reject new CJIT requests on staging ✅ An empty JSON POST to the staging CJIT endpoint returned HTTP 404.
Checked through an HTTP request to /blocktank/api/v2/cjit; the response was Not found.
Reused evidence:
- Existing QA review checks nightly mode selection at this head and cites a passing sunset shard.
- Staging service results cover successful deposit and mining requests and rejection of new channel orders.
Full review of bdeff13..bda91fe, covering all seven changed files. No app build or device run: the executable change only selects an existing test expectation mode. The UI assertions were inspected, not driven. Full TypeScript typechecking and a successful invoice payment were not run.
Reviewed by gpt-6.1-sol-high
ben-kaufman
left a comment
There was a problem hiding this comment.
Approved for the staging documentation and Manual Setup default, with explicit legacy selection retained. This is a static source review and does not certify staging availability or invoice payments.
Part A of synonymdev/bitkit-android#1814 for bitkit-e2e-tests. Android: synonymdev/bitkit-android#1954.
Description
AGENTS.md,README.md:BACKEND=regtestuses Blocktank staging's regtest tools (deposit, mine, pay), not its channel API.blocktank-sunset.e2e.tsanddocs/mainnet-nightly.md:BLOCKTANK_SUNSET_UIdefaults tomanual. The sunset UI (Android #1696) shipped in 3.1.0 on 2026-11-09;legacystays for 3.0.1. No workflow runs this suite, so only manual runs change.docs/repro-channel-monitor-desync.md: mark Repro Case Onboarding updates #1 historical, since transfer to spending can no longer open a Blocktank channel; Case Widgets testing #2 still reproduces.Test
/regtest/chain/depositand/regtest/chain/minereturn 200;POST /channelsandPOST /cjitreturn 404.node_modulesin the worktree); the code change is one string literal.🤖 Generated with Claude Code