38 Commits

Author SHA1 Message Date
Klaas van Schelven
c4358aaece Fix tests for users.User idiom 2024-06-12 17:45:06 +02:00
Klaas van Schelven
8d23239526 Be more strict about usage of TransactionTestCase in tests 2024-04-27 20:35:35 +02:00
Klaas van Schelven
c50780ab4e Use atomic transactions in views 2024-04-18 13:15:46 +02:00
Klaas van Schelven
d89e3d4dd5 Add 'next-materialized historic annotation 2024-04-16 09:31:12 +02:00
Klaas van Schelven
2c4e8b9f20 Regular v.s. Django Testcase: be explicit
I recently ran into a funny issue where the TestCases were influencing my
development DB's contents
2024-04-15 09:17:53 +02:00
Klaas van Schelven
280bd2172b History page: 'mostly done' (a first setup) 2024-04-12 16:07:25 +02:00
Klaas van Schelven
729a4c7ea1 Make <no transaction> explicit;
and more moving-around-of-code in preparation for our next step
2024-04-08 15:03:02 +02:00
Klaas van Schelven
cb75d318af Remove the event_type_name from the grouper
it adds very little, especially now that we've put this information in the type
('Log Message') and removing this allows us to refactor more freely
2024-04-08 14:52:09 +02:00
Klaas van Schelven
8d17e7b128 For log messages, demote the msg into the value
and make the type 'Log Message'.
This may just be a matter of personal taste, but I've always found these
messages-as-type super-confusing. I'd rather have some made up (but clear,
and thanks to the whitespace unlikely-to-otherwise-exist) type "Log Message".

This is also inline in what I've already done in the UI.
2024-04-08 14:48:39 +02:00
Klaas van Schelven
9dfae5a829 Use the diamond-separator when generating fingerprint-based groupers too 2024-04-05 15:41:12 +02:00
Klaas van Schelven
eaa5ee6838 Tests for existing grouping functionality 2024-04-05 12:10:51 +02:00
Klaas van Schelven
09a716a8d7 Stacktrace ordering: stack-of-plates as an option
implemented in-python; doing this using flex quickly became a mess
2024-04-04 10:40:32 +02:00
Klaas van Schelven
f40ee395ee Make issues/templatetags more robust
(the need for which was exposed by the recently added tests)
2024-04-03 10:15:13 +02:00
Klaas van Schelven
17b5c0d089 Add integration test for issue-ingestion & rendering 2024-04-03 09:52:50 +02:00
Klaas van Schelven
3ffa0f9671 issue-views: test for project membership 2024-03-25 23:38:17 +01:00
Klaas van Schelven
6100767548 Add view tests for issues 2024-03-25 23:06:41 +01:00
Klaas van Schelven
feba3b7410 'is_regression' fix when seeing your first real release 2024-03-19 22:28:20 +01:00
Klaas van Schelven
624cfd3f0f IssueStatemanager improvements
* triggerd_by_event instead of implicitly called (see test for why)
* IngruentStateException check
2024-03-14 20:15:31 +01:00
Klaas van Schelven
20361ce75a Date/issue_count correct in list_view 2024-02-20 17:49:48 +01:00
Klaas van Schelven
6543c33961 Tests for IssueStateManager.mute 2024-01-12 22:44:15 +01:00
Klaas van Schelven
de4d55eaf1 Guard against already-true unmute-conditions 2024-01-12 22:41:41 +01:00
Klaas van Schelven
0a616f5c92 Unmute/mute further work
* IssueStateManager.mute
* IssueStateManager.unmute (from Issue.unmute)
* more tests for alerts
* unmute moved to IssueStateManager
* create_unmute_issue_handler moved-over to models.py
2024-01-12 22:15:50 +01:00
Klaas van Schelven
88e10b1621 Note on pc-registry and tests 2024-01-10 22:46:00 +01:00
Klaas van Schelven
6c097b215a Rename -> IssueStateManager 2024-01-10 22:44:56 +01:00
Klaas van Schelven
8766e2ccfe new-issue and regression alerts (not actually implemented, but the call is) 2024-01-10 17:14:49 +01:00
Klaas van Schelven
360d222472 Muting: test case for simultaneous unmute 2024-01-10 17:06:03 +01:00
Klaas van Schelven
17b6758e6b unmute alerts (not actually implemented, but the call is) 2024-01-10 08:43:06 +01:00
Klaas van Schelven
f4dedc9319 unmute as a separate thing to test (Yesterday's work) 2024-01-10 08:22:23 +01:00
Klaas van Schelven
ad08a6def5 More rabbit-hole thought about explicit reopening 2023-12-14 22:57:32 +01:00
Klaas van Schelven
368cc3679f No 'reopen' in the UI 2023-12-14 22:49:07 +01:00
Klaas van Schelven
e8e9412765 Tests for 'any later reoccurrence is a regression' 2023-12-14 22:45:22 +01:00
Klaas van Schelven
681f742026 Fresh objects for assertions 2023-12-14 22:41:14 +01:00
Klaas van Schelven
dad54bd53a Tests (and testability) of is_issue_regression 2023-12-14 22:21:43 +01:00
Klaas van Schelven
a98fe2c798 Express idea 'fixed later' 2023-11-29 20:44:06 +01:00
Klaas van Schelven
2282b84d62 Document some thoughts 2023-11-29 20:41:44 +01:00
Klaas van Schelven
80da9a2710 Naming 2023-11-29 20:31:01 +01:00
Klaas van Schelven
f44fda3898 A model for 'what is a regression' 2023-11-29 20:30:08 +01:00
Klaas van Schelven
1a5bf7d56c The ugliest thing that could get a stacktrace on screen 2023-11-04 21:02:04 +01:00