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: validate agent & resource metadata keys during plan #277

Conversation

ethanndickson
Copy link
Member

@ethanndickson ethanndickson commented Sep 5, 2024

Closes coder/coder#14387.
Closes coder/coder#14569.

Previously, the configuration had to be applied in order for the provider to complain about duplicate keys - now just a plan will suffice.

Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ethanndickson and the rest of your teammates on Graphite Graphite

@ethanndickson ethanndickson force-pushed the 09-05-fix_validate_agent_resource_metadata_keys_during_plan branch from 6e8c7db to b005008 Compare September 5, 2024 13:30
@ethanndickson ethanndickson marked this pull request as ready for review September 5, 2024 13:30
provider/agent.go Outdated Show resolved Hide resolved
provider/agent.go Outdated Show resolved Hide resolved
provider/metadata.go Outdated Show resolved Hide resolved
integration/integration_test.go Outdated Show resolved Hide resolved
@ethanndickson ethanndickson force-pushed the 09-05-fix_validate_agent_resource_metadata_keys_during_plan branch from b005008 to fdb3846 Compare September 5, 2024 14:58
@ethanndickson ethanndickson force-pushed the 09-05-fix_validate_agent_resource_metadata_keys_during_plan branch from fdb3846 to fd94956 Compare September 5, 2024 15:26
@ethanndickson ethanndickson merged commit f69a14d into main Sep 5, 2024
9 checks passed
@ethanndickson ethanndickson deleted the 09-05-fix_validate_agent_resource_metadata_keys_during_plan branch September 5, 2024 15:28
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2024
@matifali
Copy link
Member

matifali commented Sep 5, 2024

Do we want to port this to release/1.0 and do a patch?

@ethanndickson
Copy link
Member Author

ethanndickson commented Sep 6, 2024

Yeah, potentially. What are the breaking changes on main not included in any release? I'm not familiar

@matifali
Copy link
Member

matifali commented Sep 6, 2024

We removed a couple of deprecated resources and attributes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants