feat: add arkade-regtest submodule for shared regtest env#56
feat: add arkade-regtest submodule for shared regtest env#56
Conversation
🔍 Review: arkade-regtest submodule integrationClean and minimal — adds the shared regtest submodule with a dotnet-sdk-specific Notes:
Cross-repo: Part of the unified regtest effort with arkade-os/ts-sdk#386, arkade-os/boltz-swap#106, and ArkLabsHQ/arkade-regtest#1. LGTM — straightforward submodule addition with no test surface change. |
Add arkade-os/arkade-regtest as a git submodule at regtest/ for local development and future CI integration. Includes .env.regtest with dotnet-sdk specific overrides (fulmine image pin).
- Remove NArk.Tests.End2End/Infrastructure/ (old bespoke infra) - Update CI to use regtest/ submodule for E2E tests - Update SharedArkInfrastructure error message to point to regtest/
fb22ab9 to
110ba7c
Compare
Iterative Review — New Commits (regtest submodule migration)New commits since last review:
SummaryReplaces the bespoke What looks good
Notes
LGTM on the new commits — clean migration. |
🔍 Arkana Review — dotnet-sdk#56Lightest touch of the three SDK migrations — correctly preserves the Aspire-based E2E test runner while removing the duplicated shell-based infrastructure. Highlights
Observations1. Same submodule branch concern 2. -var startEnv = Path.Combine(infrastructureDir, "start-env.sh");
+var startEnv = Path.Combine(solutionRoot, "regtest", "start-env.sh");Clean — the Aspire test host calls 3. Log collection on failure Cross-Repo |
|
Followup review (commit Updated error message in LGTM ✅ |
🔍 Arkana Review — Updated CommitsScope: Replace What Changed (vs. previous review)Submodule pointer updated to pick up arkade-regtest's Key Points
Cross-RepoDepends on NoteThe |
|
Followup review (commit |
|
Iterative review (commit Bumps arkade-regtest submodule to always recreate arkd containers when Cross-repo: all three SDK PRs (ts-sdk#386, boltz-swap#106, dotnet-sdk#56) and arkade-regtest#1 are now synchronized on this commit. LGTM ✅ |
🔍 Arkana PR Review — dotnet-sdk#56 (iterative)feat: add arkade-regtest submodule for shared regtest env Changes Since Last ReviewNew commit CI Workflow (
|
|
Iterative review — Submodule pointer update to |
🔍 Arkana PR ReviewOverall: Clean integration of the shared arkade-regtest submodule. Minimal and focused. Submodule setup ✅
CI changes ✅
NoteThe submodule branch is set to Removed files ✅Old Infrastructure/ directory (docker-compose, nginx config, shell scripts) cleanly removed. No orphaned references. No security concerns. No blocking issues. |
🔍 Arkana PR ReviewPR: feat: add arkade-regtest submodule for shared regtest env OverviewReplaces the Positive Findings
Items to Verify
Security
Cross-Repo Impact
|
🔍 Arkana Review —
|
|
🔍 Arkana PR Review (iterative — new commits Regtest migration to shared CI workflow (
Observations:
LGTM ✅ — Clean infrastructure migration. Consistent with ts-sdk and boltz-swap regtest PRs. Remember to update submodule branch reference from |
26 new commits including: - export missing env vars for docker-compose interpolation - pass ARK fee env vars to arkd container - increase server wallet funding to 21 BTC - fund Boltz Bitcoin Core wallet for on-chain swap operations
🔍 Arkana PR Review —
|
No nbxplorer container in dotnet-sdk stack, so the low-fee restart path failed with "No such container: nbxplorer". Disable low-fee mode and bump regtest to include the conditional nbxplorer restart.
|
🔍 Iterative review (commit Clean fix. The dotnet-sdk stack uses nigiri's built-in arkd without BTCPay/nbxplorer, so Changes:
Cross-repo: Pairs with ArkLabsHQ/arkade-regtest#1 (the upstream fix that makes nbxplorer restart conditional). Both sides of the fix are clean. No concerns. ✅ |
|
Iterative review (commits Three commits since last review:
No concerns. The CI pipeline should now have the complete set of fixes for the dotnet-sdk stack. |
The nbxplorer guard in start-env.sh now handles missing containers gracefully, so we can safely enable low-fee Bitcoin Core config. Chain swaps need low fees to avoid transaction.failed states.
🔍 Arkana PR Review —
|
|
Follow-up review (new commits since last review) Latest: batch bump of arkade-regtest submodule (26 commits worth of env var fixes, fee passthrough, server funding), Config (
Scope — Lightest of the four sibling PRs. Removes Cross-repo — Same submodule commit as ts-sdk#386, boltz-swap#106, wallet#492. No security concerns. Ready pending E2E CI green. |
Summary
arkade-os/arkade-regtestas a git submodule atregtest/for shared regtest environment.env.regtestwith dotnet-sdk specific overrides (fulmine image pin)./regtest/start-env.shfor local regtest environmentContext
Part of the effort to unify regtest infrastructure across all Arkade SDKs (ts-sdk, boltz-swap, dotnet-sdk). See also:
Test plan
dotnet teststill passes (Aspire-based tests unaffected)git clone --recurse-submodulespulls the regtest submodule./regtest/start-env.shworks for local development