Skip to content

Fix core-agent-manager#202

Merged
adamchainz merged 1 commit intomasterfrom
fix_core_agent_manager
Jul 4, 2019
Merged

Fix core-agent-manager#202
adamchainz merged 1 commit intomasterfrom
fix_core_agent_manager

Conversation

@adamchainz
Copy link
Copy Markdown
Contributor

Fixes #120. Steps:

  • Added a call to AgentContext.build() to restore functionality. This is the
    only thing that broke. I used git bisect to discover that it was broken in
    6ab579e, which is when AgentContext was
    refactored.
  • Refactored to remove the unnecessary extra functions for the subparsers
  • Removed unnecessary subparser name validity check, as this is done by
    argparse already
  • Restored test coverage checking for the file
  • Added some basic tests to get to 100% coverage

@adamchainz adamchainz requested review from cschneid and dlanderson July 1, 2019 15:01
Fixes #120. Steps:

* Added a call to `AgentContext.build()` to restore functionality. This is the
  only thing that broke. I used `git bisect` to discover that it was broken in
  6ab579e, which is when `AgentContext` was
  refactored.
* Refactored to remove the unnecessary extra functions for the subparsers
* Removed unnecessary subparser name validity check, as this is done by
  argparse already
* Restored test coverage checking for the file
* Added some basic tests to get to 100% coverage
Copy link
Copy Markdown
Contributor

@dlanderson dlanderson left a comment

Choose a reason for hiding this comment

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

Great, thanks for fixing it! This script comes in handy for those people who would want to manage the core agent outside of the instrumented application for various reasons.

@adamchainz adamchainz merged commit 4b3bfd1 into master Jul 4, 2019
@adamchainz adamchainz deleted the fix_core_agent_manager branch July 4, 2019 08:56
@adamchainz
Copy link
Copy Markdown
Contributor Author

Do you think it's worth documenting now then?

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.

Support Queue timing in Python agent

2 participants