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

gcloud-cli-persistence slowed my Codespaces to a crawl #47

Open
dkordik opened this issue Feb 12, 2024 · 1 comment
Open

gcloud-cli-persistence slowed my Codespaces to a crawl #47

dkordik opened this issue Feb 12, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@dkordik
Copy link

dkordik commented Feb 12, 2024

I'm not sure why, but when I introduced this feature into my devcontainer.json features, I ended up running into issues getting my docker compose setup to fully start up. It'd hang at create, and wouldn't let me tear down either.

image

By removing the feeature and doing a rebuild, or spinning up new Codespaces, I was not seeing this issue. And upon re-adding this feature, I saw the issue again.

Sorry to not be able to provide much detail around why this might be happening, but figured it was worth capturing.

@joshuanianji
Copy link
Owner

Hey @dkordik, thanks for letting me know about the issue! Are you using the latest version of the feature (1.0.2)?

In that version we chmod -R the google cloud CLI folder inside a post create script which might be causing the slowdown. Maybe you can check how many files/how big the /dc/github-cli and ~/.config/gcloud folders are for a start.

You also mentioned that you're using a Docker compose setup - I've only used my features with a regular Docker container so I'll have to play around with this as well.

@joshuanianji joshuanianji added the bug Something isn't working label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants