Skip to content

test(WOR-TSK-201): add comprehensive integration tests for execute command - #112

Merged
miguelramos merged 5 commits into
mainfrom
feat/WOR-TSK-201-EXECUTE-TESTS
Dec 16, 2025
Merged

test(WOR-TSK-201): add comprehensive integration tests for execute command#112
miguelramos merged 5 commits into
mainfrom
feat/WOR-TSK-201-EXECUTE-TESTS

Conversation

@miguelramos

Copy link
Copy Markdown
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
@miguelramos miguelramos self-assigned this Dec 16, 2025
@miguelramos miguelramos added ♨️ ACTION: pull request 🧪 TYPE: Test Test coverage or test infrastructure labels Dec 16, 2025
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

Labels

🧪 TYPE: Test Test coverage or test infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant