Commit 7a8a821
committed
test(smoke): flow-12 runnable on macOS + against override facilitator images
Validates the x402-rs upstream-sync candidate (v1.5.6 overlay) locally:
flow-12 OBOL Permit2 sell->buy->settle PASSES against a locally built
ghcr.io/obolnetwork/x402-facilitator-prometheus-overlay:1.5.6-local
(3 settlements status=0x1, buyer/seller deltas exact).
- testutil: honor X402_FACILITATOR_IMAGE (same env as flows/lib.sh) and
use a locally-present image without pulling.
- testutil: Darwin container networking — Docker Desktop host networking
does not share the Mac loopback; publish the facilitator port and
reach Anvil via host.docker.internal (mirrors lib.sh).
- testutil: ApprovePermit2ViaImpersonation — the one-time
approve(Permit2, max) a real owner does per token. The fork token is
not the registry's canonical OBOL address, so the 402 never
advertises eip2612GasSponsoring (anti-spoof) and buy.py's allowance
preflight correctly refuses; earlier green runs only skipped that
preflight when the allowance read raced eRPC pin propagation.
- test: retry transport-level errors on the first paid call (controller
rolls LiteLLM to publish the paid route; Service can briefly hit a
terminating pod).
- test: PurchaseRequest sweep deletes BEFORE stripping finalizers (the
controller re-adds finalizers on live PRs; deleting purchases with
unspent auths intentionally drain) and waits until gone.
- flow-12: go test -count=1 — prerequisites live outside the build
graph, a cached verdict is a stale verdict.1 parent b76098e commit 7a8a821
4 files changed
Lines changed: 130 additions & 27 deletions
File tree
- flows
- internal
- openclaw
- testutil
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
67 | 70 | | |
68 | 71 | | |
69 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
73 | 80 | | |
74 | 81 | | |
75 | 82 | | |
76 | 83 | | |
77 | 84 | | |
78 | 85 | | |
79 | 86 | | |
80 | | - | |
81 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
82 | 96 | | |
83 | 97 | | |
84 | 98 | | |
| |||
1101 | 1115 | | |
1102 | 1116 | | |
1103 | 1117 | | |
1104 | | - | |
1105 | | - | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
| 1128 | + | |
| 1129 | + | |
| 1130 | + | |
| 1131 | + | |
| 1132 | + | |
1106 | 1133 | | |
1107 | | - | |
1108 | | - | |
| 1134 | + | |
| 1135 | + | |
1109 | 1136 | | |
1110 | | - | |
1111 | | - | |
1112 | | - | |
1113 | | - | |
1114 | | - | |
1115 | | - | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1116 | 1142 | | |
1117 | 1143 | | |
1118 | 1144 | | |
| |||
3886 | 3912 | | |
3887 | 3913 | | |
3888 | 3914 | | |
| 3915 | + | |
| 3916 | + | |
| 3917 | + | |
| 3918 | + | |
| 3919 | + | |
| 3920 | + | |
| 3921 | + | |
3889 | 3922 | | |
3890 | 3923 | | |
3891 | 3924 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
227 | 227 | | |
228 | 228 | | |
229 | 229 | | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
230 | 261 | | |
231 | 262 | | |
232 | 263 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
17 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
18 | 30 | | |
19 | 31 | | |
20 | 32 | | |
| |||
54 | 66 | | |
55 | 67 | | |
56 | 68 | | |
57 | | - | |
58 | | - | |
59 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
60 | 79 | | |
61 | 80 | | |
62 | 81 | | |
63 | 82 | | |
64 | 83 | | |
65 | 84 | | |
66 | 85 | | |
67 | | - | |
68 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
69 | 95 | | |
70 | | - | |
| 96 | + | |
| 97 | + | |
71 | 98 | | |
72 | | - | |
| 99 | + | |
73 | 100 | | |
74 | 101 | | |
| 102 | + | |
75 | 103 | | |
76 | 104 | | |
77 | 105 | | |
| |||
110 | 138 | | |
111 | 139 | | |
112 | 140 | | |
113 | | - | |
| 141 | + | |
114 | 142 | | |
115 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
116 | 146 | | |
117 | 147 | | |
118 | 148 | | |
| 149 | + | |
119 | 150 | | |
120 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
121 | 157 | | |
122 | 158 | | |
123 | | - | |
| 159 | + | |
124 | 160 | | |
125 | | - | |
| 161 | + | |
126 | 162 | | |
127 | | - | |
| 163 | + | |
128 | 164 | | |
129 | 165 | | |
130 | 166 | | |
| |||
0 commit comments