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

Read once git status and set repository SHA once for okteto up #3761

Open
andreafalzetti opened this issue Jun 29, 2023 · 4 comments
Open

Read once git status and set repository SHA once for okteto up #3761

andreafalzetti opened this issue Jun 29, 2023 · 4 comments
Labels

Comments

@andreafalzetti
Copy link
Contributor

Describe the bug
Currently the CLI will repeatedly calculate the git status of the local repo in order to run certain commands. We've observed that this operation could sometime taking longer than expected, especially if the host doesn't have git installed. Therefore a refactor to this part is required to optimize the stability and performance of the CLI.

Expected behavior
The git status should be calculated only once.

Additional context

@AnshulAngaria
Copy link
Contributor

Can take this up if no one else is already working on it.

@andreafalzetti
Copy link
Contributor Author

@AnshulAngaria thanks for offering, this is a bit tricky because it requires an initial investigation to understand what approach to use and potentially do a refactor. It's also part of our critical path so we think it's important own this change at this time, thanks again 🙏

@github-actions
Copy link
Contributor

github-actions bot commented Sep 5, 2023

This issue is stale because it has been open for 60 days with no activity. Comment on this issue or it will be closed in 7 days

@github-actions github-actions bot added the stale label Sep 5, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 13, 2023
@jLopezbarb
Copy link
Contributor

Reopening this one since needs to be planned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants