Skip to content

feat: automatically terminate worker processes when idle timeout has expired#62

Merged
mato533 merged 17 commits intomainfrom
ta/feat/worker-idle-timeout
Jun 18, 2025
Merged

feat: automatically terminate worker processes when idle timeout has expired#62
mato533 merged 17 commits intomainfrom
ta/feat/worker-idle-timeout

Conversation

@mato533
Copy link
Copy Markdown
Member

@mato533 mato533 commented Jun 16, 2025

Proposed changes

Types of changes

  • Polish (an improvement for an existing feature)
  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (improvements to the project's docs)
  • Internal updates (everything related to internal scripts, governance documentation and CI files)

Checklist

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have added the necessary documentation (if appropriate)
  • I have added proper type definitions for new commands (if appropriate)

Further comments

Reviewers: @webdriverio/project-committers

@github-actions github-actions Bot added the PR: New Feature 🚀 PRs that contain new features label Jun 16, 2025
@mato533 mato533 linked an issue Jun 16, 2025 that may be closed by this pull request
1 task
@mato533 mato533 marked this pull request as ready for review June 16, 2025 10:02
@mato533 mato533 marked this pull request as draft June 16, 2025 10:04
@mato533 mato533 force-pushed the ta/feat/worker-idle-timeout branch from d96f249 to ae67feb Compare June 16, 2025 17:44
@mato533 mato533 force-pushed the ta/feat/worker-idle-timeout branch from fee4d07 to 66f4c5b Compare June 16, 2025 18:51
@mato533 mato533 force-pushed the ta/feat/worker-idle-timeout branch from 2b56269 to 93f162e Compare June 18, 2025 06:22
@mato533 mato533 marked this pull request as ready for review June 18, 2025 06:30
@mato533 mato533 merged commit 05c7134 into main Jun 18, 2025
27 checks passed
@mato533 mato533 deleted the ta/feat/worker-idle-timeout branch June 18, 2025 06:46
@mato533 mato533 changed the title feat: worker idle timeout feat: automatically terminate worker processes when idle timeout has expired Jun 18, 2025
mato533 added a commit that referenced this pull request Jun 23, 2025
## Proposed changes

Change the startup process for feature extensions.

With the initial implementation for worker process startup (controlling
the startup process with a semaphore) and the fix for #62 (starting the
worker if it was stopped when accessed), there is no longer a need to
pre-start all workers.

Simplify the logic for the extension startup process and remove
unnecessary source code.

Additionally, add E2E tests related to changes in the ConfigFilePattern
in Settings.

## Types of changes

[//]: # 'What types of changes does your code introduce to WebdriverIO?'
[//]: # '_Put an `x` in the boxes that apply_'

- [X] Polish (an improvement for an existing feature)
- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation update (improvements to the project's docs)
- [ ] Internal updates (everything related to internal scripts,
governance documentation and CI files)

## Checklist

[//]: # "_Put an `x` in the boxes that apply. You can also fill these
out after creating the PR. If you're unsure about any of them, don't
hesitate to ask. We're here to help! This is simply a reminder of what
we are going to look for before merging your code._"

- [X] I have read the
[CONTRIBUTING](https://github.com/webdriverio/vscode-webdriverio/blob/main/CONTRIBUTING.md)
doc
- [X] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have added the necessary documentation (if appropriate)
- [ ] I have added proper type definitions for new commands (if
appropriate)

## Further comments

[//]: # 'If this is a relatively large or complex change, kick off the
discussion by explaining why you chose the solution you did and what
alternatives you considered, etc...'

### Reviewers: @webdriverio/project-committers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: New Feature 🚀 PRs that contain new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[💡 Feature]: reduce resource footprint and improve performance

1 participant