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

Fix FeatureContexts keys #243

Merged
merged 2 commits into from
Jun 19, 2024
Merged

Conversation

aaronlehmann
Copy link
Collaborator

This needs to be updated to correspond to the changes in #205.

This needs to be updated to correspond to the changes in coder#205.
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.

Thanks for the contribution!

})

t.Run("WithBuildContexts", func(t *testing.T) {
params, err := dc.Compile(fs, "", magicDir, "", "", true, os.LookupEnv)
Copy link
Member

Choose a reason for hiding this comment

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

nit, non-blocking: I know this is a pre-existing convention, but using os.LookupEnv here has potential to introduce test flakes. What would you think about swapping it out with a simple stub func() instead?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Good idea - done.

@johnstcn johnstcn self-assigned this Jun 19, 2024
@johnstcn johnstcn merged commit 82ffbc9 into coder:main Jun 19, 2024
4 checks passed
@aaronlehmann aaronlehmann deleted the fix-feature-contexts branch June 19, 2024 18:37
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.

2 participants