Skip to content

Conversation

sjf
Copy link
Contributor

@sjf sjf commented Aug 4, 2025

Change the test.yml to show the output of the tests while they are being run, instead of waiting for both the integration and webview tests to finish.

With this change, you don't have to scroll back thousands of lines to see the failed integration tests.

When checking if the tests have failed, say which set of tests has failed instead of just 'tests failed'.

See https://github.com/cline/cline/actions/runs/16711660733/job/47297620551 for example of what it looks like when the tests fail.

Use tee to still save the output to the coverage file.

Remove unsupported tag retention-period: workflow


Important

Improve GitHub Actions test workflow for real-time output and specify failed tests, with added CI failure handling tests.

  • GitHub Actions Workflow:
    • Update .github/workflows/test.yml to use tee for real-time test output while saving to coverage files.
    • Remove unsupported retention-period: workflow tag.
    • Modify failure check step to specify which tests failed.
  • Test Files:
    • Add failing assertions in getOpenTabs.test.ts and ErrorRow.test.tsx to test CI failure handling.

This description was created by Ellipsis for 861909a. You can customize this summary. It will automatically update as commits are pushed.

Copy link

changeset-bot bot commented Aug 4, 2025

⚠️ No Changeset found

Latest commit: 75d8e32

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@sjf sjf force-pushed the sjf-a4-kkkkkkk branch 3 times, most recently from f6869e9 to 46b5daf Compare August 4, 2025 00:51
Output the results of the integration tests and the webview tests while they are being run (using tee to also save the output to the coverage file).

In the step that checks if the tests have failed, say which set of tests has failed.
@sjf sjf force-pushed the sjf-a4-kkkkkkk branch from 46b5daf to e104e0c Compare August 4, 2025 00:51
Copy link
Contributor

github-actions bot commented Aug 4, 2025

Coverage Report

Extension Coverage

Base branch: 47%

PR branch: 48%

✅ Coverage increased or remained the same

Webview Coverage

Base branch: 17%

PR branch: 17%

✅ Coverage increased or remained the same

Overall Assessment

Test coverage has been maintained or improved

Last updated: 2025-08-04T01:37:18.581081

@sjf sjf force-pushed the sjf-a4-kkkkkkk branch from ad161d3 to 861909a Compare August 4, 2025 01:11
@sjf sjf force-pushed the sjf-a4-kkkkkkk branch from c86ad53 to 75d8e32 Compare August 4, 2025 01:29
@sjf sjf merged commit 1a570e9 into main Aug 4, 2025
13 checks passed
@sjf sjf deleted the sjf-a4-kkkkkkk branch August 14, 2025 12:53
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