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

Remove duplicate deploy agent version #1773

Merged

Conversation

osoriano
Copy link
Contributor

@osoriano osoriano commented Jan 14, 2025

Summary

There were two ways of determining the deploy agent version:

  1. From the __version__ variable
  2. From the config file

Keep the __version__ variable and remove the config file version

Also, clean up the test which was not testing a real scenario since the
config is always passed in to the client

Testing Done

Ran the updated code and ensured the agent version was still logged and sent in the ping request

@github-actions github-actions bot added the deploy-agent Includes changes to deploy-agent label Jan 14, 2025
There were two ways of determining the deploy agent version:

1. From the __version__ variables
2. From the config file

Keep the __version__ variable and remove the config file version

Also, clean up the test which was not testing a real scenario since the
config is always passed in to the client
@osoriano osoriano force-pushed the osoriano/cleanup-deploy-agent-version branch from 08df988 to e4f602e Compare January 14, 2025 20:11
@osoriano osoriano marked this pull request as ready for review January 14, 2025 20:14
@osoriano osoriano requested a review from a team as a code owner January 14, 2025 20:14
@osoriano osoriano merged commit b6c78d2 into pinterest:master Jan 14, 2025
8 checks passed
@osoriano osoriano deleted the osoriano/cleanup-deploy-agent-version branch January 14, 2025 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy-agent Includes changes to deploy-agent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants