Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support TypeScript workers with isolated declarations and custom TypeScript #706

Merged
merged 5 commits into from
Oct 6, 2024

Conversation

MichaelMitchell-at
Copy link
Contributor

@MichaelMitchell-at MichaelMitchell-at commented Sep 30, 2024

I've successfully tested this on Airtable's code base. Memory usage can be a problem when typechecking a lot of targets. Something like what @alexeagle requested in bazelbuild/bazel#12165 (comment) might be useful. I'm still playing around with --experimental_total_worker_memory_limit_mb and --experimental_shrink_worker_pool to see if they can prevent OOMs.

Also, I don't know why, but I have not encountered #361 and I don't believe any changes in this PR would have done anything to fix that issue.

@CLAassistant
Copy link

CLAassistant commented Sep 30, 2024

CLA assistant check
All committers have signed the CLA.

Copy link

aspect-workflows bot commented Sep 30, 2024

Test

All tests were cache hits

136 tests (100.0%) were fully cached saving 10s.


Buildifier      Format

ts/private/ts_project.bzl Outdated Show resolved Hide resolved
ts/private/ts_project.bzl Outdated Show resolved Hide resolved
ts/private/ts_project.bzl Outdated Show resolved Hide resolved
@MichaelMitchell-at
Copy link
Contributor Author

@jbedard updated!

ts/private/ts_project.bzl Outdated Show resolved Hide resolved
ts/private/ts_project_worker.js Show resolved Hide resolved
@jbedard jbedard merged commit 8b99db3 into aspect-build:main Oct 6, 2024
24 checks passed
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