Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: add IPC acceptance tests #5777

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

CatalinSnyk
Copy link
Contributor

@CatalinSnyk CatalinSnyk commented Mar 6, 2025

Pull Request Submission Checklist

  • Follows CONTRIBUTING guidelines
  • Includes detailed description of changes
  • Contains risk assessment (Low | Medium | High)
  • Highlights breaking API changes (if applicable)
  • Links to automated tests covering new functionality
  • Includes manual testing instructions (if necessary)
  • Updates relevant GitBook documentation (PR link: ___)
  • Includes product update to be announced in the next stable release notes

What does this PR do?

Adds some acceptance tests for the IPC, including assertions around the debug logs for the missing part of CLI-755

Where should the reviewer start?

How should this be manually tested?

What's the product update that needs to be communicated to CLI users?

@CatalinSnyk CatalinSnyk force-pushed the chore/ipc-acceptance-tests branch from 1d55923 to 168a5b8 Compare March 7, 2025 08:13
@CatalinSnyk CatalinSnyk marked this pull request as ready for review March 7, 2025 09:06
@CatalinSnyk CatalinSnyk requested a review from a team as a code owner March 7, 2025 09:06
);

expect(code).toEqual(0);
expect(stderr).not.toContain('Error file contained ');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question: Asserting against stderr/debug logs has been proven in the past as a quite unstable contract. Is this really what needs to be done here?

@CatalinSnyk CatalinSnyk force-pushed the chore/ipc-acceptance-tests branch from 168a5b8 to e6f0252 Compare March 10, 2025 14:49
Copy link
Contributor

github-actions bot commented Mar 10, 2025

Warnings
⚠️ There are multiple commits on your branch, please squash them locally before merging!

Generated by 🚫 dangerJS against de2afa0

@CatalinSnyk CatalinSnyk marked this pull request as draft March 10, 2025 15:15
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.

2 participants