Skip to content

test: verify periodic status-line refresh - #16039

Draft
Alizter wants to merge 1 commit into
ocaml:mainfrom
Alizter:status-line-refresh-regression
Draft

test: verify periodic status-line refresh#16039
Alizter wants to merge 1 commit into
ocaml:mainfrom
Alizter:status-line-refresh-regression

Conversation

@Alizter

@Alizter Alizter commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

This is the regression-test commit for #16015, split out so the pre-fix behavior is visible independently while the test suite remains green.

The test starts a normal batch build whose action is blocked and silent. After the action starts, it records the current output offset, waits one second, and inspects only status output appended during that idle period. It requires two distinct duration values, excluding setup redraws and a single unrelated scheduler wakeup.

On main, the expected output records build duration did not refresh repeatedly; the cram test therefore passes while demonstrating the existing behavior. The implementation commit in #16015 changes that expected output to build duration refreshed repeatedly.

Verification:

  • Test-only commit: ./_boot/dune.exe runtest test/blackbox-tests/test-cases/status-line-refresh.t --force passes with the pre-fix output.
  • With Refresh build status line periodically #16015 applied: the same command passes with the fixed output.

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter
Alizter force-pushed the status-line-refresh-regression branch from f2feb2a to ab03794 Compare August 18, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant