Repository navigation
fix: keep test progress visible in agent runs - #131448
Merged
Merged
Conversation
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
August 28, 2026 02:45
Contributor
Author
|
Merged via squash.
|
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Aug 28, 2026
This was referenced Aug 28, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Resolves a problem where developers running tests inside an agent session could have a healthy, long-running suite terminated by the no-output watchdog because successful test cases produced no progress output.
Why This Change Was Made
Vitest's automatic agent reporter suppresses successful cases. The shared test configuration now explicitly selects the existing verbose reporter and retains GitHub Actions annotations. Both standalone UI configurations reuse that policy, and generic E2E removes its redundant reporter override. PTY keeps its existing injected-environment policy.
Explicit CLI and custom-config reporters still take precedence, including JSON reporter options. This changes neither test deadlines nor watchdog behavior, strips no environment markers, and introduces no custom reporter or new configuration option.
User Impact
Developers and CI agents see real completed-test progress by default, so successful work remains visible to the existing silence watchdog. There is no product-runtime or visual UI change.
Evidence
All local proof used Node 24.20.0, pnpm 11.22.0, the default heap, and an independent frozen dependency install.
pnpm test test/vitest-light-paths.test.ts, without a reporter argument. Before the repair, all five underlying tests passed but the enclosing assertion failed because completed-case names were absent. Afterward, the same assertion passed with all five names visible.test/vitest-ui-package-config.test.ts,test/vitest-projects-config.test.ts,test/vitest-ui-e2e-config.test.ts, andtest/vitest-scoped-config.test.ts, including the full-suite ownership audit.f9985c39a8a22dd2c138afc5a8b13d0e6d86d884: guards, formatting, dead-code scans, core-test/UI/test-root typechecks, core lint, and script lint; no skip flags.Separately, the original frozen-source full UI diagnostic completed naturally with only
--reporter=verboseadded: 300/302 files and 1,169/1,171 tests passed in 1,997.67 seconds under the unchanged 300-second silence watchdog. The two remaining failures are the transcript-focused-row gap assertion and the team-secrets allowed-hosts locator. This is progress-output evidence, not a claim that full UI is green or that this repaired commit has completed a full UI run.Source-history context: the shared test block was carried forward from
2b900b576c4fbb7ef2e4f8b90af07c2f14d8e9ca(2026-04-03; author and committer Peter Steinberger). The installed Vitest 4.1.11 dependency arrived in #129941 (1605dbd3efef1c10da95c4a9bbb51a19a9d07865; code author Peter Steinberger, Git committer GitHub). Neither fact establishes the first affected release or introducing PR; merger and automation-trigger attribution are not established. Existing scoped verbose/GitHub Actions policy in #117405 and verbose E2E policy in #124401 informed the shared repair.Production runtime LOC: 0. Test-tooling/config LOC: +9/-2; regression test: +98/-0. The growth is the shared reporter policy plus its two standalone UI consumers; the duplicate generic E2E policy is removed.