Frontmatter
| id | 7704 |
| title | Enhance `worker.App` RMA methods to delegate worker errors |
| state | Closed |
| labels | enhancementaitesting |
| assignees | tobiu |
| createdAt | Nov 4, 2025, 7:56 PM |
| updatedAt | Nov 4, 2025, 8:15 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7704 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Nov 4, 2025, 8:15 PM |
When using RMA methods like
createNeoInstance,destroyNeoInstance, andsetConfigsin Playwright component tests, any errors occurring within the App worker are not propagated back to the main thread test environment. This leads to opaque timeouts and difficult debugging.These methods should be updated to follow the pattern used by
loadModule. They should wrap their logic in atry...catchblock. If an error occurs, they should return a result object containing the error details (e.g.,{success: false, error: {message: e.message}}).Methods to Update:
createNeoInstancedestroyNeoInstancesetConfigsThis change will significantly improve the developer experience for component testing by making worker-side errors immediately visible in the test results.