Repository navigation
Conversation
|
Workflow [PR], commit [8679b1a] Summary: ✅ AI ReviewSummaryThis PR inverts the elapsed-time guard in Missing context / blind spots
Findings
|
Build profile diff (arm_release)Comparing ✅ No significant changes. Binary sizes
Only the stripped binary is compared: the official master build keeps debug symbols while PR builds strip them, so the other binaries differ by construction. Compile time of recompiled translation units6 translation units recompiled, 5 s compile time in total, 6 of them have a recent master baseline. |
03f90c7 to
8679b1a
Compare
| ${CLICKHOUSE_CLIENT} --query="insert into buffer_02572 values (1);" | ||
|
|
||
| if [ $(( $(date +%s) - start )) -gt 6 ]; then # clickhouse test cluster is overloaded, will skip | ||
| if [ $(( $(date +%s) - start )) -le 6 ]; then # if the insert was slow (overloaded runner), the background flush may already be done, so skip the check |
There was a problem hiding this comment.
This still leaves the flake window open because the guard uses date +%s, which truncates to whole seconds, while this Buffer is configured to background-flush after 8 seconds. If the insert returns at something like 6.8s, the expression still evaluates to 6, so we run the probe even though there is only about a second of slack left. On the same overloaded runners we are trying to avoid, the extra clickhouse-client round trip can easily push that SELECT past the normal 8s flush point and print 1 from a regular background flush, so the test still fails spuriously.
Please switch this check to sub-second timing (for example date +%s%N, which other stateless shell tests already use) or otherwise add a wider safety margin before running the "not direct" probe.
|
I see the test haven't failed for 3 weeks. And since there is no report anymore about the failed test, I am closing this pull request, as I cannot verify the root cause. Will get back to it if failures arise again. |
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Failure in Stateless tests (amd_msan, WasmEdge, parallel, 2/3).