Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(entities): fix drift with browserapplication properties from entities package #1186

Merged

Conversation

pranav-new-relic
Copy link
Member

@pranav-new-relic pranav-new-relic commented Jul 3, 2024

Background

With #1171 merged, the entities package was cleaned up and the team has been running tests in the New Relic Terraform Provieder with the latest version comprising #1171 (v2.39.1 of the New Relic Go Client) to make sure nothing's broken and everything's running fine.

A tiny little glitch was found in one of these Terraform integration tests run on newrelic/terraform-provider-newrelic#2708.

image

Upon further investigation, the cause was found. This block of code, which may have been manually added (owing to the issues we faced earlier with the entities package in Tutone) kinda got wiped away by our cleanup PR #1171, though we did change the depth of the entity query to 3 - it looks like we need greater depth to get these missing attributes.

However, to save time on the immediate release of the Terraform Provider we ought to do for an NRQL alert condition PR, I shall be adding this code change manually, and once the release is done, in the next few days, I shall create a PR to change the entity query to use depth 4.

You may see in the following screenshot that the failing tests's configuration now works fine after this manual addition.

image image

@pranav-new-relic pranav-new-relic marked this pull request as ready for review July 3, 2024 15:54
@pranav-new-relic pranav-new-relic merged commit cb2e3bf into main Jul 3, 2024
13 of 14 checks passed
@pranav-new-relic pranav-new-relic deleted the entites-pkg-cleanup-browser-applications-missing-fix branch July 3, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant