Local development improvement - pre-push hook #8585
Replies: 2 comments 1 reply
-
|
There are two issues here:
For example, a small change in packages/website took over 3 minutes to push: It could make contributing to EUI a frustrating experience, especially for designers that only want to add a pattern page to Meanwhile, linting only took seconds: Fixing the first issue won’t address the second. However, removing pre-push tests would avoid unnecessary rebuilds and prevent breaking other workspaces. We could shift to pre-commit linting / formatting for cleaner commits instead. Personally, I use the VSCode Jest extension with watch mode, or you can run: It’s a solid dev workflow. Also, being able to push frequently (even WIP) is important. Long push times discourage that and increase risk. |
Beta Was this translation helpful? Give feedback.
-
|
The majority of the team is for:
I created a ticket to implement the change: https://github.com/elastic/eui/issues/8604 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
📝 Description
We've been discussing ways to improve the local development experience, especially regarding the pre-push Git hook that currently runs full test suites before allowing a push.
🙌 Goal
We want to strike a balance between local speed and code quality, and land on a solution the whole team is comfortable with. Whether we simplify the hooks, improve their logic, or restructure the workflow, your input is key.
Please share your thoughts, preferences, concerns, or ideas! 💬
🚧 Current Issues
changedSincedoesn't work consistently. Quick iterations or commits (even for minor changes like EUI+, ESLint plugin, or chores) are hindered.✅ Proposed Options
ℹ️ Some of the options are exclusive, most can be done independently and together could lead to overall better result.
website; deeper and more complex fix.maxWorkervalueBeta Was this translation helpful? Give feedback.
All reactions