chore(CI): push mocha test results as semaphore artifacts for easier triage#3355
Merged
Dave Shoup (shouples) merged 3 commits intomainfrom Apr 1, 2026
Merged
chore(CI): push mocha test results as semaphore artifacts for easier triage#3355Dave Shoup (shouples) merged 3 commits intomainfrom
Dave Shoup (shouples) merged 3 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR improves CI triage in Semaphore by capturing Mocha JUnit XML output together with extension + sidecar logs as build artifacts, similar to existing E2E artifact behavior.
Changes:
- Copy extension and sidecar log files to the workspace root during Mocha test runs (
TEST-extension.log,TEST-sidecar.log). - Bundle Mocha results + logs into a single zip artifact and upload it from Semaphore (Linux + Windows).
- Ignore the generated logs/zips via
.gitignore.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
src/testing.ts |
Copies extension/sidecar logs next to TEST-result.xml to support CI artifact bundling. |
.semaphore/semaphore.yml |
Creates/uploads a “mocha triage” zip artifact and standardizes artifact destination naming. |
.gitignore |
Prevents generated test logs and triage zips from being committed. |
|
James Robinson (jlrobins)
approved these changes
Apr 1, 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.





Up until now, we've had to copy output from Semaphore jobs and hope we have enough information; this PR pushes the XML as well as extension+sidecar logs as artifacts, similar to the E2E test behavior. (However, unlike E2E tests, we only run a single VS Code window/workspace for the entire collection of tests.)
Sample run artifacts:

