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

Consider using an npm task orchestrator to improve build time #376

Closed
rajsite opened this issue Feb 23, 2022 · 5 comments
Closed

Consider using an npm task orchestrator to improve build time #376

rajsite opened this issue Feb 23, 2022 · 5 comments

Comments

@rajsite
Copy link
Member

rajsite commented Feb 23, 2022

🧹 Tech Debt

Currently we rely on an ordered list of packages and the monolithic build run sequentially first running all build sequentially, then test sequentially, then lint sequentially, etc. Microsoft Lage can help track dependencies to make, ie build and test run in parallel.

It can also support caching actions which could enable fast monolithic rebuilds (where currently we rely on manual individual package rebuilds during dev).

Created the tech debt as I had alluded to it in https://github.com/ni/stratus/pull/2#discussion_r812501381

@rajsite
Copy link
Member Author

rajsite commented Feb 24, 2022

Pre-emptively closing this for now. I don't think our build is slow enough to warrant the complexity yet. But can keep it in our back pocket.

@rajsite rajsite closed this as completed Feb 24, 2022
@rajsite rajsite changed the title Consider using lage to improve build time Consider using Microsoft Lage to improve build time Feb 24, 2022
@rajsite
Copy link
Member Author

rajsite commented Apr 27, 2022

Google wireit is a similar tool https://github.com/google/wireit

@jattasNI
Copy link
Contributor

I came across the Moon build system for monorepos too: https://moonrepo.dev/

@rajsite
Copy link
Member Author

rajsite commented Feb 2, 2023

Google wireit is a similar tool https://github.com/google/wireit

Write-it had improved a lot and I think warrants some investigation. Particularly for concerns of build times mentioned in #827

@rajsite rajsite mentioned this issue Feb 2, 2023
1 task
@rajsite rajsite changed the title Consider using Microsoft Lage to improve build time Consider using an npm task orchestrator to improve build time Feb 2, 2023
@jattasNI
Copy link
Contributor

jattasNI commented Feb 2, 2023

Moved from "Closed as complete" to "Closed as not planned" purely to capture its current state more accurately. I have no objection to reviving this if build time becomes something we want to focus on.

@jattasNI jattasNI closed this as not planned Won't fix, can't repro, duplicate, stale Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants