instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
terraform-linters__tflint__318
terraform-linters/tflint
318
defect
da16fb62d64dd147490c08460538a68e4c6f742b
1c2a4da37b8916d87ec6565a8dd81d2f5a0d9a9a
Added 3 checks for AWS Launch Configuration
Fixes #253 Adds rules checking in Launch Configuration: - used ami - instance type - instance profile Tested on current release, hope that's fair enough to be merged for next release.
diff --git a/rules/awsrules/aws_launch_configuration_invalid_iam_profile.go b/rules/awsrules/aws_launch_configuration_invalid_iam_profile.go new file mode 100644 index 000000000..3c93c64df --- /dev/null +++ b/rules/awsrules/aws_launch_configuration_invalid_iam_profile.go @@ -0,0 +1,89 @@ +package awsrules + +import ( +...
2
2
0
[{"id": "G0", "claim": "The indentation in aws_launch_configuration_invalid_iam_profile.go is broken and it might be better to run gofmt when saving Go files.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "It is even better if the documentation ...
null
terraform-linters__tflint__518
terraform-linters/tflint
518
defect
b8dacfb18bc2e24300fc04061ba298768dd5d885
c1ffca2aaf8d1e2a1fce7c3e77b7636984751eea
Add an optional checker for semver versions
Closes #513. Thanks for providing good developer documentation. Made it really easy to write this patch! 😄
diff --git a/docs/rules/terraform_module_pinned_source_is_semver.md b/docs/rules/terraform_module_pinned_source_is_semver.md new file mode 100644 index 0000000000..1ee304cf0d --- /dev/null +++ b/docs/rules/terraform_module_pinned_source_is_semver.md @@ -0,0 +1,54 @@ +# terraform_module_pinned_source_is_semver + +Disall...
3
3
0
[{"id": "G0", "claim": "The rule name terraform_module_pinned_source_is_semver is redundant and should be renamed to something like terraform_module_semver_source.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docs should include an example where no...
null
terraform-linters__tflint__850
terraform-linters/tflint
850
defect
fdd11f0ac7ada0af70a227caddca1160c4a14753
d5f84628563ed3d97c369d63b9761d0e5167d7a1
terraform_required_providers: warn on provider.version
This PR updates the required providers rule to warn when a `provider` block specifies a `version` attribute. While this does have the effect of constraining the installed provider version, users should be moving to `required_providers` because declaring a new copy of the provider is likely to have unexpected effects fo...
diff --git a/docs/rules/terraform_required_providers.md b/docs/rules/terraform_required_providers.md index a88f1d700..8dd0fab51 100644 --- a/docs/rules/terraform_required_providers.md +++ b/docs/rules/terraform_required_providers.md @@ -10,7 +10,7 @@ rule "terraform_required_providers" { } ``` -## Example +## Examp...
1
1
0
[{"id": "G0", "claim": "The example output shown in docs/rules/terraform_required_providers.md should be updated to reflect the issue message changed by this pull request.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
terraform-provider-openstack__terraform-provider-openstack__1054
terraform-provider-openstack/terraform-provider-openstack
1,054
defect
548a1a2ba5f254f593dfc86012754e4384764792
70624e86e746f34ec94fd73038f1d2e4401ff12d
Update to allow special network option in create server
In official OpenStack Compute API documentation, we can specify the network settings by putting special characters in the network option. But the current provider does not have a related function. To satisfy this functionality, add `network_mode` options to resource. reference - [Compute API Document](https://...
diff --git a/openstack/compute_instance_v2.go b/openstack/compute_instance_v2.go index 0ff6be000..94e9a8d20 100644 --- a/openstack/compute_instance_v2.go +++ b/openstack/compute_instance_v2.go @@ -23,9 +23,10 @@ import ( ) const ( - computeV2InstanceCreateServerWithTagsMicroversion = "2.52" - computeV2TagsExtensio...
2
2
1
[{"id": "G0", "claim": "The network_mode option needs to validate the supported string values 'auto' or 'none'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "An acceptance/functional test should be added to cover the network_mode functionality.", "...
null
terraform-provider-openstack__terraform-provider-openstack__1169
terraform-provider-openstack/terraform-provider-openstack
1,169
defect
6469b87caa86e47d26efe711334be999e3606f6d
f3e94124f29cb349d404acc10922e5c256e7eb4d
Add resource openstack_lb_quota_v2
Close #1168 Adds support for octavia quota. In my understanding this cannot be implemented for neutron LBaaS
diff --git a/openstack/import_openstack_lb_quota_v2_test.go b/openstack/import_openstack_lb_quota_v2_test.go new file mode 100644 index 000000000..c07b9d31e --- /dev/null +++ b/openstack/import_openstack_lb_quota_v2_test.go @@ -0,0 +1,30 @@ +package openstack + +import ( + "testing" + + "github.com/hashicorp/terraform-...
4
3
2
[{"id": "G0", "claim": "The new resource should also have a `region` attribute, appended to the resource ID, since a single project can have different quotas in different regions.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The author is unsure whethe...
null
terraform-provider-openstack__terraform-provider-openstack__1508
terraform-provider-openstack/terraform-provider-openstack
1,508
defect
87271235b2a460f77026e6eb01e1972dfa1d123c
9c947989ff62e705a48df8a51c952baaee5f5d70
[network v2]: Add support for network segments update and import
Fixes #1477
diff --git a/go.mod b/go.mod index 2e0b493b0..0e81bd73d 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/terraform-provider-openstack/terraform-provider-openstack go 1.20 require ( - github.com/gophercloud/gophercloud v1.2.1-0.20230228142905-95364c20a5d5 + github.com/gophercloud/gophercloud v1.2.1...
2
2
0
[{"id": "G0", "claim": "The docs should be updated to mention that segments are exported as well.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The docs should be updated to mention that provider segment attributes can only be updated when the pl...
null
terraform-provider-openstack__terraform-provider-openstack__1624
terraform-provider-openstack/terraform-provider-openstack
1,624
defect
981cf425f2c04cebd8ddac6ba6e3eb065dc20361
639e8ea98d20cfe58265bb20f0a8fb9b10f29370
data_source_blockstorage_volume_v3: Add Attachment Information
Hello, I am currently reworking the terraform setup for the openstack cloud at my work. While figuring out how to best handle long-term volumes, like databases that should ideally not be deleted recreated if something changes, I noticed a discrepancy between the _**resource** openstack_blockstorage_volume_v3_ and the ...
diff --git a/docs/data-sources/blockstorage_volume_v3.md b/docs/data-sources/blockstorage_volume_v3.md index d198aa467..b4342a719 100644 --- a/docs/data-sources/blockstorage_volume_v3.md +++ b/docs/data-sources/blockstorage_volume_v3.md @@ -45,3 +45,6 @@ are exported: * `source_volume_id` - The ID of the volume from w...
4
4
3
[{"id": "G0", "claim": "Add an acceptance test for the data source that creates an instance, a volume and an attachment and verifies that the attachment field is set as expected.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The resource acceptance tes...
null
terraform-provider-openstack__terraform-provider-openstack__1655
terraform-provider-openstack/terraform-provider-openstack
1,655
defect
dd285959ecec695f00d9c4168370b50661d11c7e
4277b405d45ff1ce56fc21e91b273ab676227ebd
Remove support of neutron-lbaas from lb_l7policy
Part of: https://github.com/terraform-provider-openstack/terraform-provider-openstack/issues/1638
diff --git a/openstack/lb_v2_octavia.go b/openstack/lb_v2_octavia.go new file mode 100644 index 000000000..0906098ac --- /dev/null +++ b/openstack/lb_v2_octavia.go @@ -0,0 +1,305 @@ +package openstack + +import ( + "context" + "fmt" + "log" + "time" + + "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" + +...
3
3
0
[{"id": "G0", "claim": "resourceLBV2ListenerRefreshFuncOctavia should check for an empty string and return resourceLBV2LoadBalancerStatusRefreshFuncOctavia right away instead of nesting the extra-functionality branch inside the status check.", "category": "maintainability", "verdict": "supported", "priority": "P2", "sc...
null
terraform-provider-openstack__terraform-provider-openstack__169
terraform-provider-openstack/terraform-provider-openstack
169
defect
0b64a0a252172ee1d88a7980d903bf77242e363d
1f6ee78d3ed3defe4a0f416acafb677f32d7c8d4
openstack_db_instance_v1 support for database and user
This PR adds support for database and user paramaters in openstack_db_instance resource and addresses https://github.com/terraform-providers/terraform-provider-openstack/issues/141 This is a contribution from [Ribose Inc.](https://www.ribose.com)
diff --git a/openstack/resource_openstack_db_instance_v1.go b/openstack/resource_openstack_db_instance_v1.go index a10b669fd..54e595b35 100644 --- a/openstack/resource_openstack_db_instance_v1.go +++ b/openstack/resource_openstack_db_instance_v1.go @@ -6,7 +6,9 @@ import ( "time" "github.com/gophercloud/gopherclo...
4
3
1
[{"id": "G0", "claim": "It would be best to break this out into two new resources, openstack_db_database_v1 and openstack_db_user_v1, instead of adding database and user parameters to openstack_db_instance_v1.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
terraform-provider-openstack__terraform-provider-openstack__1779
terraform-provider-openstack/terraform-provider-openstack
1,779
defect
1507e9f906c21cf03c81e91b7285b3d41ab3a6f2
e2b8fa180a83fa285024f72c85859563de8bec1b
add openstack_identity_project_ids_v3 datasource
Allowing to get list of projects, it's useful when you have to apply certain role assignments to certain group of projects
diff --git a/docs/data-sources/identity_project_ids_v3.md b/docs/data-sources/identity_project_ids_v3.md new file mode 100644 index 000000000..fa8da7804 --- /dev/null +++ b/docs/data-sources/identity_project_ids_v3.md @@ -0,0 +1,48 @@ +--- +subcategory: "Identity / Keystone" +layout: "openstack" +page_title: "OpenStack...
8
7
3
[{"id": "G0", "claim": "Replace regexp.MustCompile with regexp.Compile in projectsFilterByRegex and handle the compile error.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code reused from the image_ids datasource still says 'images' (a debug l...
null
terraform-provider-openstack__terraform-provider-openstack__1792
terraform-provider-openstack/terraform-provider-openstack
1,792
defect
91b54a5b9ae9fff10c01db5e39f959430e4686eb
7322599dd93e0b786ff1662759246a820bff1d15
Add lb_flavorprofile_v2 data source
Close #1776
diff --git a/docs/data-sources/lb_flavor_v2.md b/docs/data-sources/lb_flavor_v2.md index d53fed09c..ce4e83ba6 100644 --- a/docs/data-sources/lb_flavor_v2.md +++ b/docs/data-sources/lb_flavor_v2.md @@ -2,7 +2,7 @@ subcategory: "Load Balancing as a Service / Octavia" layout: "openstack" page_title: "OpenStack: opensta...
3
2
1
[{"id": "G0", "claim": "Data source naming is inconsistent - resources use `openstack_lb_xyz` while data sources use `openstack_loadbalancer_xyz` (e.g. the existing `openstack_loadbalancer_flavor_v2`) - and a decision is needed whether to keep that split or rename the existing data source to `openstack_lb_flavor_v2` at...
null
terraform-provider-openstack__terraform-provider-openstack__1813
terraform-provider-openstack/terraform-provider-openstack
1,813
defect
71c4976909535560fb0f5bb6c4602a8a63530429
aefc9364b31ac571d4bd3b99c79bbf1d73538fba
[workflow] add openstack_workflow_workflow_v2 datasource
See issue #1818 Depends on https://github.com/gophercloud/utils/pull/234 to add the Mistral Client I propose to start adding Mistral support to the Terraform OpenStack provider, starting with the workflow datasource. The workflow resource will be a little harder to implement first, since the POST /v2/workflows AP...
diff --git a/.github/workflows/functional-workflow.yml b/.github/workflows/functional-workflow.yml new file mode 100644 index 000000000..e2c29eebb --- /dev/null +++ b/.github/workflows/functional-workflow.yml @@ -0,0 +1,73 @@ +name: functional-workflow +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + ...
4
4
2
[{"id": "G0", "claim": "Remove the antelope (stable/2023.1) entry from the functional workflow build matrix, since the project supports the 3 latest releases plus master and dalmatian is already in.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": ...
null
terraform-provider-openstack__terraform-provider-openstack__1948
terraform-provider-openstack/terraform-provider-openstack
1,948
defect
e1dd764d5bfefc1adea43a2e64552bd6c33fe1dd
a439165b1bffdc6fddcd30636b528b93e71e0b84
Add TaaS TapMirror resource
Closes https://github.com/terraform-provider-openstack/terraform-provider-openstack/issues/1947
diff --git a/openstack/import_openstack_taas_tap_mirror_v2_test.go b/openstack/import_openstack_taas_tap_mirror_v2_test.go new file mode 100644 index 000000000..ce3bb7c75 --- /dev/null +++ b/openstack/import_openstack_taas_tap_mirror_v2_test.go @@ -0,0 +1,32 @@ +package openstack + +import ( + "testing" + + "github.com...
6
6
2
[{"id": "G0", "claim": "Insert a blank line before the `if value, exists := binding[\"out\"]` statement so the cuddled if no longer trips the wsl linter.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add documentation for the new openstack_taas_tap_mirro...
null
terraform-provider-openstack__terraform-provider-openstack__1954
terraform-provider-openstack/terraform-provider-openstack
1,954
defect
bb881e066ca9cb26dcd27764472e77127001b159
3a3e55a07dfc4bb853176f6e14b50b6d75eb1fb6
Add data source for Loadbalancer
Add data_source_openstack_lb_loadbalancer_v2 Add test data_source_openstack_lb_loadbalancer_v2_test Add lb_loadbalancer_v2 documentation Add new functions to lb_v2_shared Add Load Balancer data source to provider.go Closes #1953
diff --git a/docs/data-sources/lb_loadbalancer_v2.md b/docs/data-sources/lb_loadbalancer_v2.md new file mode 100644 index 000000000..b14c04dc2 --- /dev/null +++ b/docs/data-sources/lb_loadbalancer_v2.md @@ -0,0 +1,73 @@ +--- +subcategory: "Load Balancing as a Service / Octavia" +layout: "openstack" +page_title: "OpenSt...
6
4
3
[{"id": "G0", "claim": "The listOptsBuilder variable is unnecessary because loadbalancers.ListOpts already satisfies the loadbalancers.ListOptsBuilder interface, so listOpts should be passed to loadbalancers.List directly.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
terraform-provider-openstack__terraform-provider-openstack__209
terraform-provider-openstack/terraform-provider-openstack
209
defect
8bd8a8cb44005664c69777cc40301c6d1192492d
247e9ddc0b3326e3e3d7188d10d1b8baa2ee7905
Add 'vendor_options' to networking_router_v2 resource.
Add a `vendor_options` param to `openstack_networking_router_v2` resource. This will enable management of 'vendor specific' behaviour in a sensible, structured manner. TODO: - [x] Documentation
diff --git a/openstack/resource_openstack_networking_router_v2.go b/openstack/resource_openstack_networking_router_v2.go index 0750c15f3..bb54c5b48 100644 --- a/openstack/resource_openstack_networking_router_v2.go +++ b/openstack/resource_openstack_networking_router_v2.go @@ -108,6 +108,21 @@ func resourceNetworkingRou...
3
3
0
[{"id": "G0", "claim": "Rename the `updateGateway` variable to `vendorUpdateGateway` so that its use below reads `if !vendorUpdateGateway...` and better indicates it is a vendor flag controlling the action.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "...
null
terraform-provider-openstack__terraform-provider-openstack__305
terraform-provider-openstack/terraform-provider-openstack
305
defect
2d12cdcda94991abc3c0eefd21a45f917c243b8f
824741edc72f87218f9d893f871bd118b1bfddd3
Create new parameter for checking the image checksum
fixes #304
diff --git a/openstack/resource_openstack_images_image_v2.go b/openstack/resource_openstack_images_image_v2.go index 311a4e1a7..6ccdb7ffa 100644 --- a/openstack/resource_openstack_images_image_v2.go +++ b/openstack/resource_openstack_images_image_v2.go @@ -156,6 +156,13 @@ func resourceImagesImageV2() *schema.Resource ...
3
3
1
[{"id": "G0", "claim": "The checksum check should be removed from the refresh func entirely so it only checks the image status, and once the image has the correct status a Get should be performed in Create to retrieve the image struct and do the check there.", "category": "design", "verdict": "supported", "priority": "...
null
terraform-provider-openstack__terraform-provider-openstack__307
terraform-provider-openstack/terraform-provider-openstack
307
defect
95ce2bb6bf9bad4c35ff82db70d2dbc7e7f8e7bb
a7b07cd77cdc7056b4840b8ac8854015b87320f2
Add data source for compute keypair.
Fixes #306. - Adds doc. - Adds acceptance test.
diff --git a/openstack/data_source_openstack_compute_keypair_v2.go b/openstack/data_source_openstack_compute_keypair_v2.go new file mode 100644 index 000000000..4ddb7880b --- /dev/null +++ b/openstack/data_source_openstack_compute_keypair_v2.go @@ -0,0 +1,53 @@ +package openstack + +import ( + "fmt" + + "github.com/gop...
2
2
0
[{"id": "G0", "claim": "The documentation example/text should say the `name` argument is Required rather than Optional.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The pull request is missing a sidebar entry for the new keypair data source in w...
null
terraform-provider-openstack__terraform-provider-openstack__357
terraform-provider-openstack/terraform-provider-openstack
357
defect
048cfddbebaa08da851aa1508299cd09a2dba199
f289a6be0acc38d14e56bd45d6520b492b8fb864
Networking V2: support external network resource
Add "router:external" OpenStack Networking service attribute to the resource_openstack_networking_network_v2. Add tests for create and update of network with that attribute. For #356
diff --git a/openstack/resource_openstack_networking_network_v2.go b/openstack/resource_openstack_networking_network_v2.go index 05b7b3629..ee947b52a 100644 --- a/openstack/resource_openstack_networking_network_v2.go +++ b/openstack/resource_openstack_networking_network_v2.go @@ -10,6 +10,7 @@ import ( "github.com/ha...
3
3
2
[{"id": "G0", "claim": "The new `external` schema attribute should use `schema.TypeBool` instead of `TypeString` so the true/false values are checked automatically.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The documentation for the `external` argum...
null
terraform-provider-openstack__terraform-provider-openstack__488
terraform-provider-openstack/terraform-provider-openstack
488
defect
3449b0071d3204b36649f76aac2fbbf2224c5252
ca60f731c9be6a40633161a7542c0784b76681d4
ContainerInfraV1: add Cluster datasource
Add OpenStack ContainerInfraV1 Cluster datasource with tests. For #402
diff --git a/openstack/data_source_openstack_containerinfra_cluster_v1.go b/openstack/data_source_openstack_containerinfra_cluster_v1.go new file mode 100644 index 000000000..a6d3f5d0a --- /dev/null +++ b/openstack/data_source_openstack_containerinfra_cluster_v1.go @@ -0,0 +1,155 @@ +package openstack + +import ( + "fm...
2
1
0
[{"id": "G0", "claim": "Change the labels log message to log the cluster UUID along with the error, and do the same for the other similar debug log messages below.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Asks whether the volume_driver and...
null
terraform-provider-openstack__terraform-provider-openstack__490
terraform-provider-openstack/terraform-provider-openstack
490
defect
945ecfaa0cc198a3b55d0e3eb6e14543b5dcfff0
e4045867b8aea91d49b6684b33c42e35c95d7a0b
ComputeV2: add soft policies
Set "2.15" microversion for servergroup "soft-anti-affinity" and "soft-affinity" policies. Add tests and documentation notes. For #118
diff --git a/openstack/compute_servergroup_v2.go b/openstack/compute_servergroup_v2.go index 0fbe3b226..44a117909 100644 --- a/openstack/compute_servergroup_v2.go +++ b/openstack/compute_servergroup_v2.go @@ -1,9 +1,15 @@ package openstack import ( + "github.com/gophercloud/gophercloud" "github.com/gophercloud/go...
2
2
1
[{"id": "G0", "claim": "The documentation for the new soft-affinity/soft-anti-affinity policies should mention that the OpenStack Compute environment must support microversion 2.15 or above.", "category": "documentation", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The test ...
null
terraform-provider-openstack__terraform-provider-openstack__513
terraform-provider-openstack/terraform-provider-openstack
513
defect
3fc6895cb394ef6553b1d29780d5f8b02f367ed7
c1753257450c19cb68b5e997e87e00c479e3736d
NetworkingV2: add transparent_vlan network resource attribute
Add the "transparent_vlan" attribute into networking_network_v2 resource. For #430
diff --git a/openstack/provider_test.go b/openstack/provider_test.go index ff6a09dde..4501d89d7 100644 --- a/openstack/provider_test.go +++ b/openstack/provider_test.go @@ -13,27 +13,28 @@ import ( ) var ( - OS_DB_ENVIRONMENT = os.Getenv("OS_DB_ENVIRONMENT") - OS_DB_DATASTORE_VERSION = os.Getenv...
4
4
2
[{"id": "G0", "claim": "The provider.CreateOptsExt on the segments branch should be built from finalCreateOpts instead of createOpts so the create options chain stays consistent.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The original tags-updat...
null
terraform-provider-openstack__terraform-provider-openstack__574
terraform-provider-openstack/terraform-provider-openstack
574
defect
2245ddd4ba9e02e3b11c4e8ba3ec46ac239df04a
cb0723a5a16c055c80db59cd5637fd6976c7e445
Networking: add port secgroup associate resource
Resolves the #512 @jtopjian do you know how to create acceptance tests, which ignore idempotency test for specific resource (i.e. `openstack_networking_port_v2`)?
diff --git a/openstack/provider.go b/openstack/provider.go index e1777e240..a6461e6fd 100644 --- a/openstack/provider.go +++ b/openstack/provider.go @@ -227,73 +227,74 @@ func Provider() terraform.ResourceProvider { }, ResourcesMap: map[string]*schema.Resource{ - "openstack_blockstorage_volume_v1": ...
11
10
6
[{"id": "G0", "claim": "The resource should allow security_group_ids to either be amended to the port's existing groups or completely replace them (replace being the then-current behaviour), to cover delegated ports.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "unclear"}, {"id": "G1", "cl...
null
terraform-provider-openstack__terraform-provider-openstack__587
terraform-provider-openstack/terraform-provider-openstack
587
defect
7154fd2187e6c6b1e418fd17ca3fc63d3a2b1463
7c951dd7385559ed4822954da976eaf8e808c149
Compute v2: add flavor_id to flavor data source
Resolves #474
diff --git a/openstack/data_source_openstack_compute_flavor_v2.go b/openstack/data_source_openstack_compute_flavor_v2.go index b9622c19f..287d3f9be 100644 --- a/openstack/data_source_openstack_compute_flavor_v2.go +++ b/openstack/data_source_openstack_compute_flavor_v2.go @@ -22,10 +22,18 @@ func dataSourceComputeFlavo...
6
6
4
[{"id": "G0", "claim": "The flavor_id Get error path must not use CheckDeleted: a 404 should return the 'Your query returned no results...' error and any other error should return 'Error retrieving openstack_compute_flavor_v2 %s: %s'.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intr...
null
terraform-provider-openstack__terraform-provider-openstack__655
terraform-provider-openstack/terraform-provider-openstack
655
defect
e4783ee900c5e3e349080b4c2d212e3731021b8f
d2b44020ecd9462782442df1eeef62f42de4c9e1
Add new data source 'openstack_compute_availability_zones_v2'
In working with this provider, I found myself missing the ability to query OpenStack for availability zones like you can in other providers (such as `terraform-provider-aws`). This PR adds that functionality. If anything is missing, please let me know! This is my first PR adding a resource/datasource to a provide...
diff --git a/openstack/data_source_openstack_compute_availability_zones_v2.go b/openstack/data_source_openstack_compute_availability_zones_v2.go new file mode 100644 index 000000000..c7518b72b --- /dev/null +++ b/openstack/data_source_openstack_compute_availability_zones_v2.go @@ -0,0 +1,70 @@ +package openstack + +imp...
13
10
3
[{"id": "G0", "claim": "The new data source should match the style of the repo's other data sources as much as possible (newlines, format of messages), as part of a repo-wide formatting cleanup.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "A `...
null
terraform-provider-openstack__terraform-provider-openstack__693
terraform-provider-openstack/terraform-provider-openstack
693
defect
e2c61864f50c9de5bb4abe803b3cd9b17fabf232
b04a716aac179ec95b97b60d6c9945f7bcf5a609
Networking V2: Introduce port binding support
Depends on #689 and https://github.com/gophercloud/gophercloud/pull/1478 Resolves #665
diff --git a/go.mod b/go.mod index e0331c520..22916afa2 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/blang/semver v3.5.1+incompatible // indirect github.com/fatih/color v1.6.0 // indirect github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect - github.com/gophercloud/gopher...
3
3
1
[{"id": "G0", "claim": "The port binding extension of the create opts should be built inline inside resourceNetworkingPortV2Create, like all other resources do, rather than via the expandNetworkingPortBindingProfileCreateV2 helper.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}...
null
terraform-provider-openstack__terraform-provider-openstack__709
terraform-provider-openstack/terraform-provider-openstack
709
defect
4f92938794fbb8aeee044256869d74b5d503ddba
e302ba9309c0ebfbbc807fdc5edd409f7f646344
Networking V2: Allow floatingip associate with the fixed_ip
Resolves #646
diff --git a/openstack/resource_openstack_networking_floatingip_associate_v2.go b/openstack/resource_openstack_networking_floatingip_associate_v2.go index f77bcdf07..379d1ac4d 100644 --- a/openstack/resource_openstack_networking_floatingip_associate_v2.go +++ b/openstack/resource_openstack_networking_floatingip_associa...
2
2
1
[{"id": "G0", "claim": "The test fixture declarations of nested-block attributes use `fixed_ip = { ... }` instead of `fixed_ip { ... }`, which is not valid syntax for Terraform v0.12 and will break the tests there.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1...
null
terraform-provider-openstack__terraform-provider-openstack__715
terraform-provider-openstack/terraform-provider-openstack
715
defect
88ac8b26415c97e81af0e743723069472a88419f
c5120ae349b188ebc98cae7609a37d94fdfca62b
SharedFilesystem v2: Add cephx and access_key
This commit adds "cephx" as a valid access_type. This commit also adds the access_key computed attribute. For #714
diff --git a/openstack/resource_openstack_sharedfilesystem_share_access_v2.go b/openstack/resource_openstack_sharedfilesystem_share_access_v2.go index 23b6a5cad..197e83453 100644 --- a/openstack/resource_openstack_sharedfilesystem_share_access_v2.go +++ b/openstack/resource_openstack_sharedfilesystem_share_access_v2.go...
9
7
4
[{"id": "G0", "claim": "Granting cephx access fails with a 400 \"Only 'ip', 'user' or 'cert' access types are supported\" error because the request is sent with microversion 2.7 instead of the 2.13 microversion that introduced cephx.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "intro...
null
terraform-provider-openstack__terraform-provider-openstack__947
terraform-provider-openstack/terraform-provider-openstack
947
defect
90318ae0a1baaf18a51ccffa007bfd76634f2041
d6c431cf35c265a7404ec078b6caaf9688ae374c
Data source for openstack_blockstorage_volume_v3
Implements a new data source for openstack_blockstorage_volume_v3. Here is the related issue opened for it #925
diff --git a/openstack/data_source_openstack_blockstorage_volume_v2.go b/openstack/data_source_openstack_blockstorage_volume_v2.go index 9feaf8407..4302c7884 100644 --- a/openstack/data_source_openstack_blockstorage_volume_v2.go +++ b/openstack/data_source_openstack_blockstorage_volume_v2.go @@ -5,7 +5,6 @@ import ( ...
1
1
0
[{"id": "G0", "claim": "The pull request should not touch openstack/data_source_openstack_blockstorage_volume_v2.go at all — the file is unrelated to this PR, and the blank import-separator line it removes should be kept.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
terraform-provider-openstack__terraform-provider-openstack__983
terraform-provider-openstack/terraform-provider-openstack
983
defect
be8983fdd9601a0ede0fbbbfdb0c337e48be8cce
2bb2de58bbe7edc4ff5d259f2a1d40d480c6dd99
Add blockstorage scheduler hints
Adds support for blockstorage scheduler hints, which was is already available in GopherCloud sdk. Resolves issue #743
diff --git a/openstack/blockstorage_extensions.go b/openstack/blockstorage_extensions.go new file mode 100644 index 000000000..fb6fa9128 --- /dev/null +++ b/openstack/blockstorage_extensions.go @@ -0,0 +1,54 @@ +package openstack + +import ( + "bytes" + "fmt" + "github.com/gophercloud/gophercloud/openstack/blockstorage...
7
6
1
[{"id": "G0", "claim": "Run goimports on the new scheduler-hints files (blockstorage_extensions.go, blockstorage_extensions_test.go and resource_openstack_blockstorage_volume_v2.go) so their import blocks are formatted correctly.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "intro...
null
terraform-redhat__terraform-provider-rhcs__1031
terraform-redhat/terraform-provider-rhcs
1,031
defect
9efcc8496bde2e31e1e27ea37615f32bc5cf9d2d
3b5b71cb66023ab9fd14e9c5ebde6136ef58e488
OCM-18777 | feat: CapRez Preference day 1 support
Also, removed some gating with autoscaling + caprez <!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: ...
diff --git a/docs/data-sources/hcp_machine_pool.md b/docs/data-sources/hcp_machine_pool.md index 97d034893..5dac2eb85 100644 --- a/docs/data-sources/hcp_machine_pool.md +++ b/docs/data-sources/hcp_machine_pool.md @@ -66,6 +66,7 @@ Optional: - `additional_security_group_ids` (List of String) Additional security group...
1
1
1
[{"id": "G0", "claim": "Validation enforcing the valid interactions between Capacity Reservation Preference and Reservation ID (e.g. an ID combined only with the 'capacity-reservations-only' preference) should be added, if in scope for the TF client.", "category": "correctness", "verdict": "supported", "priority": "P1"...
null
terraform-redhat__terraform-provider-rhcs__1035
terraform-redhat/terraform-provider-rhcs
1,035
defect
f699bfa29a0b298a2d5d1ec6ba0912cfdf2e1476
c21c7007c8d37673c9b115b2e6398365dd04de4d
OCM-20256 | feat: support day1 ImageType field for HCP MachinePool
**What this PR does / why we need it**: Defines support for and example of usage of the ImageType parameter exposed by OCM, which allows for the support of the Windows LI feature. This PR exposes the ability to specify the optional `image_type` parameter on the aws_node_pool subresource of the HCP MachinePool, with ...
diff --git a/docs/data-sources/hcp_machine_pool.md b/docs/data-sources/hcp_machine_pool.md index 5dac2eb85..0862fc826 100644 --- a/docs/data-sources/hcp_machine_pool.md +++ b/docs/data-sources/hcp_machine_pool.md @@ -67,6 +67,7 @@ Optional: - `additional_security_group_ids` (List of String) Additional security group i...
1
1
0
[{"id": "G0", "claim": "The new file's copyright header says 2023 when it should say the current year (2026).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
terraform-redhat__terraform-provider-rhcs__1036
terraform-redhat/terraform-provider-rhcs
1,036
defect
f699bfa29a0b298a2d5d1ec6ba0912cfdf2e1476
095280dd360a77393cc4938be8ad112e49697570
OCM-21866 | feat: Add trust policy external id field
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/docs/data-sources/cluster_rosa_classic.md b/docs/data-sources/cluster_rosa_classic.md index 48d33cef9..c42cc2dc6 100644 --- a/docs/data-sources/cluster_rosa_classic.md +++ b/docs/data-sources/cluster_rosa_classic.md @@ -116,6 +116,10 @@ Read-Only: <a id="nestedatt--sts"></a> ### Nested Schema for `sts` ...
1
1
1
[{"id": "G0", "claim": "Set Computed: true on the new trust_policy_external_id attribute of the STS resource schemas (ClassicStsResource at line 112 and, same question, HcpStsResource at line 218).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
terraform-redhat__terraform-provider-rhcs__1038
terraform-redhat/terraform-provider-rhcs
1,038
defect
f457b2f00dc44567fa889cce5805326a8ee6fdc8
0c0634c52441b2319e6e796876feddc9e19c72b4
OCM-16693 | feat: add audit_log_arn parameter for HCP clusters
**Change type** - [x] New feature - [ ] Bug fix - [ ] Build - [ ] CI - [ ] Documentation - [ ] Performance - [ ] Refactor - [ ] Style - [ ] Unit tests - [ ] Subsystem tests **Checklist** - [x] Subject and description added to both, commit and PR. - [x] Relevant issues have been referenced. # Details ...
diff --git a/docs/data-sources/cluster_rosa_hcp.md b/docs/data-sources/cluster_rosa_hcp.md index 579644205..1792bb038 100644 --- a/docs/data-sources/cluster_rosa_hcp.md +++ b/docs/data-sources/cluster_rosa_hcp.md @@ -35,6 +35,7 @@ data "rhcs_cluster_rosa_hcp" "cluster" { - `admin_credentials` (Attributes) This attri...
4
2
1
[{"id": "G0", "claim": "Confirm with the BU/PM whether day-2 editing of audit_log_arn should be supported — the reviewer believes this was already agreed — and if so remove the new immutable-attribute check on audit_log_arn and put update functionality in place.", "category": "design", "verdict": "supported", "priority...
null
terraform-redhat__terraform-provider-rhcs__1070
terraform-redhat/terraform-provider-rhcs
1,070
defect
3231dabe270b458db0e31d37685e99f372f4e0b9
223d5e4bed77c657e88f1006d96fbdbf51e824df
OCM-22297 | ci: Fixing id:72514,id:72478, upgrade tests, disabling IMDS tests for now
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/go.mod b/go.mod index 64bc695fa..47a408167 100644 --- a/go.mod +++ b/go.mod @@ -19,7 +19,7 @@ require ( github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.30.0 github.com/openshift-online/ocm-common v0.0.33 - github.com/openshift-online/ocm-sdk-go v0.1.486 + github.com/openshift-online/ocm-s...
9
7
3
[{"id": "G0", "claim": "The targetChannel format string dereferences clusterArgs.ChannelGroup, which could panic if it is nil; add a nil guard and fall back to the profile/cluster channel before dereferencing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "c...
null
terraform-redhat__terraform-provider-rhcs__1071
terraform-redhat/terraform-provider-rhcs
1,071
defect
5782e6bfb81ab0d3757266b330b18dfeebcca386
1d069c6ad087be6be5b3b3ec297a6d470d532ca3
OCM-22022 | feat: support autoscaling for day-1 hcp cluster creation
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/provider/clusterrosa/hcp/resource.go b/provider/clusterrosa/hcp/resource.go index e6c9dc711..ee274aa94 100644 --- a/provider/clusterrosa/hcp/resource.go +++ b/provider/clusterrosa/hcp/resource.go @@ -31,6 +31,7 @@ import ( semver "github.com/hashicorp/go-version" "github.com/terraform-redhat/terraform-...
2
1
0
[{"id": "G0", "claim": "The client-side AtLeast(2) validation the pull request adds for the replica fields lacks a stated requirement, and gdbranco suggests not setting it in the provider and letting the backend, whose rules are a bit more complex, validate instead.", "category": "design", "verdict": "supported", "prio...
null
terraform-redhat__terraform-provider-rhcs__1082
terraform-redhat/terraform-provider-rhcs
1,082
defect
3231dabe270b458db0e31d37685e99f372f4e0b9
06bc37a75966385f033159900b5632a1192a7937
OCM-22715 | fix: added some more validations to vpc cleanup issues
## PR Summary Improves test teardown reliability for VPC ## Detailed Description of the Issue Intermittent e2e teardown failures were happening because some ROSA-managed security groups were occasionally left behind after cluster uninstall. These leftovers caused Terraform VPC destroy to fail with dependency erro...
diff --git a/tests/utils/helper/aws.go b/tests/utils/helper/aws.go index bc7ad9598..a0e3f1e9b 100644 --- a/tests/utils/helper/aws.go +++ b/tests/utils/helper/aws.go @@ -1,24 +1,89 @@ package helper import ( - "context" + "errors" "fmt" "regexp" + "strings" + "time" - "github.com/aws/aws-sdk-go-v2/aws" - awsco...
2
1
1
[{"id": "G0", "claim": "tests/utils/helper/aws.go is written against the AWS SDK v1 rather than v2 right after the repository-wide move to v2, and the reviewer asked whether that shift back to v1 is intentional (i.e., that it use v2).", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
terraform-redhat__terraform-provider-rhcs__1086
terraform-redhat/terraform-provider-rhcs
1,086
defect
318aa4f4a3f376ac8dc2c8b6f69bc6c34f6d91a5
92c391ea4fb23e7be17a7c15d7f119a4f1d2e2e0
OCM-22582 | feat: add AutoNode day-2 support for ROSA HCP clusters
## PR Summary This PR adds AutoNode support to the ROSA HCP Terraform resource ## Detailed Description of the Issue Customers currently cannot manage AutoNode on ROSA HCP clusters with Terraform. This PR is for exposing AutoNode configuration in the provider ## Related Issues and PRs - Jira: [OCM-22582](https:...
diff --git a/docs/data-sources/cluster_rosa_hcp.md b/docs/data-sources/cluster_rosa_hcp.md index ef8953bed..343e792e9 100644 --- a/docs/data-sources/cluster_rosa_hcp.md +++ b/docs/data-sources/cluster_rosa_hcp.md @@ -42,6 +42,7 @@ Use the `fips` attribute from this data source to confirm whether FIPS was enabl - `admi...
6
5
4
[{"id": "G0", "claim": "CreateAWSBuilder should take the AutoNode role ARN as a single *string parameter rather than a variadic final parameter, since the variadic form leads to more validation needed in the function.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
terraform-redhat__terraform-provider-rhcs__1090
terraform-redhat/terraform-provider-rhcs
1,090
defect
012ff480979556029ab44ebee81715b57f45535d
49a441b52108f4b4cd2b500ba9880dc0a3145071
OCM-22845 | feat: return available_channels in the `rhcs_version` data source
<!-- Please provide enough context so reviewers can understand: 1) the problem, 2) why this change is needed, 3) what changed, 4) how you validated it. Use N/A when the option is not applicable to your case. Commit format requirement: [JIRA-TICKET] | [TYPE]: <MESSAGE> TYPE must be one of: feat, fix, docs,...
diff --git a/docs/data-sources/versions.md b/docs/data-sources/versions.md index e905d8bef..6f2a383ee 100644 --- a/docs/data-sources/versions.md +++ b/docs/data-sources/versions.md @@ -34,6 +34,7 @@ data "rhcs_versions" "all" {} Read-Only: +- `available_channels` (List of String) Update channels in which this vers...
2
2
1
[{"id": "G0", "claim": "When StringArrayToList fails, an error is appended to diagnostics but the loop keeps processing the remaining items, which could save inconsistent state; the reviewer asks whether an early return there could help.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "i...
null
terraform-redhat__terraform-provider-rhcs__768
terraform-redhat/terraform-provider-rhcs
768
defect
9de03e451287b9fd2933a4a5bea3cc0ee7318725
2ceceb8693390516ab95b86986f8a28147c46c7a
OCM-10200 | feat: Implement thumbprint API changes
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/provider/oidcconfig/rosa_oidc_config_resource.go b/provider/oidcconfig/rosa_oidc_config_resource.go index 85afda994..d902fd7f7 100644 --- a/provider/oidcconfig/rosa_oidc_config_resource.go +++ b/provider/oidcconfig/rosa_oidc_config_resource.go @@ -27,14 +27,14 @@ import ( "github.com/hashicorp/terraform-...
2
2
1
[{"id": "G0", "claim": "The error message logged when thumbprint retrieval fails should be different depending on whether err is nil or not, instead of one message logging a nil err for the empty-body case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "clai...
null
terraform-redhat__terraform-provider-rhcs__793
terraform-redhat/terraform-provider-rhcs
793
defect
12010ed35ba1d0968ae070cbc9b3dac565d354e4
95ec2257ac8ff430c18704ae4c9a4ddebf5c1d04
OCM-9892 | feat: add root disk size to TF provider
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/docs/resources/cluster_rosa_hcp.md b/docs/resources/cluster_rosa_hcp.md index 9f8404184..c87725b57 100644 --- a/docs/resources/cluster_rosa_hcp.md +++ b/docs/resources/cluster_rosa_hcp.md @@ -83,6 +83,7 @@ resource "rhcs_cluster_rosa_hcp" "rosa_sts_cluster" { - `version` (String) Desired version of OpenSh...
6
5
2
[{"id": "G0", "claim": "The Create function checks plan.AWSNodePool.DiskSize twice, since common.HasValue and common.OptionalInt64 test the same condition; the duplicate RootVolume block should be removed.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim...
null
terraform-redhat__terraform-provider-rhcs__810
terraform-redhat/terraform-provider-rhcs
810
defect
6afdebf46856c335421d06849c944f1f3813ab9c
6e65eca6f9b7ee1a1a9b8ecc90f09586a5c666ce
OCM-6285 | feat: Day1 SG support for HCP
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/docs/data-sources/cluster_rosa_hcp.md b/docs/data-sources/cluster_rosa_hcp.md index 8ec523c18..fdbc795d2 100644 --- a/docs/data-sources/cluster_rosa_hcp.md +++ b/docs/data-sources/cluster_rosa_hcp.md @@ -37,6 +37,7 @@ data "rhcs_cluster_rosa_hcp" "cluster" { - `api_url` (String) URL of the API server. - ...
2
2
0
[{"id": "G0", "claim": "The new output in tests/tf-manifests/rhcs/clusters/rosa-hcp/output.tf should be named \"additional_compute_security_groups\" instead of \"additional_control_plane_security_groups\", since it exposes the additional compute security group ids.", "category": "correctness", "verdict": "supported", "...
null
terraform-redhat__terraform-provider-rhcs__817
terraform-redhat/terraform-provider-rhcs
817
defect
2b1b73d035314f9ec5360d816331fa367f1d97ac
fb9d40da213e38d530890a63a37b255838aa4388
OCM-11521 | fix: validate custom machinepool disk size
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/go.mod b/go.mod index 7de4414d9..607186291 100644 --- a/go.mod +++ b/go.mod @@ -15,7 +15,7 @@ require ( github.com/hashicorp/terraform-plugin-sdk v1.17.2 github.com/onsi/ginkgo/v2 v2.17.1 github.com/onsi/gomega v1.30.0 - github.com/openshift-online/ocm-common v0.0.11 + github.com/openshift-online/ocm...
3
3
0
[{"id": "G0", "claim": "The HCP cluster creation should pass nil directly instead of computing an openshift version value, since version is not required in the HCP flow.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The HCP/Classic branch should be a pl...
null
terraform-redhat__terraform-provider-rhcs__888
terraform-redhat/terraform-provider-rhcs
888
defect
9ea9ca5cbce19d0f9f7a25e6944c127be9e21eed
26aea7188cc2152aa25926eceeaa6d0b7950030a
OCM-14804 | feat: Allow edit for HCP global autoscaler
**What this PR does / why we need it**: Allows editing of HCP cluster global autoscaler from TF **Which issue(s) this PR fixes** *(optional, use `fixes #<issue_number>(, fixes #<issue_number>, ...)` format, where issue_number might be a GitHub issue, or a Jira story (OCM-xxxx)*: Fixes #[OCM-14804](https://issues.r...
diff --git a/docs/resources/hcp_cluster_autoscaler.md b/docs/resources/hcp_cluster_autoscaler.md index 5276584ed..3d5471414 100644 --- a/docs/resources/hcp_cluster_autoscaler.md +++ b/docs/resources/hcp_cluster_autoscaler.md @@ -35,6 +35,7 @@ resource "rhcs_hcp_cluster_autoscaler" "cluster_autoscaler" { ### Optional ...
2
2
1
[{"id": "G0", "claim": "The pull request should add or adjust a test covering the new Delete behaviour for the HCP autoscaler.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The word \"global\" in the new \"global autoscaler\" naming and messages is unn...
null
terraform-redhat__terraform-provider-rhcs__957
terraform-redhat/terraform-provider-rhcs
957
defect
d4c022f0664110b18286273bb0f5fdb785fedb7f
9a98111dcbec2e3d85eb994af2c5407b37415be5
OCM-18302 | feat: Support for image registry mirrors
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/docs/data-sources/image_mirrors.md b/docs/data-sources/image_mirrors.md new file mode 100644 index 000000000..93230cfc0 --- /dev/null +++ b/docs/data-sources/image_mirrors.md @@ -0,0 +1,36 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "rhcs_image_mirrors Data Sourc...
2
2
1
[{"id": "G0", "claim": "The Update method builds the update with only the mirrors field although the backend now accepts type, so the reviewer asks that type be passed on update (or explicitly deferred to the next dev iteration), keeping it consistent with the docs where type is optional.", "category": "design", "verdi...
null
terraform-redhat__terraform-provider-rhcs__989
terraform-redhat/terraform-provider-rhcs
989
defect
27d2e6c9a7528459022dd8ab48c3755a634dd2a5
17d007b095b53a52eec7b563449b6360d69faa1b
OCM-17200 | fix: Autoscaler requires 2 applies
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/provider/autoscaler/hcp/resource.go b/provider/autoscaler/hcp/resource.go index 7f2b01608..dbfa92fbe 100644 --- a/provider/autoscaler/hcp/resource.go +++ b/provider/autoscaler/hcp/resource.go @@ -362,31 +362,25 @@ func clusterAutoscalerStateToObject(state *ClusterAutoscalerState) (*cmv1.Cluste func (r *Cl...
1
1
1
[{"id": "G0", "claim": "Asks whether removing the nil-state initialization in updateAutoscaler affects any subsystem test.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
terraform-redhat__terraform-provider-rhcs__993
terraform-redhat/terraform-provider-rhcs
993
defect
a229b3cb5115bb7d9ef3863fe4a6d856b15f60f8
206c7a7c89a33c1291adf664678f94199acb0da5
OCM-18914 | feat: add BreakGlassCredential resource support
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/docs/resources/break_glass_credential.md b/docs/resources/break_glass_credential.md new file mode 100644 index 000000000..841260f57 --- /dev/null +++ b/docs/resources/break_glass_credential.md @@ -0,0 +1,30 @@ +--- +# generated by https://github.com/hashicorp/terraform-plugin-docs +page_title: "rhcs_break_...
4
2
0
[{"id": "G0", "claim": "The two expiration-duration validation errors read as conflicting — one implies expiration is a timestamp (\"at least 10 minutes from now\") while the other implies a plain duration (\"at maximum 24 hours\") — and the first error should be reworded to match the wording of the second.", "category...
null
terraform-redhat__terraform-provider-rhcs__995
terraform-redhat/terraform-provider-rhcs
995
defect
38529022bd626a1d6d8adc2e2f33bb76d8ea045f
09ad964619fb48577fe304668942724a8f6c334f
OCM-19843 | feat: add e2e test for break glass credential resource
<!-- - Please ensure code changes are split into a series of logically independent commits. - Every commit should have a subject/title (What) and a description/body (Why). The commit subject needs to conform to the following format: [JIRA-TICKET] | [TYPE]: <MESSAGE> Where: JIRA_TICKET is jira ticket ID...
diff --git a/go.mod b/go.mod index 89ac26cb2..473ba2de4 100644 --- a/go.mod +++ b/go.mod @@ -61,6 +61,7 @@ require ( github.com/mitchellh/go-wordwrap v1.0.0 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/openshift-online/ocm-api-model/model v0.0.434 // indirect ...
9
7
5
[{"id": "G0", "claim": "The aws provider declared in the new break-glass-credentials main.tf is not being used and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The fields of the BreakGlassCredentialArgs and BreakGlassCredent...
null
terraforming-mars__terraforming-mars__6502
terraforming-mars/terraforming-mars
6,502
defect
8cb9a67f77968d420bcf1a660da19c7577518cbf
b2376025587a87f77b6038bf7d5d4ac7c10b14f0
Allow players to include specific cards
Intended as a mirror to the excluded cards feature. In my group we like to play without the actual expansions while still being able to include cards from all expansions. This feature allows for that.
diff --git a/src/client/components/create/CardsFilter.vue b/src/client/components/create/CardsFilter.vue index c0cbae3471b..22eb1d4313c 100644 --- a/src/client/components/create/CardsFilter.vue +++ b/src/client/components/create/CardsFilter.vue @@ -1,6 +1,6 @@ <template> <div class="cards-filter"> - <h2 v-...
2
1
1
[{"id": "G0", "claim": "Someone who wants to use the non-ares version of a card via this process will still get the replaced (ares) card; not urgent but a small and surprising bug.", "category": "correctness", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The change needs a co...
null
terraforming-mars__terraforming-mars__6635
terraforming-mars/terraforming-mars
6,635
defect
eb7cb90f4e07ec99cf6b67daf6f23300593efaac
1a7fed37b58fba9a6fe89bedb5d20d24befe3af5
Randomisation of Moon tiles
Implements #6365 Shuffling of Moon tiles is enabled through a specific option in the Game setup screen
diff --git a/src/client/components/create/CreateGameForm.vue b/src/client/components/create/CreateGameForm.vue index 3e1aab0c4b..a2902ba50a 100644 --- a/src/client/components/create/CreateGameForm.vue +++ b/src/client/components/create/CreateGameForm.vue @@ -260,6 +260,14 @@ <span v...
4
2
1
[{"id": "G0", "claim": "The newly commented-out shuffleArray block in BoardBuilder is left without a plan and should be resolved rather than left commented.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The separate shuffleMoonMapOption should be...
null
terrakube-io__terrakube__2851
terrakube-io/terrakube
2,851
defect
3382aaa2603e72e09c7a61c3cd599a753bbb533b
f2c0dce06f76f3f044c16b89ebfb0d4a22b72696
feat: implement job history cleanup based on `KEEP_JOB_HISTORY` variable for local execution
- Introduced `getHistoryLimit` and `deleteOldJobs` methods to manage history retention using workspace variables. - Added `VariableRepository` for retrieving and processing workspace parameters. - Enhanced logging to trace cleanup operations. fix #2849
diff --git a/api/src/main/java/io/terrakube/api/plugin/state/RemoteTfeService.java b/api/src/main/java/io/terrakube/api/plugin/state/RemoteTfeService.java index f28869bf6..36c9fe4d6 100644 --- a/api/src/main/java/io/terrakube/api/plugin/state/RemoteTfeService.java +++ b/api/src/main/java/io/terrakube/api/plugin/state/R...
2
2
0
[{"id": "G0", "claim": "getHistoryLimit should drop the AtomicInteger and the imperative isPresent/get handling and instead return the KEEP_JOB_HISTORY limit through a fluent Optional/stream chain.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "...
null
terrakube-io__terrakube__2879
terrakube-io/terrakube
2,879
defect
669165aa5b7c5ac98b9a6ea1e2e99c45bd21ad14
e50fa6e0d7aa95971ef062a260565436a0089f15
feat: add bypassQueue flag for webhook-triggered plan-only jobs
Webhook-triggered PR checks using plan-only templates can now bypass the normal per-workspace queue. This enables immediate PR plan feedback without waiting for unrelated jobs (especially those stuck in waitingApproval). Changes: - Add TclService.isTemplatePlanOnly() to detect plan-only templates at runtime - Add TclS...
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e0dde4916..648ccd02c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,13 @@ name: Release Terrakube -on: +on: release: types: [created] +permissions: + contents: read + packages: wri...
4
3
2
[{"id": "G0", "claim": "The new bypass_queue boolean column requires updating all existing job records to false, otherwise the API will break because the entity expects a boolean.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "claim": "The GHCR release-workf...
null
terralist__terralist__671
terralist/terralist
671
defect
62705e51a587b00997cba7c7ecb145af7b266647
19e5c75c3573585a06b4032f4edb1726e6d8b2fa
fix: Properly set path for default SQLite location
If `TERRALIST_SQLITE_PATH` is not set, then create the SQLite DB at `$TERRALIST_HOME/data/storage.db` instead of `/storage.db` which is the current default.
diff --git a/cmd/terralist/server/server.go b/cmd/terralist/server/server.go index be5d25f0..71f13f89 100644 --- a/cmd/terralist/server/server.go +++ b/cmd/terralist/server/server.go @@ -211,6 +211,7 @@ func (s *Command) run() error { case "sqlite": db, err = dbFactory.NewDatabase(database.SQLITE, &sqlite.Config{ ...
1
1
0
[{"id": "G0", "claim": "The fallback chain in DefaultPath (TERRALIST_HOME env var, os.UserHomeDir, and the \".\" fallback) is unnecessary and should be removed because viper and the path flag defaults already handle these cases, with an explicitly empty home falling back to the flag default instead of case-by-case logi...
null
terralist__terralist__759
terralist/terralist
759
defect
cfd3f86cfdb975e82587f909f99c9be8e9933755
bb1bf9c1c17ef35153718861e1cd01c6864311dd
Support OIDC .well-known discovery
# Summary This adds OpenID Connect discovery support so Terralist can be configured with an issuer host instead of requiring users to manually provide every OIDC endpoint. ### Key changes: - Add `--oi-host` / `TERRALIST_OI_HOST` as the preferred OIDC configuration input. - Fetch OIDC metadata from `/.well-kno...
diff --git a/.mise.toml b/.mise.toml index 55e3f4a6..2a06e076 100644 --- a/.mise.toml +++ b/.mise.toml @@ -1,6 +1,6 @@ [tools] python = "3.10" -go = "1.25.2" +go = "1.25.8" task = "3.44.0" [env] diff --git a/Taskfile.yaml b/Taskfile.yaml index b665ffef..86fe755a 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -...
3
3
3
[{"id": "G0", "claim": "Validation errors out when the discovery document omits supported_scopes (and when advertised scopes are incomplete), but the OIDC spec only recommends that field, so Terralist should log a warning instead of failing.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"...
null
terramate-io__terramate__1182
terramate-io/terramate
1,182
defect
b0b63180aba587c2a463a778ace74b4289415022
d0ade01ca366ab51c9e1abd252633f3835091ddc
feat(tmc): send logs of the user-supplied command to Terramate Cloud.
# Reasons for This Change Terramate Cloud supports visualizing the deployment logs in real-time. ## Description of the changes A log syncer was created that proxies stdout/stderr writes using an in-memory pipe. The syncer creates 3 goroutines (1 for stdout, 1 for stderr and 1 for synchronizing logs) that *MUST...
diff --git a/cloud/cloud.go b/cloud/cloud.go index 21730203c9..14a7df3701 100644 --- a/cloud/cloud.go +++ b/cloud/cloud.go @@ -12,6 +12,7 @@ import ( "io" "net/http" "path" + "strconv" "github.com/terramate-io/terramate" "github.com/terramate-io/terramate/cloud/stack" @@ -133,6 +134,26 @@ func (c *Client) C...
2
1
1
[{"id": "G0", "claim": "Buffered logs are only sent once the batch size or the idle duration is exceeded, so for a command that keeps producing output the syncing could be delayed (worst case ~256s) until the command is done, and the reviewer suggests syncing at a fixed interval instead to provide a live view of the ou...
null
terramate-io__terramate__1206
terramate-io/terramate
1,206
defect
a3725e6fffa0052182d9ce7fd34161acae9d13cb
6823300100aa12b1d1d1119b8669e6f9a93d16c3
feat(tmc): terramate experimental cloud drift show
Implements the command `terramate experimental cloud drift show` for retrieving the drift details from TMC. Example: ``` $ cd stacks/my-stack $ terramate experimental cloud drift show Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the foll...
diff --git a/cloud/cloud.go b/cloud/cloud.go index 3b90db60ea..7668e0246c 100644 --- a/cloud/cloud.go +++ b/cloud/cloud.go @@ -88,8 +88,8 @@ func (c *Client) MemberOrganizations(ctx context.Context) (orgs MemberOrganizati return Get[MemberOrganizations](ctx, c, MembershipsPath) } -// Stacks returns all stacks for ...
2
1
1
[{"id": "G0", "claim": "The Terramate Cloud API uses snake case for query parameters, so GetStack should send `meta_id` instead of `metaID` in its query string (otherwise the metaID filter is ignored).", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "...
null
terramate-io__terramate__1236
terramate-io/terramate
1,236
defect
f0b774a08077ae087e963d416eed83562e063242
4f87d585b15689d180a85f4a3edd29d470e744b7
feat(scripts): parse scripts block
# Reason for This Change This PR is a building block for the upcoming `scripts` functionality. ## Description of Changes * Parse all `script` blocks into `config.Scripts` * Perform basic validation of a `script` block - labels of a `script` block - `script.description` attribute - `script.job` b...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d0a2785e1..a616326e23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ file in rendered ASCII and JSON (sensitive information removed). - Add configuration attribute `terramate.config.cloud.organization` to select which cloud organization to use when syncin...
8
8
4
[{"id": "G0", "claim": "The pull request should consider adding a user-provided command blacklist so that a command evaluating to a blacklisted item (e.g. `rm -rf /`, `sudo`) is rejected.", "category": "security", "verdict": "supported", "priority": "P3", "scope": "unclear"}, {"id": "G1", "claim": "The script label che...
null
terramate-io__terramate__1248
terramate-io/terramate
1,248
defect
fa9976a56dc9f9bd9accf70fec1d9a6426344f40
c8ee4d0f6197ab85144557a5d2b94dbae95d8e85
feat(terramate-ls): implements terramate.createStack command.
The command supports the arguments below: - `uri=` target directory. - `genid=` any value, if set, generates an ID. - `name=` name of the stack. - `description=` description of the stack.
diff --git a/ls/commands.go b/ls/commands.go new file mode 100644 index 0000000000..fd3b0b272c --- /dev/null +++ b/ls/commands.go @@ -0,0 +1,104 @@ +// Copyright 2023 Terramate GmbH +// SPDX-License-Identifier: MPL-2.0 + +package tmls + +import ( + "context" + "encoding/json" + "strings" + + "github.com/google/uuid" + ...
2
2
1
[{"id": "G0", "claim": "The `panic(\"unreachable\")` hit when a `terramate.createStack` argument name is not recognized would crash the language server; return an error such as `ErrUnrecognizedAttr` instead.", "category": "correctness", "verdict": "supported", "priority": "P0", "scope": "introduced"}, {"id": "G1", "cla...
null
terramate-io__terramate__1275
terramate-io/terramate
1,275
defect
f4ed1404766e4891699445bada2cc56d43009cb9
0601d8e8b562331351c167900ada30c3275a8d17
chore(scripts): add debug commands for scripts
## What this PR does / why we need it: Three new experimental commands are added, related to the new scripts feature. For now, they are intended for debugging as they allow inspecting the script hierarchy. #### script-list Shows a list of all available scripts in the current directory. If there are multiple de...
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index afc5749f5f..29a470afa8 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -222,6 +222,16 @@ type cliSpec struct { } `cmd:"" help:"show drifts"` } `cmd:"" help:"manage cloud drifts"` } `cmd:"" help:"Terramate Cloud co...
19
18
3
[{"id": "G0", "claim": "The tree printer should use fmt.Fprintln/Fprint directly and drop the local write/writeln helper closures.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "reflect.DeepEqual is brittle and slow for comparing script labels; ...
null
terramate-io__terramate__1276
terramate-io/terramate
1,276
defect
798e5390ddf4ede4cf5af2911f8ad5e6ce19d7f1
19ba2185da352988fa88f88fc3d80cdd1b8046e1
fix(stdlib): tm_ternary() does not track expression scoped vars.
## What this PR does / why we need it: Some variables are scoped by their expression declaration, that's the case for `[for ...]`, `{for ...}` and `tm_dynamic`. In this case, the `tm_ternary()` implementation must use the provided closure evaluator variables instead of the outer Terramate evaluator. This fixes an...
diff --git a/globals/globals_test.go b/globals/globals_test.go index f5afa698c..d906e9ac9 100644 --- a/globals/globals_test.go +++ b/globals/globals_test.go @@ -2840,6 +2840,26 @@ func TestLoadGlobals(t *testing.T) { ), }, }, + { + name: "global with tm_ternary with branches using variables from for-lo...
1
1
0
[{"id": "G0", "claim": "Fix the typo in the comment added in stdlib/ternary.go: \"the expression own underlying EvalContext\" should read \"the expression's own underlying EvalContext\".", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
terramate-io__terramate__1307
terramate-io/terramate
1,307
defect
d549213942c4466212c780cec23018d098f6fb20
95a022d6de80add05052140617d8e80a3fbaf72f
feat(generate): add stack_filter block
## What this PR does / why we need it: A new `stack_filter` block type is supported in `generate_hcl` blocks. This allows for improved path-based conditional generation. It can significantly improve performance when using path-based rules with lots of stacks. ## Which issue(s) this PR fixes: ## Special notes f...
diff --git a/docs/cli/code-generation/generate-hcl.md b/docs/cli/code-generation/generate-hcl.md index 581f42411c..5b3b0f7326 100644 --- a/docs/cli/code-generation/generate-hcl.md +++ b/docs/cli/code-generation/generate-hcl.md @@ -309,6 +309,53 @@ Blocks defined at different levels with the same label aren't allowed, r...
3
3
0
[{"id": "G0", "claim": "The two wildcard bullet lines in the stack_filter docs should end with periods.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The sentence after the example should read 'located within' and spell 'implicitly' correctly.", ...
null
terramate-io__terramate__1317
terramate-io/terramate
1,317
defect
d549213942c4466212c780cec23018d098f6fb20
5638cf037530a9c655d8cd5ea7844ad8c59a78f6
chore: Add package for printing errors, warnings etc
## What this PR does / why we need it: This PR adds a new abstraction for printing errors, warnings, and information that is more human readable than the existing logging statements. * Create a new package "printer" * Add type Printer + convenience methods to print Errors, Warnings, Success, Information etc. in...
diff --git a/printer/doc.go b/printer/doc.go new file mode 100644 index 0000000000..a7a9d982c5 --- /dev/null +++ b/printer/doc.go @@ -0,0 +1,7 @@ +// Copyright 2023 Terramate GmbH +// SPDX-License-Identifier: MPL-2.0 + +// Package printer defines funtionality for "printing" text to an io.Writer e.g. +// os.Stdout, os.S...
4
4
2
[{"id": "G0", "claim": "The example in the ErrorWithDetailsln doc comment should use double-space-indented lines (rendering as a code block) followed by a blank line instead of a /* */ block comment, unless there is a reason not to.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "intr...
null
terramate-io__terramate__1324
terramate-io/terramate
1,324
defect
c548187d11e0f0588aad74d07efa56ac177d9245
8615d17186fa8fde3ee081343ba50edc128035c5
chore: auto-enable remote check only with remotes
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index 47e9dd2d9c..9a4c7f922b 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -498,10 +498,6 @@ Please see https://terramate.io/docs/cli/configuration/project-setup for details log.Fatal().Msg("flag --changed provided but no git ...
5
1
0
[{"id": "G0", "claim": "Inline the body of the assertSuccess closure in TestRemoteSafeguardDefaults and remove that helper function.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider using `git remote` instead of `git config --get-regexp r...
null
terramate-io__terramate__1354
terramate-io/terramate
1,354
defect
bd666fc07b05e0c1bcfd62297f95c2a689eaa216
c711a3a34191ece75b65d99d7bb0d8efc304c51b
fix: script commands abort if not enabled
## What this PR does / why we need it: If `scripts` is not enabled we must give a good error message explaining how to enable them. ## Special notes for your reviewer: ## Does this PR introduce a user-facing change? ``` no other than better error. ```
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index 3fe0bce6df..2793cb8552 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -160,12 +160,12 @@ type cliSpec struct { List struct{} `cmd:"" help:"Show a list of all scripts in the current directory"` Tree struct{} `cmd:"" hel...
2
2
1
[{"id": "G0", "claim": "The script-enabled check should be moved from printScriptInfo() up into the top-level command switch in cmd/terramate/cli/cli.go, before c.printScriptInfo() is invoked, similar to how c.setupGit() is used.", "category": "design", "verdict": "supported", "priority": "P3", "scope": "introduced"}, ...
null
terramate-io__terramate__1389
terramate-io/terramate
1,389
defect
4b469ba98e692eb6142fede49f24e410ba68f11a
2c0dec2630ee9ca39657e3cdf2c8f5c6dc091c94
chore(cloud): add support attaching planfiles to synced deployments
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/cmd/terramate/cli/run.go b/cmd/terramate/cli/run.go index 8bbf886e9..abe5e0adb 100644 --- a/cmd/terramate/cli/run.go +++ b/cmd/terramate/cli/run.go @@ -111,12 +111,10 @@ func (c *cli) runOnStacks() { fatal(errors.E("--cloud-sync-deployment conflicts with --cloud-sync-drift-status")) } - if c.parsedA...
1
1
0
[{"id": "G0", "claim": "Since it was not obvious why the newly added code prepends the terraform test path to the PATH in the sandbox, a note should be added explaining why it is needed (suggested: \"// needed for invoking `terraform ...` commands in the sandbox tree (see tc.layout)\").", "category": "documentation", "...
null
terramate-io__terramate__1446
terramate-io/terramate
1,446
defect
81fec43960be93b632d3c1d85c1035b1965f2490
3ec0954a90fc12fa7498988c03fa6bb1299442fa
feat: add script.name attribute.
## What this PR does / why we need it: Add an optional `script.name` attribute. This is purely a cosmetic change. Now the commands `terramate script info`, `terramate script list` and `terramate script tree` show the name if available. Example below: <img width="600" alt="Screenshot 2024-02-22 at 19 17 28" src="...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 12f832c8b8..38efbfb3f6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -27,6 +27,7 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Add `terramate.config.generate.hcl_magic_header_comment_style` option for setting the generated comment style. - Add supp...
3
2
0
[{"id": "G0", "claim": "It would be nice to print the script name in the script-run prompt, truncated to a fixed maximum length.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The method and its comment misspell 'Accessor' ('AcessorName'/'acessing') and sh...
null
terramate-io__terramate__1451
terramate-io/terramate
1,451
defect
edf7ad2d3309543c4fa54c84825a4b2c3220b82c
6d14695ba0a935fec9268d0fa76242701a52ab02
refactor: improve previews abstraction
## What this PR does / why we need it: This PR addresses the concerns raised in the following PR: * https://github.com/terramate-io/terramate/pull/1436 ## Which issue(s) this PR fixes: ## Special notes for your reviewer: ## Does this PR introduce a user-facing change? ``` No. ```
diff --git a/cloud/preview/doc.go b/cloud/preview/doc.go new file mode 100644 index 0000000000..1ea002a0bb --- /dev/null +++ b/cloud/preview/doc.go @@ -0,0 +1,6 @@ +// Copyright 2024 Terramate GmbH +// SPDX-License-Identifier: MPL-2.0 + +// Package preview contains functionality for the preview feature in Terramate +//...
1
1
1
[{"id": "G0", "claim": "When the GITHUB_EVENT_PATH env var is missing the code must not silently fall back to using the current time as updated_at, because the event payload is required.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
terramate-io__terramate__1546
terramate-io/terramate
1,546
defect
de19a10785efa856d14d58e7ee4645dbe767bdce
298fb175a0b75f30d0365b6ba4a46d5ea3d70802
fix: use lower case stack.id for lookup
## What this PR does / why we need it: This would allow users to sync stack logs for stacks having uppercase (or mixed case) stack ids. ## Which issue(s) this PR fixes: ## Special notes for your reviewer: ## Does this PR introduce a user-facing change? ``` Yes, this would allow users to sync stacks with uppercase (o...
diff --git a/cloud/types.go b/cloud/types.go index d27e5937f..73b63d403 100644 --- a/cloud/types.go +++ b/cloud/types.go @@ -410,6 +410,11 @@ func (s Stack) Validate() error { if s.MetaID == "" { return errors.E(`missing "meta_id" field`) } + + if strings.ToLower(s.MetaID) != s.MetaID { + return errors.E(`"meta...
1
1
1
[{"id": "G0", "claim": "Add a test for this bugfix — syncing a deployment for a stack whose ID has upper case and its logs — and, in the long term, cover it in interop tests.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
terramate-io__terramate__1576
terramate-io/terramate
1,576
defect
952a854552f0e1c93627ca031f58c4f309ee961d
58a0d67a21c74f3fd5c26436ec5837cab9a676f0
feat: add script.job.name and script.job.description.
## What this PR does / why we need it: Now it's possible to give a meaningful name and description to each `script.job` block. ## Which issue(s) this PR fixes: none ## Special notes for your reviewer: ## Does this PR introduce a user-facing change? ``` yes, a new feature. ```
diff --git a/CHANGELOG.md b/CHANGELOG.md index b7a53fcc2..1e2d51491 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,8 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: ## Unreleased +- Add `script.job.name` and `script.job.description` attributes. + ## v0.5.4 - Fix `--cloud-status` fla...
1
1
0
[{"id": "G0", "claim": "The tree view should probably leave the script description out, since it might be longer and too much information for that view.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
terramate-io__terramate__1604
terramate-io/terramate
1,604
defect
f9d06d626dfda12e1a0539b503d344d80a324103
cde8f4ef5b530d6b07fa626a9cec02b4a6973b3d
feat: add continue-on-error to script run
## What this PR does / why we need it: This PR adds a new flag `--continue-on-error` to the `script run` command. When this flag is set and a command in a script returns an error: * the script execution will be aborted and no further commands or jobs from that script will be run on the current stack node * the scrip...
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index 100a2d2874..8a9472c4d8 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -181,9 +181,10 @@ type cliSpec struct { Cmds []string `arg:"" optional:"true" passthrough:"" help:"Script to show info for."` } `cmd:"" help:"Show ...
2
2
2
[{"id": "G0", "claim": "The 'interrupting execution of further stacks' log line also fires when continueOnError is set, although in that case execution is not interrupted.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "At the other two continueOnErr...
null
terramate-io__terramate__1660
terramate-io/terramate
1,660
defect
9549df6be8156bcdd00d9c386d6591599673dcca
065d10c7cd248317eb8b5e608d2d86d5e0744871
feat: add terramate.config.change_detection.terragrunt option.
## What this PR does / why we need it: Introduces the `terramate.config.change_detection.terragrunt.enabled` attribute supporting the options below: - `auto`: detects if Terragrunt modules are present and enables automatically. - `off`: turn off the integration. - `force`: do Terragrunt change detection even if n...
diff --git a/CHANGELOG.md b/CHANGELOG.md index c1bfa76a9c..9b66ccac37 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,13 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: ## Unreleased +### Added + +- Add `terramate.config.change_detection.terragrunt.enabled` attribute. It supports the val...
1
1
0
[{"id": "G0", "claim": "The CHANGELOG entry for `terramate.config.change_detection.terragrunt.enabled` should mention which of the listed values is the default.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
terramate-io__terramate__1734
terramate-io/terramate
1,734
defect
b68ad288749e8fdbc3799cbcb9db56212bfc4557
627376f94b8509dfda80c368c2c0fd33c10e5b62
feat: add triggers of type ignore-change.
## What this PR does / why we need it: Introduce the `ignore-change` trigger. This kind of trigger can be used when a set of changes would trigger stacks when should not, then the user can now force them to not trigger as changed in the same PR. Usage example: ``` $ terramate list --changed my-stack $ terrama...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 963eafe049..bb99d4b373 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -34,6 +34,9 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - `terramate list --status` - `terramate cloud drift show` - Add `script.lets` block for declaring variables that ...
3
3
0
[{"id": "G0", "claim": "The error message should read \"flags --change and --ignore-change are conflicting\" instead of \"flag --change and --ignore-change conflicts\".", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The CHANGELOG entry should descri...
null
terramate-io__terramate__1740
terramate-io/terramate
1,740
defect
b6541721e302a45da71c0313fd508b1936994725
60cb1766c92d065f4c34dbe39ca2dca3e6cf710c
feat: terramate list --deployment-status=<status> and --drift-status=<status>
## What this PR does / why we need it: Introduce `terramate [list,run] --[deployment,drift]-status=<status>` flags. ## Which issue(s) this PR fixes: none ## Special notes for your reviewer: ## Does this PR introduce a user-facing change? ``` yes, adds a new feature. ```
diff --git a/CHANGELOG.md b/CHANGELOG.md index 47b76a81f9..2df665f6eb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,10 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Add `--ignore-change` flag to `terramate experimental trigger`, which makes the change detection ignore the given stacks....
8
8
0
[{"id": "G0", "claim": "The three NewStatus implementations (deployment, stack, drift) are inconsistent - only two of them panic on parse failure - and should be aligned.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The parse-error wording of the diffe...
null
terramate-io__terramate__1777
terramate-io/terramate
1,777
defect
0c9c648fc036a67021c474ffcfceb2966075261f
2e901f26979cf9bd14a2a1c2705ce372589c1ed4
fix: create --all-terragrunt creates Terragrunt stacks with cycles.
## What this PR does / why we need it: When Terragrunt modules are nested, Terramate generates stacks with `after` references to parent stacks, then creates a cycle because child stacks have an implicit dependency on parent stacks. ## Which issue(s) this PR fixes: Closes #1774 ## Special notes for your revie...
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index e666d777e1..0e72b004fd 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -1467,12 +1467,29 @@ func (c *cli) initTerragrunt() { if err != nil { fatalWithDetailf(err, "creating stack UUID") } + after := []string{} + f...
2
2
1
[{"id": "G0", "claim": "The bare HasPrefix checks could misfire for sibling paths that merely share a string prefix (e.g. A/foo after A/foobar), treating a non-cycle as a parent/child relation.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The pull...
null
terramate-io__terramate__1820
terramate-io/terramate
1,820
defect
4267d87d128844366d96dc8ad3e5790195556326
1e67aa5c2ac4f79b99f759f1352d7d350d2925b1
fix(cloud): fix repository normalization for Gitlab subgroups.
## What this PR does / why we need it: Fix the repository normalization to support repositories in Gitlab subgroups. ## Which issue(s) this PR fixes: none ## Special notes for your reviewer: ## Does this PR introduce a user-facing change? ``` yes, fixes a bug. ```
diff --git a/cloud/git.go b/cloud/git.go deleted file mode 100644 index a44d193ea1..0000000000 --- a/cloud/git.go +++ /dev/null @@ -1,31 +0,0 @@ -// Copyright 2023 Terramate GmbH -// SPDX-License-Identifier: MPL-2.0 - -package cloud - -import ( - "fmt" - "os" - - "github.com/cli/go-gh/v2/pkg/repository" -) - -// Normal...
4
3
0
[{"id": "G0", "claim": "The pull request turns the GitHub-token warning into \"Exporty GITHUB_TOKEN ...\" (a typo); the message should read \"Export GITHUB_TOKEN with your GitHub credentials for enabling metadata collection\" as before.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "in...
null
terramate-io__terramate__2001
terramate-io/terramate
2,001
defect
c9a65640d744382d46d8a88ed6bae7338d725633
23ea8050657d3e5cc07cb1a5b2dfe35d47353dd6
feat: add support for TMC API Keys.
## What this PR does / why we need it: Add support for Terramate Cloud API Keys. ## Which issue(s) this PR fixes: none ## Special notes for your reviewer: ## Does this PR introduce a user-facing change? ``` yes, add a new authentication method. ```
diff --git a/CHANGELOG.md b/CHANGELOG.md index 1665570c66..454fb4c3db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,12 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Backward compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. - Backward compatibility in vers...
2
1
0
[{"id": "G0", "claim": "The JWT/OIDC credential providers duplicate identical ApplyCredentials/RedactCredentials implementations that could be unified into one composable implementation, especially if new OIDC providers are added.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "intr...
null
terramate-io__terramate__2086
terramate-io/terramate
2,086
defect
d4cb356c8eca7a36aeb46c6fcc88686ec45d5293
96570d8e3046b7af73ddb13fb1d122a1db1a4c68
feat: add support for SingleSignOn login.
## What this PR does / why we need it: Implements `terramate cloud login --sso` for Single-Sign-On login. ## Which issue(s) this PR fixes: none ## Special notes for your reviewer: ## Does this PR introduce a user-facing change? ``` yes, adds a new flag to `terramate cloud login` ```
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f401d3f15..680e9d0d65 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,7 +20,12 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Backward compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. - Backward compatibility in vers...
3
1
0
[{"id": "G0", "claim": "Listening on 127.0.0.1:0 so the OS assigns a free random port would be better than picking a random port and retrying 5 times.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The login provider (SSO) could be detected automatically f...
null
terramate-io__terramate__2165
terramate-io/terramate
2,165
defect
a96a75e2e501e13d61683fd3fee5ee9fb53a3eec
5c72dd49b3887b6b6d9d1fd00ce69e39e994504d
fix!: improve performance of stack order evaluation
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/CHANGELOG.md b/CHANGELOG.md index e024d59289..9caa56ea5d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,58 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Backward compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. - Backward compatibility in vers...
4
4
0
[{"id": "G0", "claim": "The comment should read \"Roots of the graph are nodes with no predecessors.\" instead of misspelling \"grph\".", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The variable \"s\" in calcTopologicalOrder should be renamed t...
null
terramate-io__terramate__2173
terramate-io/terramate
2,173
defect
24ab1fe7756c1dd8af4db0ac38b356920303c3a8
5523d188ae4ead8388ef3d308cf0c31a20a43670
fix: module change detection for common name prefix
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 76e1ba4e20..661bc4fe5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,8 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: ### Fixed - Fix crash in the `terramate install-completions` command. +- Fix mistakenly detecting stacks as changed on ch...
1
1
0
[{"id": "G0", "claim": "The internal issue reference in the comment '// Test regression for bug described in SC-15523.' should be avoided in a public repository.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
terramate-io__terramate__2177
terramate-io/terramate
2,177
defect
b226c604b6134cdb0574c0a26be1ec869b9c1d78
7cd7c516fac4377fdfa34193c527b228d5639334
chore: configurable product name
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/commands/version/version.go b/commands/version/version.go index d2344837e..eb4c450d6 100644 --- a/commands/version/version.go +++ b/commands/version/version.go @@ -16,7 +16,9 @@ import ( // Spec represents the version command specification. type Spec struct { - Version string + Product string + P...
3
2
1
[{"id": "G0", "claim": "handleRootVersionFlagAlone uses the unsafe type assertion parsedSpec.(*FlagSpec) instead of the safe AsFlagSpec[FlagSpec]() helper introduced in this commit, and will panic if a custom spec wraps FlagSpec.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduce...
null
terramate-io__terramate__2180
terramate-io/terramate
2,180
defect
05d7ff7c826b96712e41c964569fe0d694283463
cc8f907658f7772656b999c15b809a1290ef97d8
feat: configurable plan render timeout
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 8aada012e4..536d9757e7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,16 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Backward compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. - Backward compatibility in vers...
3
2
2
[{"id": "G0", "claim": "The PlanRenderTimeout flag, defined as an int in seconds, is not properly wired to the time.Duration task field (assigned without conversion or not assigned at all), so the configured value would be misinterpreted or ignored, resulting in extremely short or default timeouts.", "category": "corre...
null
terramate-io__terramate__2193
terramate-io/terramate
2,193
defect
75139f3bedd794cc701fd8c4e77309e671a06bd2
0c0817df120d0380992587e1f168e78ba6540320
feat: add tm_tree function to build tree branches from parent-child pairs
## What this PR does / why we need it: This PR introduces a new built-in Terramate function `tm_tree()` that converts an unordered list of (parent, child) pairs into a list of branch paths. This function enables users to derive hierarchical paths from relational data for use in code generation. Key features: -...
diff --git a/stdlib/funcs.go b/stdlib/funcs.go index 2d2a66d4c8..8d48c883b9 100644 --- a/stdlib/funcs.go +++ b/stdlib/funcs.go @@ -102,6 +102,8 @@ func Functions(basedir string, experiments []string) map[string]function.Functio tmfuncs["tm_slug"] = SlugFunc() + tmfuncs["tm_tree"] = TreeFunc() + return tmfuncs ...
3
2
1
[{"id": "G0", "claim": "buildTree's conflicting-parent detection misses a child assigned both a null parent and a non-null parent, because null-parent assignments are never recorded in parentChildMap, which can lead to an 'unknown parent' error instead of the expected 'conflicting parents' error or an invalid tree stru...
null
terramate-io__terramate__2196
terramate-io/terramate
2,196
defect
0adc4ce6360378e3d40442d10d9de3f2b1ad9ddf
21957fea7648bcd79ffb8f646b8997eff01f2eed
feat: extend tm_slug() to accept both string and list(string)
## What this PR does / why we need it: This PR enhances the `tm_slug()` function to be **polymorphic**, accepting both `string` and `list(string)` inputs and returning the appropriately typed slugified result. This eliminates the need for verbose list comprehensions when slugifying multiple values. **Key improve...
diff --git a/CHANGELOG.md b/CHANGELOG.md index d7e68c55b6..0ef5def7fd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,15 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Backward compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. - Backward compatibility in vers...
6
5
2
[{"id": "G0", "claim": "tm_slug's type handling fails for edge cases: for unknown inputs it returns cty.DynamicVal plus an error instead of propagating the unknown value, and a null tuple is returned as a null tuple, violating the Type function's declared List(String) return type.", "category": "correctness", "verdict"...
null
terramate-io__terramate__2217
terramate-io/terramate
2,217
defect
00130ffd2d4788dec90ab0b47550284a013216da
d39058a8e9466054ac5acbf069ca98c46dd88b2b
fix: use unbuffered IO for non-cloud, non-parallel run
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 74a0a9c7f..98f8bd19d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,11 +20,21 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Backward compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. - Backward compatibility in versi...
2
1
0
[{"id": "G0", "claim": "Use a named constant instead of the raw boolean in the run.cli.NewCmd call in the runner signal fixture to improve readability.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The newly added parallel interactive test is d...
null
terramate-io__terramate__2218
terramate-io/terramate
2,218
defect
00130ffd2d4788dec90ab0b47550284a013216da
64541b2fa690c2ff668fddf68833daf99b100946
fix: --no-recursive supports output dependency flags
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/CHANGELOG.md b/CHANGELOG.md index 74a0a9c7f..351d28e67 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,12 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - Backward compatibility in versions `0.0.z` is **not guaranteed** when `z` is increased. - Backward compatibility in versio...
1
1
0
[{"id": "G0", "claim": "The new changelog entry should read \"Apply `--include-output-dependencies` and `--only-output-dependencies` flags when used together with `--no-recursive`\" instead of \"Fix ... flags not being applied when used together with `--no-recursive`\", as the reviewer finds that clearer.", "category":...
null
terramate-io__terramate__2225
terramate-io/terramate
2,225
defect
238b02aad43309e7d064b8194825cb5f78ac234a
fc228b5d7936285dbe82a4a9c4c85f36b292f094
feat: Send GitHub user type field as metadata
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-pull...
diff --git a/cloud/api/metadata/github.go b/cloud/api/metadata/github.go index aba79d840..53a46f0ec 100644 --- a/cloud/api/metadata/github.go +++ b/cloud/api/metadata/github.go @@ -46,11 +46,12 @@ type GithubPullRequest struct { type GithubUser struct { ID string `json:"id,omitempty"` NodeID string `js...
2
1
1
[{"id": "G0", "claim": "The new Type field in GithubUser is missing the omitempty JSON tag, so an empty Type is serialized as {\"type\": \"\"} instead of being omitted, inconsistent with the struct's other fields.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1"...
null
terramate-io__terramate__2241
terramate-io/terramate
2,241
defect
a7e0c57b65b1672182d23286f4368e9191bbc11f
2fbbccc9891a592575cc86aa6f4452898d3e7ec2
Protect terramate.* namespace from renaming and add terramate.run.env.* to renaming and go to definitions
## What this PR does / why we need it: This PR adds additional behavior to the Terramate Language Server: - Environment variables defined in `terramate.config.run.env` and `stack` configuration blocks should be fully navigable and renameable, just like `global` and `let` variables. - Everything else in the `terr...
diff --git a/CHANGELOG.md b/CHANGELOG.md index ccac7fde6..18e04811a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -42,6 +42,8 @@ Given a version number `MAJOR.MINOR.PATCH`, we increment the: - `--exclude-all-dependencies`: Remove all stacks that the selected stacks depend on from the selection - `--exclude-all-...
2
2
1
[{"id": "G0", "claim": "The error returned by findEnvInFile is ignored (assigned to _) in the references and rename lookup paths for terramate.run.env definitions, which can cause silent failures if terramate.tm.hcl cannot be read or parsed, unlike the existing definition lookup which handles these errors.", "category"...
null
terramate-io__terramate__2255
terramate-io/terramate
2,255
defect
a18719b8113326ee3bd613f6bda9a8d0d5755a83
391410cc4d46f3d710e4bd20236fc30cefca54b1
refactor: make language server code reusable
<!-- Thanks for sending a pull request! Here are some tips for you: 1. If this is your first time, please read our contributor guidelines: https://github.com/terramate-io/terramate/blob/main/CONTRIBUTING.md 2. If the PR is unfinished, mark it as draft: https://docs.github.com/en/pull-requests/collaborating-with-p...
diff --git a/.gitignore b/.gitignore index 3a5e1c131..9c83c47ec 100644 --- a/.gitignore +++ b/.gitignore @@ -27,8 +27,4 @@ cosign.pub # Claude .claude/ -CLAUDE.md - -# Terramate binaries -terramate -terramate-ls \ No newline at end of file +CLAUDE.md \ No newline at end of file diff --git a/cmd/terramate-ls/main.go...
1
1
1
[{"id": "G0", "claim": "Using append(s.hclOptions, ...) directly on the struct field slice may corrupt the shared backing array (or leak experiments between operations) if the slice has spare capacity, so the options should be copied before appending.", "category": "correctness", "verdict": "supported", "priority": "P1...
null
terramate-io__terramate__418
terramate-io/terramate
418
defect
6f3d97a58f5800c82e4d4f1b18645adb48ff1198
993fc940990141df98b866dad58bbc212cb2a941
chore: add basic test for interruption handling
Some basic testing for the signal handling behavior + forced kill + test command that will be useful for other features like run env :-)
diff --git a/cmd/terramate/e2etests/cmd/test/test.go b/cmd/terramate/e2etests/cmd/test/test.go new file mode 100644 index 000000000..a2ed94da4 --- /dev/null +++ b/cmd/terramate/e2etests/cmd/test/test.go @@ -0,0 +1,53 @@ +// Copyright 2022 Mineiros GmbH +// +// Licensed under the Apache License, Version 2.0 (the "Licens...
4
3
0
[{"id": "G0", "claim": "Asks whether a bigger signal buffer (10) actually solved the signal-loss issues encountered, questioning whether the size is justified.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The terramate stdout is additional troubleshoot...
null
terramate-io__terramate__447
terramate-io/terramate
447
defect
6c6a82aa4072833e9706391e02f1799bfd27e7bb
e5e77cb0e8b20d3e971039e67d197209571e4a1c
feat: add stack.Create function
This function will be used to implement the CLI `terramate create`. This PR includes only the core logic/function, will build the CLI layer on top of this. I was not comprehensive with validations, like checking if it is a leaf stack etc, if that is the case the user will get an error after creating the stack (for now)...
diff --git a/go.mod b/go.mod index 128f3ecab..512e10968 100644 --- a/go.mod +++ b/go.mod @@ -21,7 +21,7 @@ require ( github.com/apparentlymart/go-cidr v1.1.0 // indirect github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect github.com/bmatcuk/doublestar v1.1.5 // indirect - github.com/google/uuid v1.2.0 //...
9
4
0
[{"id": "G0", "claim": "TerramateParser.Imports() should follow the convention of returning either the value or the error (as in the suggested `if err := errs.AsError(); err != nil { return err }; return imports, nil`) instead of returning both together.", "category": "design", "verdict": "supported", "priority": "P2",...
null
terramate-io__terramate__460
terramate-io/terramate
460
defect
0e9a823c73d10a3a9231c31d2a3d85edf0b7ba95
34ceb6ee7e1635d27e1a28c767950dd6d56f9051
feat: add terramate.config.run.check_gen_code config
Add new configs to run block: ``` check_gen_code = true ``` When the attribute is not defined in the run block it defaults to true.
diff --git a/hcl/hcl.go b/hcl/hcl.go index 0f02649fa..734546773 100644 --- a/hcl/hcl.go +++ b/hcl/hcl.go @@ -50,6 +50,10 @@ type Config struct { // RunConfig represents Terramate run configuration. type RunConfig struct { + // CheckGenCode enables generated code is up-to-date check on run. + CheckGenCode bool + + /...
2
1
0
[{"id": "G0", "claim": "The new error creation function from #458 can be used for these errors.E calls once #458 is merged.", "category": "maintainability", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The manual if/t.Fatalf comparison of CheckGenCode can be replaced with the...
null
terramate-io__terramate__559
terramate-io/terramate
559
defect
f5d00ccd38272dd461b4137bb7481659866c3f77
caa0cbf82d02485bf3f665b0b4bdce5f67912d7b
fix: vendor: fails on subdir references
# Reason for This Change Today we fail on vendoring when there are [sub directories references](https://www.terraform.io/language/modules/sources#modules-in-package-sub-directories) on the source. ## Description of Changes Add support to parsing the subdir and use that information when patching terraform files...
diff --git a/cmd/terramate/e2etests/exp_vendor_test.go b/cmd/terramate/e2etests/exp_vendor_test.go index fb47bcfee..a488a72fa 100644 --- a/cmd/terramate/e2etests/exp_vendor_test.go +++ b/cmd/terramate/e2etests/exp_vendor_test.go @@ -66,6 +66,31 @@ func TestVendorModule(t *testing.T) { res := tmcli.run("experimental"...
2
2
0
[{"id": "G3", "claim": "The \"subdir := parseURLSubdir(u)\" line should be moved below the path-computation lines (per the supplied suggestion block) so the explanatory comment about ':' sits close to the code it refers to.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"...
null
terramate-io__terramate__583
terramate-io/terramate
583
defect
30e5e001f17e0ebcf08bbdb7464469477d3aedeb
9142ce42e36a35d6656d8f269b8bdcbcb4e4fa21
chore: refactor of globals
- Make globals independent of the stack concept. - Introduces the globals.EvalReport for reporting the result of evaluating all globals, so clients can make decisions and use partial data.
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index a379de150..6eb16aadd 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -1035,15 +1035,15 @@ func (c *cli) printStacksGlobals() { for _, stackEntry := range c.filterStacksByWorkingDir(report.Stacks) { meta := stack.Metada...
6
5
0
[{"id": "G0", "claim": "The printed project metadata key `terramate.stacks.all` seems wrong; the reviewer asks what it is and suggests it should be `stacks.list`.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The error sentinel should read \"global ev...
null
terramate-io__terramate__584
terramate-io/terramate
584
defect
30e5e001f17e0ebcf08bbdb7464469477d3aedeb
4adb37ab883f65cfe01361dccc6f7faf166cddfb
feat: add terramate experimental eval
Implements the commands `experimental eval` and `experimental partial-eval`. Usage: ``` $ terramate --chdir /path/to/tm/dir experimental eval 'tm_upper(global.hello)' "HELLO" ``` ``` $ terramate --chdir /path/to/tm/dir experimental partial-eval '"${global.hello} ${unknown.name}"' "HELLO ${unknown.name}" ...
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index a379de150..b1daefeca 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -23,13 +23,17 @@ import ( "time" "github.com/google/uuid" + "github.com/hashicorp/hcl/v2/hclwrite" "github.com/mineiros-io/terramate/errors" "gith...
10
7
1
[{"id": "G0", "claim": "The redundant []byte() conversion around hclwrite.Format should be dropped because hclwrite.Format already returns an []byte.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Maybe evaluating expressions should live in a fu...
null
terramate-io__terramate__585
terramate-io/terramate
585
defect
30e5e001f17e0ebcf08bbdb7464469477d3aedeb
a9d062c0937c786012e207b5f392633e24e5c8c9
feat: add terramate experimental get-config-value
Implements the `experimental get-config-value <var accessor>` command: Usage: ``` $ cat globals.tm globals { hello = "hello world" values = ["a", "b", "c", "d"] obj = { level1 = { level2 = { val = "test" } } } } $ terramate experimental get-config-value global.hello hello world ...
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index a379de150..c1aa88645 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -23,13 +23,19 @@ import ( "time" "github.com/google/uuid" + hhcl "github.com/hashicorp/hcl/v2" + "github.com/hashicorp/hcl/v2/hclwrite" "github.com/...
7
2
0
[{"id": "G0", "claim": "The log action string should read \"cli.getConfigValue()\" instead of \"cli.GetConfigValue()\" to match the function name.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "cli.getConfigValue is quite similar to cli.eval fro...
null
terramate-io__terramate__683
terramate-io/terramate
683
defect
c684ffef41318ee1983cbcb321a88e10768628be
1ba4355212525841829effecdb04453fa4ae40e6
chore: improve create output
# Reason for This Change Errors should have more context now and look like this: ``` terramate create stack-3 2022-10-31T19:15:02+01:00 FTL can't create stack: stack already exists stack=/stack-3 ``` ``` terramate create stack-1 2022-10-31T19:15:17+01:00 FTL can't create stack: default cfg file already ex...
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index de8cc7a0d..5057b3ad7 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -722,11 +722,24 @@ func (c *cli) createStack() { Imports: c.parsedArgs.Create.Import, }) + stackPath := filepath.ToSlash(strings.TrimPrefix(stack...
1
1
0
[{"id": "G0", "claim": "The ErrStackDefaultCfgFound sentinel could read \"default configuration file for stack already exists\" instead of \"default cfg file already exists\", to make clear it refers to the default file used for stacks.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope":...
null
terramate-io__terramate__687
terramate-io/terramate
687
defect
c684ffef41318ee1983cbcb321a88e10768628be
e290ea139275f8d09577767671047c9d674e4538
feat: add --ignore-existing on terramate create
# Reason for This Change Allow `terramate create --ignore-existing` which then will not fail if the stack already exists (but won't do any changes on the stack).
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index de8cc7a0d..63994debc 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -94,13 +94,14 @@ type cliSpec struct { DisableCheckGitUncommitted bool `optional:"true" default:"false" help:"Disable git check for uncommitted files"` ...
1
1
0
[{"id": "G0", "claim": "The CLI should log something when it silently returns because the stack already exists, so the user knows the stack was not created.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
terramate-io__terramate__929
terramate-io/terramate
929
defect
0b51e30bdf417a41f8adcbf845344ec4cc01a0e4
cf4e8daf5b98d1c4ff67045f6e08a8fe71d9d4e1
feat: terramate experimental cloud login
Implements the `terramate experimental cloud login`. Adding `-v` provides detailed output. - Add `user_terramate_dir` option to `.terramaterc` file (CLI config file) - Login with Google Provider. - Open the browser with the OAuth2 consent page. - RedirectURI to 127.0.0.1:<randon port in range 40000-52023> - Sto...
diff --git a/cmd/terramate/cli/cli.go b/cmd/terramate/cli/cli.go index b8ba0fa26..9acc94fff 100644 --- a/cmd/terramate/cli/cli.go +++ b/cmd/terramate/cli/cli.go @@ -112,6 +112,9 @@ type cliSpec struct { DisableCheckpoint bool `optional:"true" default:"false" help:"Disable checkpoint checks for updates"` Di...
2
2
0
[{"id": "G0", "claim": "The new login command should be named \"experimental cloud login\" instead of \"login\".", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The login flow should automatically open the browser at the login window instead of asking the...
null
terrastruct__d2__1006
terrastruct/d2
1,006
defect
6670e1967c5f1952c66794b9ee1fb36f533f55a6
6632740fb19282d0cd36cd1339cd5d22c959cb9e
Accept higher value in border-radius to be able to render a pill shaped rectangle
# Summary Remove the higher limit of `border-radius`, to be able to render rectangle shape as "pill". # Details * Computing the value of `rx` and `ry` from the shape `width` and `height` to render the same way CSS does * Limiting `rx` and `ry` values to half of the minumum value between `width` and `height` to mi...
diff --git a/d2exporter/export.go b/d2exporter/export.go index bc84f4246b..1c1dd2ecc4 100644 --- a/d2exporter/export.go +++ b/d2exporter/export.go @@ -76,7 +76,7 @@ func applyStyles(shape *d2target.Shape, obj *d2graph.Object) { shape.Multiple, _ = strconv.ParseBool(obj.Attributes.Style.Multiple.Value) } if obj.A...
5
4
2
[{"id": "G0", "claim": "The border-radius validation should check whether `f > 1` first, and only then check whether the value has a decimal part.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The error message copy should read `...if greater t...
null
terrastruct__d2__1294
terrastruct/d2
1,294
defect
91beb8d12dddda6dabb09a6fc5cb6d25bac029d8
9f9b464b7fcacbd9c0d267e6cee0c682c4a7065c
Fix shape-specific grid container sizing
## Summary Use shape specific sizing for grid containers. ## Details - fixes #1247 - adds cylinder_grid_label test ### before/after ![Screen Shot 2023-05-03 at 8 01 19 PM](https://user-images.githubusercontent.com/85081687/236104209-1f3abc07-8a88-4e1b-b3e1-dab4e468d313.png)
diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index f3c0d2a774..f8c1119ab4 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -2,4 +2,6 @@ #### Improvements 🧹 +- Use shape specific sizing for grid containers [#1294](https://github.com/terrastruct/d2/pull...
4
2
1
[{"id": "G0", "claim": "SizeToContent makes no sense returning a shape.Shape; functions should not be written so tightly coupled with the calling code.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Leave a comment explaining how to use SizeToContent and...
null
terrastruct__d2__1643
terrastruct/d2
1,643
defect
c49bc8e847b7dc9bc390c0e3b2baa1e195475da6
1a4001d56e960e15d5543569ab2cfb1147454c53
Fix panic with var in glob
## Summary Fixes a panic that could happen using a var in a glob. ## Details - fixes #1642 - adds var_in_glob test - updates Equals check to consider nil MapKeys (spread substitution into map has no map key) - would occur when comparing `RefContext`s to find the glob context ### substitution can have n...
diff --git a/ci/release/changelogs/next.md b/ci/release/changelogs/next.md index d0c8a972ae..870bdaaac3 100644 --- a/ci/release/changelogs/next.md +++ b/ci/release/changelogs/next.md @@ -8,3 +8,4 @@ #### Bugfixes ⛑️ - Grid layout now accounts for each cell's outside labels and icons [#1624](https://github.com/terra...
2
1
0
[{"id": "G0", "claim": "The two nil checks in Key.Equals could be collapsed into a single `if (mk1 == nil) != (mk2 == nil)` condition.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR should also add the same nil handling to D2OracleEquals, n...
null