Skip to content

Conversation

mydea
Copy link
Member

@mydea mydea commented Sep 19, 2025

The problem was that when anything inside of the E2E test apps was changed, we only looked at this, not at the affected projects anymore. With this fix, we collect a set from both sources, ensuring anything changed/affected is run.

@mydea mydea requested review from timfish and Lms24 September 19, 2025 10:29
@mydea mydea self-assigned this Sep 19, 2025
// eslint-disable-next-line no-console
console.error('Failed to get changed files, running all tests:', error);
return testApplications;
console.error('Failed to get changed files:', error);
Copy link

Choose a reason for hiding this comment

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

Bug: Error Handling Loses Fallback for Test Coverage

The error handling for getChangedTestApps no longer includes a safe fallback. If getting changed files fails, the original code would run all tests. Now, it only logs the error and continues, which could lead to insufficient test coverage or no tests running when e2e tests are affected.

Fix in Cursor Fix in Web

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Thanks for fixing!

@mydea mydea merged commit 65fd3b6 into develop Sep 19, 2025
163 checks passed
@mydea mydea deleted the fn/fix-e2e-test-detection branch September 19, 2025 10:44
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