Skip to content

docs: describe what Blocktank staging still serves - #315

Merged
piotr-iohk merged 1 commit into
mainfrom
docs/blocktank-cleanup
Nov 18, 2026
Merged

piotr-iohk merged 1 commit into
mainfrom
docs/blocktank-cleanup

Conversation

@jvsena42

Copy link
Copy Markdown
Member

Part A of synonymdev/bitkit-android#1814 for bitkit-e2e-tests. Android: synonymdev/bitkit-android#1954.

Description

  • AGENTS.md, README.md: BACKEND=regtest uses Blocktank staging's regtest tools (deposit, mine, pay), not its channel API.
  • blocktank-sunset.e2e.ts and docs/mainnet-nightly.md: BLOCKTANK_SUNSET_UI defaults to manual. The sunset UI (Android #1696) shipped in 3.1.0 on 2026-11-09; legacy stays 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.
  • seedkit README and architecture: staging funding goes through Blocktank staging's faucet routes.

Test

  • Staging on 2026-11-17: /regtest/chain/deposit and /regtest/chain/mine return 200; POST /channels and POST /cjit return 404.
  • Not typechecked locally (no node_modules in the worktree); the code change is one string literal.

🤖 Generated with Claude Code

Refs synonymdev/bitkit-android#1814

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@jvsena42 jvsena42 self-assigned this Nov 17, 2026
@jvsena42
jvsena42 requested review from a team, ben-kaufman and ovitrif and removed request for a team November 17, 2026 12:22

@talosmachina talosmachina left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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 .github in this repo references BLOCKTANK_SUNSET_UI or @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: manual is 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 piotr-iohk left a comment

Copy link
Copy Markdown
Collaborator

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 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

@ovi-reviewer ovi-reviewer Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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:

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

@ovitrif ovitrif left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

utAck

@ben-kaufman ben-kaufman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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.

@piotr-iohk
piotr-iohk merged commit b49d1ab into main Nov 18, 2026
1 check passed
@piotr-iohk
piotr-iohk deleted the docs/blocktank-cleanup branch November 18, 2026 09:47
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.

5 participants