test(gasoline): reproduce slow workflow pulls on postgres - #5705
Conversation
|
Stack for rivet-dev/actors
Get stack: change qnlwwlpm |
Review: test(gasoline): reproduce slow workflow pulls on postgresSingle new file, I manually cross-checked the harness against the current source (no ability to run
Test coverage / correctness concern (the one thing worth fixing)The final assertion only checks wall-clock time: ensure!(
pull_elapsed < PULL_WORKFLOWS_TIMEOUT,
"pull took {pull_elapsed:?}, past the worker's {PULL_WORKFLOWS_TIMEOUT:?} pull timeout"
);
Given this is a diagnostic tool, consider adding an explicit Minor / non-blocking
Other categories
Overall a well-scoped, opt-in diagnostic harness that correctly wires into existing DB/tracing internals. The one substantive suggestion is to assert on pull completeness, not just latency, since that's the failure mode most likely to go unnoticed. |
No description provided.