-
Notifications
You must be signed in to change notification settings - Fork 894
feat: add agent timings #14713
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
Merged
Merged
feat: add agent timings #14713
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit
Hold shift + click to select a range
bcfacf7
feat: begin impl of agent script timings
DanielleMaywood d55b2e6
feat: add job_id and display_name to script timings
DanielleMaywood 05d8a8b
fix: increment migration number
DanielleMaywood d54f6c3
fix: rename migrations from 251 to 254
DanielleMaywood d573c67
test: get tests compiling
DanielleMaywood 09a1a42
fix: appease the linter
DanielleMaywood 6d829f3
fix: get tests passing again
DanielleMaywood 4df7831
fix: drop column from correct table
DanielleMaywood 2565f0a
test: add fixture for agent script timings
DanielleMaywood 669b837
fix: typo
DanielleMaywood df51673
fix: use job id used in provisioner job timings
DanielleMaywood c6d71d1
fix: increment migration number
DanielleMaywood a306e48
test: behaviour of script runner
DanielleMaywood 4b0056c
test: rewrite test
DanielleMaywood 14b68a1
test: does exit 1 script break things?
DanielleMaywood b22cb57
test: rewrite test again
DanielleMaywood ef5e2fe
fix: revert change
DanielleMaywood a5b412b
fix: let code breathe
DanielleMaywood 57ebf30
fix: wrap errors
DanielleMaywood 2a49f67
fix: justify nolint
DanielleMaywood 0698584
fix: swap require.Equal argument order
DanielleMaywood 3580069
fix: add mutex operations
DanielleMaywood 9cb1252
feat: add 'ran_on_start' and 'blocked_login' fields
DanielleMaywood 0b0d1ef
fix: update testdata fixture
DanielleMaywood eb857c1
fix: refer to agent_id instead of job_id in timings
DanielleMaywood 586d88f
fix: JobID -> AgentID in dbauthz_test
DanielleMaywood b6289bb
fix: add 'id' to scripts, make timing refer to script id
DanielleMaywood 863c3dc
fix: fix broken tests and convert bug
DanielleMaywood b8d5d1d
fix: update testdata fixtures
DanielleMaywood 61c26ea
fix: update testdata fixtures again
DanielleMaywood 7f8b6f9
feat: capture stage and if script timed out
DanielleMaywood c20ac32
fix: update migration number
DanielleMaywood c652133
test: add test for script api
DanielleMaywood 1199b64
fix: fake db query
DanielleMaywood afa61eb
fix: use UTC time
DanielleMaywood 8d325e2
fix: ensure r.scriptComplete is not nil
DanielleMaywood aeee582
fix: move err check to right after call
DanielleMaywood 424069c
fix: uppercase sql
DanielleMaywood 9b43a94
fix: use dbtime.Now()
DanielleMaywood ed31199
fix: debug log on r.scriptCompleted being nil
DanielleMaywood 8814711
fix: ensure correct rbac permissions
DanielleMaywood 0414623
chore: remove DisplayName
DanielleMaywood a8192a5
Merge branch 'main' into dm-add-agent-timings
DanielleMaywood 08a466a
fix: get tests passing
DanielleMaywood 8e7c757
fix: remove space in sql up
DanielleMaywood 621071e
docs: document ExecuteOption
DanielleMaywood 3b4df92
fix: drop 'RETURNING' from sql
DanielleMaywood 44127b8
chore: remove 'display_name' from timing table
DanielleMaywood 5846216
fix: testdata fixture
DanielleMaywood c43a143
fix: put r.scriptCompleted call in goroutine
DanielleMaywood 13889bf
fix: track goroutine for test + use separate context for reporting
DanielleMaywood bf32b89
fix: appease linter, handle trackCommandGoroutine error
DanielleMaywood 7fe6d8c
fix: resolve race condition
DanielleMaywood d7e86c6
feat: replace timed_out column with status column
DanielleMaywood 6e338f2
test: update testdata fixture
DanielleMaywood 79a620b
fix: apply suggestions from review
DanielleMaywood 180307f
revert: linter changes
DanielleMaywood 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
fix: use UTC time
- Loading branch information
commit afa61ebc66ebd0b284d1574deb2684e8e4ac890a
There are no files selected for viewing
This file contains hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.