@@ -103,9 +103,10 @@ Future<void> main({bool isInitialized = false}) async {
103103 receiverMnemonic != null &&
104104 receiverMnemonic.isNotEmpty &&
105105 senderMnemonic != null &&
106- senderMnemonic.isNotEmpty;
106+ senderMnemonic.isNotEmpty &&
107+ Platform .environment['RUN_FUNDED_PAYJOIN_TEST' ] == 'true' ;
107108 const fixtureSkip =
108- 'requires TEST_ALICE_MNEMONIC and TEST_BOB_MNEMONIC ( funded testnet wallets) ' ;
109+ 'requires a PR to main or a manually dispatched CI run with funded testnet wallets' ;
109110
110111 // Belongs to this file's own Bull.init above, not to the fixtures, so it
111112 // stays at the root scope and runs even when the funded group is skipped.
@@ -150,13 +151,11 @@ Future<void> main({bool isInitialized = false}) async {
150151 // are individually skipped still runs its setUpAll and tearDownAll, whereas
151152 // a skipped group runs neither. Verified against package:test 1.31.
152153 //
153- // That distinction is what made every fork PR red. GitHub withholds secrets
154- // from pull_request runs on forks, so TEST_ALICE_MNEMONIC/TEST_BOB_MNEMONIC
155- // expand to the empty string — set but empty. The tests below skipped
156- // correctly, yet this setUpAll still ran, and createFromMnemonic rejected a
157- // 1-word mnemonic. Because gen_all_test.dart calls each file's main()
158- // without wrapping it in a group, the failure landed on the root scope of
159- // the aggregated suite and took down the whole integration job.
154+ // This also keeps shared funded wallets out of concurrent pull-request jobs.
155+ // Every such job otherwise derives the same BIP84 account and broadcasts
156+ // consolidation transactions from the same UTXOs, causing RBF conflicts.
157+ // The workflow enables this group for delivery PRs to main or manual runs,
158+ // not for every branch in a concurrent develop stack.
160159 //
161160 // Scoping the hooks to the group also stops them leaking into the other
162161 // seven aggregated files, which previously inherited this setUp and paid a
0 commit comments