Thanks to visit codestin.com
Credit goes to github.com

Skip to content

chore: reduce ignore_changes suggestion scope #17947

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 2 commits into from
May 20, 2025

Conversation

dannykopping
Copy link
Contributor

We probably shouldn't be suggesting ignore_changes = all. Only the attributes which cause drift in prebuilds should be ignored; everything else can behave as normal.

@bpmct
Copy link
Member

bpmct commented May 20, 2025

Thanks for doing this! It was on my to-do list but appreciate you beating me to it.

Copy link
Member

@bpmct bpmct left a comment

Choose a reason for hiding this comment

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

Oops, before we merge lets also call this out in this place too: https://coder.com/docs/admin/templates/extending-templates/resource-persistence#-bulletproofing

@dannykopping
Copy link
Contributor Author

Oops, before we merge lets also call this out in this place too: https://coder.com/docs/admin/templates/extending-templates/resource-persistence#-bulletproofing

We currently don't show which fields caused drift for non-prebuild builds. #17571 introduced the drift output, but restricts it to only show when prebuild claims are taking place.

We discussed holding off on showing that all the time because some customers may not want this information displayed. Sensitive values are stripped out, however.

In any case, without this info of which attributes caused drift we can't advise operators/admins to be more specific with ignore_changes.

@dannykopping dannykopping merged commit d2d2189 into main May 20, 2025
28 checks passed
@dannykopping dannykopping deleted the dk/limit-ignore-changes branch May 20, 2025 20:16
@github-actions github-actions bot locked and limited conversation to collaborators May 20, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants