-
Notifications
You must be signed in to change notification settings - Fork 899
fix(coderd): use stable sorting for insights and improve test coverage #9250
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
mafredri
merged 33 commits into
main
from
mafredri/test-improve-template-insights-tests
Aug 24, 2023
Merged
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
ffc7391
test(coderd): add extended template insights test suite
mafredri 95ad848
add initial golden files
mafredri d4d58cf
add some more usage and verify golden
mafredri e4f901a
fixes
mafredri f333170
add an hour of app usage
mafredri 6fb49a9
add 15 min of app usage -> active user on last day
mafredri e9a967e
add placeholder data
mafredri 9879462
add identical usage in two templates for one user
mafredri fc1a98d
test app merging
mafredri f14ddf6
fix(codersdk): use url values for query params
mafredri 8a60568
improve stability of template id
mafredri 7d93d13
add sao paulo tz test (invalid interval times)
mafredri f9fdb47
fix start/end time tz returned in interval report
mafredri 54638b0
cleanup
mafredri 7b0ac4c
refactor template creation with stable IDs
mafredri 1e7d860
add parameter test
mafredri 9d96052
refactor
mafredri 930d7ef
add parameter no data test
mafredri 07cdc0b
add 1h usage to other user
mafredri 73367d1
add usage outside of utc timeframe
mafredri c2a0496
add third user with ssh and web term usage
mafredri b738799
add third user app usage
mafredri 79bdbf9
add webterminal app usage
mafredri ce2bb78
use stable sorting in Go and minor query tweaks and fakedb fixes
mafredri 0896439
use github.com/google/go-cmp/cmp for diffs
mafredri 5b4733a
restructure
mafredri 3607a80
more fakedb fixes
mafredri 688e1d0
fix fakedb logic bugs
mafredri 8c294d0
fix commented code
mafredri decbdfe
fix test bug
mafredri 870aff1
add test for tpl1 param4 option2
mafredri 75a96d7
add outside timeframe tests for apps
mafredri e72e265
remove previous insights test in favor of new one
mafredri 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(codersdk): use url values for query params
- Loading branch information
commit f14ddf6beeb509979839cc95322a2166fabafdd7
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
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.