Repository navigation
Refresh the test pane when environments change outside the extension - #358
Open
ThisCakeIsALie wants to merge 7 commits into
Open
ThisCakeIsALie wants to merge 7 commits into
ThisCakeIsALie wants to merge 7 commits into
Conversation
clicast run in a terminal or by an agent left the Test Explorer stale until a manual refresh. VectorCAST rewrites master.db or cover.db for every change to tests, results or coverage, and writes UNITDATA.VCD last in a build, so watch those: a known environment is updated, a new or deleted one triggers a rescan. Reads do not touch these files, so the extension's own data loads cannot loop. The watcher waits while a test run or rescan is replacing test items, and skips changes the pane has already loaded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
When an outside change gives a test a new result, report it as a test run, so the Testing view shows its pass or fail. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…sion VectorCAST writes a project's .vcm file only when its compilers, testsuites, environments or settings change, which the test pane reads only in a full rescan. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #358 +/- ##
===========================================
- Coverage 100.00% 99.74% -0.26%
===========================================
Files 12 12
Lines 2349 2357 +8
Branches 329 329
===========================================
+ Hits 2349 2351 +2
- Misses 0 6 +6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.



When clicast or manage changes an environment outside the extension, for example run by an AI agent or in a terminal, the test tree, coverage and test results now update by themselves instead of waiting for a manual refresh. A file watcher reloads just the environment whose
master.dborcover.dbchanged, rescans when an environment is built, deleted or moved or a Manage project's.vcmchanges, and reports newly run tests as a test run so the Testing view shows their pass or fail. It skips changes the extension made itself and waits while a run or rescan is in progress. On WSL with VC27, each outside clicast or manage command caused one reload or rescan and read-only commands none; Windows, C++/Ada, VectorCAST older than 26 and the extension's own Run button after this change are untested. This PR and #357 both start 1.0.36 inCHANGELOG.mdandpackage.json, so the second to merge needs a small rebase.