Skip to content

Update Library.Template - #82

Open
ttstanley wants to merge 97 commits into
mainfrom
ttstanley-update-library-template-308
Open

ttstanley wants to merge 97 commits into
mainfrom
ttstanley-update-library-template-308

Conversation

@ttstanley

Copy link
Copy Markdown
Contributor

Summary

  • Merge the latest Library.Template microbuild updates.
  • Resolve the test runner merge conflict while preserving this repository's test project path and adding the template coverage toggle.

Validation

  • dotnet restore .\src\jdt.sln
  • dotnet build .\src\jdt.sln --no-restore -c Release
  • tools/dotnet-test-cloud.ps1 -Configuration Release -NoCoverage

There is sometimes an issue with the clone/create PR step. When that
happens, the stage isn't requeuable because the VSTS upload step fails
when its run again because the payload is already there. This update
allows the step to clone the VS repo and create the PR to be rerun due
to issues independent of the Upload step.
Also remove a task that was duplicated (I think) unnecessarily.
Split the VS PR stage separately from the upload steps
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Use preferred pattern for appending to PATH in GitHub Actions
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… (537)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Andrew Arnott (AArnott) and others added 30 commits August 6, 2026 20:09
Migrate coverage uploads to the supported Codecov CLI, verify its signed download, and propagate uploader failures to CI.

Co-authored-by: Copilot App <[email protected]>
Adds a -NoCoverage switch to dotnet-test-cloud.ps1 for both the MTP and
VSTest code paths. Code coverage instrumentation can destabilize a test
run, and when it does there is currently no way for a repo to keep running
tests on the affected leg without hand-editing this script.

Also collect a crash report alongside the crash dump, and restrict the dump
to the heap. On Linux the native crash report is often the only way to
identify the faulting thread and instruction when a test host dies of an
access violation, and a heap dump is considerably smaller than the default
full dump while still containing everything needed to analyze managed state.

Finally, stop discarding crash dumps that have no TRX attachment copy. The
previous filter kept a .dmp only when it appeared under a TRX 'In'
directory, so on GitHub Actions -- which does not request a TRX report --
every crash dump was dropped from the uploaded artifacts, making test host
crashes impossible to diagnose. The dumps are now de-duplicated by file
name instead, which still avoids uploading the same dump twice on Azure
Pipelines.

Co-authored-by: Copilot <[email protected]>
Add -NoCoverage switch and improve crash diagnostics
* Correct MTP -- forwarding with portable solution discovery.
* Increase effective hang timeout to five minutes.
* Batch all Codecov reports into one CLI invocation.
* Preserve no-op behavior when no coverage exists.
Use ps1 splatting and exit instead of return
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…0 (#553)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This reverts commit 663bdc9.

We can't update to this for another several days.
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
… (557)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This latest update keeps compliant with the latest security push.
Resolve the test runner conflict by retaining this repository's test project path while incorporating template coverage controls.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants