Skip to content

fix: improve cached image startup and cache features #353

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

Merged
merged 5 commits into from
Sep 24, 2024

Conversation

mafredri
Copy link
Member

@mafredri mafredri commented Sep 23, 2024

Feature files are cached in /.envbuilder/features, including their devcontainer JSON configuration. These JSON files can later be used to compute a fully fledged devcontainer file that combines project and features.

We also fix startup from an envbuilder built image so that we don't accidentally re-build the image.

Fixes #334

(I recommend reviewing with ignore whitespace on: https://github.com/coder/envbuilder/pull/353/files?w=1)

@mafredri mafredri self-assigned this Sep 23, 2024
@mafredri mafredri requested review from johnstcn and mtojek September 23, 2024 11:45
Copy link
Member

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

My main interest focused on how you fixed it, so I just skimmed through tests.

Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mafredri mafredri enabled auto-merge (squash) September 24, 2024 11:05
@mafredri mafredri disabled auto-merge September 24, 2024 11:08
@mafredri mafredri enabled auto-merge (squash) September 24, 2024 11:09
@mafredri mafredri changed the title fix: cached image start and caching of features fix: improve cached image startup and cache features Sep 24, 2024
@mafredri mafredri merged commit 08bd99b into main Sep 24, 2024
4 checks passed
@mafredri mafredri deleted the mafredri/fix-feature-caching branch September 24, 2024 11:14
johnstcn pushed a commit that referenced this pull request Sep 26, 2024
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.

Dev Container features are not cached
3 participants