Skip to content

Conversation

@miguelramos
Copy link
Member

No description provided.

Sublime Git Bot added 3 commits December 16, 2025 04:32
…mmand

- Add 43 integration tests covering all execute command scenarios
- Test basic execution with echo and npm scripts
- Test parallel and sequential execution modes
- Test filterPackage parameter with single/multiple/non-existent packages
- Test affected package detection with branch comparison and since/until
- Test mutual exclusion validation between filterPackage and affected
- Test timeout parameters (global and per-package)
- Test error handling for invalid paths, empty command, validation errors
- Test type verification for ExecuteApiResponse, ExecuteData, ErrorInfo
- Test edge cases: paths with spaces/unicode, relative paths, special chars
- Test CI workflow scenarios: parallel tests, filtered builds, affected lint

Story 6.4: Execute Integration Tests
- Bump @websublime/workspace-tools to 2.0.18
- Update all platform-specific package versions
- Rebuild native bindings with napi build --release
Sublime Git Bot added 2 commits December 16, 2025 04:39
- Add copyReadme function to copy README.md to dist/
- Ensures documentation is included in published npm package
- Called after generating dist/package.json in buildEnd hook
- Add retry logic to removeTempDir for EPERM/EBUSY errors on Windows
- Skip timeout test on Windows CI due to ping process holding file locks
- Add delay before cleanup on Windows to allow file handle release
- Log warning instead of throwing on final cleanup failure

Fixes Windows CI failure in 'execute - very short timeout may trigger ETIMEOUT'
@miguelramos miguelramos merged commit 7c770a4 into main Dec 16, 2025
31 checks passed
@miguelramos miguelramos deleted the feat/WOR-TSK-201-EXECUTE-TESTS branch December 16, 2025 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants