Skip to content

Conversation

@gsanchezgavier
Copy link
Contributor

  • reuse const defaults
  • improves e2e test assertion time

@gsanchezgavier gsanchezgavier requested a review from a team as a code owner November 4, 2025 15:36
@gsanchezgavier gsanchezgavier added the onhost-extended-e2e Execution of on host e2e in the current branch label Nov 4, 2025
@gsanchezgavier gsanchezgavier force-pushed the gsanchez/chore/improve-cli branch from 11790d2 to 572a18d Compare November 4, 2025 15:37
Comment on lines +90 to +92
// Fleet Control auto generated agent id
pub const AGENT_ID_INFRA_AGENT: &str = "nr-infra";
pub const AGENT_ID_NRDOT: &str = "nrdot";
Copy link
Contributor

Choose a reason for hiding this comment

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

We should have a way to make this robust to unilateral changes from FC (not saying it will happen, but it's the kind of thing with potential to break something in the long term xD)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

at least we have it in a const now

(
"license_key".to_string(),
serde_yaml::Value::String("{{NEW_RELIC_LICENSE_KEY}}".to_string()),
serde_yaml::Value::String(format!("{{{{{NEW_RELIC_LICENSE_CONFIG_KEY}}}}}")),
Copy link
Contributor

Choose a reason for hiding this comment

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

Lisp but with braces!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was thinking how horrible was this while doing it but i was too lazy to check if there was a better way

@gsanchezgavier gsanchezgavier force-pushed the gsanchez/chore/improve-cli branch from 572a18d to bae8cf3 Compare November 5, 2025 08:02
Copy link
Contributor

@DavSanchez DavSanchez left a comment

Choose a reason for hiding this comment

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

Thanks! 🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

onhost-extended-e2e Execution of on host e2e in the current branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants