Commit d88d611
committed
fix: log execution result fields before assertions for CI diagnostics
BacktestWorkflow now logs instrument/strategyId/pnl/trades at INFO level
after each execution poll completes. BacktestIntegrationTest logs the full
ResultMap and individual fields unconditionally before any assertion, so
transient backend anomalies leave a trace in CI output.
The CI failure (strategyId=null) was a transient backend issue — confirmed
by local re-run returning the field correctly.1 parent b3af209 commit d88d611
2 files changed
Lines changed: 17 additions & 5 deletions
File tree
- src
- main/java/net/qtsurfer/api/sdk/workflows
- test/java/net/qtsurfer/api/sdk/integration
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
196 | 204 | | |
197 | 205 | | |
198 | 206 | | |
| |||
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
83 | 91 | | |
84 | 92 | | |
85 | 93 | | |
86 | 94 | | |
87 | 95 | | |
88 | 96 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | 97 | | |
94 | 98 | | |
95 | 99 | | |
| |||
0 commit comments