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

Improve Skip Builds Handling on Build CLI & Disable TLS Initial on Jemalloc #2154

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

AmmarAbouZor
Copy link
Member

This PR closes #2152

Build CLI Tool:

This PR improves tracking the state of the last build to determine which builds can be skipped by:

  • Additional features will be included in the persists build records for the last running job alongside with Checksum of the files for the given target.
  • Use serde to write and parse the file instead of the manually implementation previously, enabling adding more information to the build state without having to change the parse code.
  • Use one file for development and production by saving this information in the code itself instead of having to files for each build since we will keep one of them at a time anyway.
  • Updating the integration tests for the CLI tool to accommodate the new changes.

Jemalloc Memory Allocator:

This PR disable initial allocating TLS memory because it leads to Chipmunk exceeding the allowed TLS memory for a process on Linux machine when it run combined with NodeJS and Electron

* Use serde for loading & saving the file instead of the manual parsing
* Additional features on the last run are involved in the persisted
  states
* Use one file for states instead of two for development and production
  by including the production state in the file itself
* Rename the module and structs for the build records
* Move additional features to thier own module
* Add new build state file name to gitignore
Adjust the integration tests with the new changes on the reset command
Jemalloc combined with Node.js exceeds the default TLS memory limit on Linux.
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.

Build CLI: Include Additional Features in Skip Checks
1 participant