-
Notifications
You must be signed in to change notification settings - Fork 501
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
feat(childprocess): add new interfaces for tracking child processes #6394
Open
Hweinstock
wants to merge
56
commits into
aws:master
Choose a base branch
from
Hweinstock:process/command
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 47 commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
53aaeef
implement basic tracker class
Hweinstock d48f1b3
add option in dev menu to start processes
Hweinstock 44fe332
add dependency to track pid usage
Hweinstock 9d40215
warn on exceeding thresholds
Hweinstock bcb6423
add first test case
Hweinstock 8975c33
expand test suite
Hweinstock 72681fd
simplify and expand test suite
Hweinstock 5c652b6
add more tests
Hweinstock 6bb8c74
refactor
Hweinstock a9224d3
remove tracker interface
Hweinstock 4bfff0a
refactor wording
Hweinstock 61e6fbf
Merge branch 'master' into process/track
Hweinstock 2df7506
use topic logger
Hweinstock efe336e
improve test performance by properly stopping timer
Hweinstock 30ab5b5
fix circular dep
Hweinstock 10537e1
add debugging messages for flaky test
Hweinstock 46a556b
add safe wrapper around stop
Hweinstock 3c1531f
avoid waitUntil with stubbed clock
Hweinstock e9b4605
remove dependency
Hweinstock c1975f9
avoid circular dep
Hweinstock 59f8215
fix logging statements
Hweinstock 39175c0
clean up tests
Hweinstock e04eefe
increase waiting period to avoid flakiness
Hweinstock abf3603
add some debugging information for flaky test
Hweinstock 4f2eaf0
handle result and process individually and explicitly
Hweinstock b0976b3
remove repeat tests
Hweinstock ec3abbf
reword logging statement
Hweinstock 422fa1d
Merge branch 'master' into process/track
Hweinstock 9f24127
add dummy command
Hweinstock 2d31675
convert tracker to singleton class
Hweinstock ee81478
log all usage at info level
Hweinstock 6385594
switch command name
Hweinstock b3d1fd4
add testing
Hweinstock be8fffb
refactor tests to avoid mocking when not necessary
Hweinstock 6572e6b
add changelog
Hweinstock 31fd2b9
add tests for telemetry
Hweinstock c0bc44e
implement telemetry for exceeding thresholds
Hweinstock fee1fcb
merge in telemetry changes
Hweinstock 1286ee2
add process as str to telemetry
Hweinstock e25df1b
remove explicit adding now that tracker is singleton
Hweinstock 5090323
add a safety clear before tests run
Hweinstock 7685707
regroup tests
Hweinstock 7a702ff
refactor sub-functions
Hweinstock db973f5
Merge branch 'master' into process/track
Hweinstock 2e94873
merge in upstream changes
Hweinstock 36c8d68
merge in upstream changes
Hweinstock dcd48d6
merge in upstream again
Hweinstock 7622e5c
add units to process stat keys
Hweinstock bf515e0
resolve circ dep
Hweinstock 045f9f0
fix failing tests
Hweinstock 30dd7d4
rename commands and remove outdated changelog
Hweinstock 73b4210
update changelog
Hweinstock 0762cb7
update telemetry
Hweinstock 628a9d3
make it clear it is currently being logged
Hweinstock a427db9
Merge branch 'origin-master' into process/command
Hweinstock b329ede
update changelog to match
Hweinstock File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
packages/amazonq/.changes/next-release/Feature-db34038d-d2bf-4b6e-b4dc-ac84c0156ab5.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"type": "Feature", | ||
"description": "Subprocesses are now tracked and visible by \"Log All Active Subprocesses\" in command palette" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we introduce it as a more generic
Show Stats
orReport Performance
command? Even if it only has process stuff currently.