Jordan Dominion
10188c782f
Hopefully fix bug in JobsHubTest
2023-12-03 14:29:38 -05:00
Jordan Dominion
c6ac595290
Improve an assert
2023-12-03 14:21:53 -05:00
Jordan Dominion
060bd6126d
Switch to using topic extension method in tests
2023-12-03 14:09:29 -05:00
Jordan Dominion
5b42ad0f8f
Weeding out JobsHubTest errors
2023-12-02 12:25:32 -05:00
Jordan Dominion
c40197fcb5
Specify Environment.SpecialFolderOption where possible
...
Also fix a typo
2023-11-29 17:32:26 -05:00
Jordan Dominion
2ee1ff4665
Add a yield here to potentially fix a CI error
...
We HAD the handle to the process open and running, yet somehow GetProcessesByName failed to find it.
2023-11-27 14:18:10 -05:00
Jordan Dominion
a979f04e03
Fix race condition in JobsRequiredTest cleanup
2023-11-27 12:19:51 -05:00
Jordan Dominion and GitHub
e3fffb2615
Merge branch 'V6' into TestSpeedups
2023-11-26 23:33:42 -05:00
Jordan Dominion
e6db8713eb
Increase test timeout for health check tests
2023-11-26 22:19:26 -05:00
Jordan Dominion
0973174c10
Improve live test runtimes
...
Workstation improvement of 10.2 to 6.4 minutes.
2023-11-26 21:25:33 -05:00
Jordan Dominion
4de500f428
More detailed accounting when JobsHubTests fail
2023-11-26 17:06:30 -05:00
Jordan Dominion
c3856fcec1
Create a live test OpenDream can use in their CI
...
Clean up other minor test things
2023-11-23 16:36:07 -05:00
Jordan Dominion
6967d9f4df
Merge branch 'NeverEndingTrainOfFixes' into OpenDream
...
Also fixes logic error in `AdvancedWatchdog.HandleNewDmbAvailable` in the `EngineType.OpenDream` case.
2023-11-19 17:52:56 -05:00
Jordan Dominion
8f51c5fed5
Add SessionId to DreamDaemonResponse
...
- Fix race condition with updating launch parameters.
- Add additional logging.
- Add integration tests
2023-11-19 17:11:10 -05:00
Jordan Dominion
54ec0a7c98
More Asserts, more better
2023-11-19 08:59:06 -05:00
Jordan Dominion
8b9ff88578
Make jobs hub test start/stop ordering deterministic
...
Prevents rare race condition
2023-11-18 22:27:48 -05:00
Jordan Dominion
a4b00b0810
Merge branch 'V6' into OpenDream
2023-11-17 17:17:55 -05:00
Jordan Dominion
08f1a1ebf7
This test doesn't apply to OD
2023-11-17 12:26:34 -05:00
Jordan Dominion
a4bf9e409b
Remove deprecated API fields
...
Closes #1718
2023-11-17 11:02:11 -05:00
Jordan Dominion
e24d4d995b
Clean up points where we TellWorldToReboot()
...
Making sure we allow `WatchdogStatus.Restoring` where possible.
2023-11-17 09:07:11 -05:00
Jordan Dominion
4537845e0b
Make this workaround generic
2023-11-16 22:10:36 -05:00
Jordan Dominion
a3e5828cb1
Merge branch 'V6' into OpenDream
2023-11-16 18:09:00 -05:00
Jordan Dominion
5e4fd7cb0b
Merge branch 'dev' into V6
2023-11-16 17:55:08 -05:00
Jordan Dominion
d36e2f59f8
Add broadcasting support
...
- Bump appropriate versions
- Add DreamDaemon request field and permission bit.
- Add generic failure error code.
- Remove `ErrorCode` comment since they are being using in #1666 .
- Fix bad interop return messages.
- Adjust DMAPI code to support broadcasts.
- Add tests.
Closes #138
2023-11-15 20:53:52 -05:00
Jordan Dominion
75db9af33e
Move EngineVersion to core models namespace
2023-11-14 19:51:08 -05:00
Jordan Dominion
a0fd49fd4b
Merge branch 'V6' into OpenDream
2023-11-14 19:38:44 -05:00
tgstation-server
f6378ea1ad
Merge branch 'dev' into V6
2023-11-14 08:25:22 +00:00
Jordan Dominion
1a0d76a730
Fix test race condition
2023-11-13 21:53:26 -05:00
Jordan Dominion
d8dd0f3f48
Merge branch 'V6' into OpenDream
2023-11-12 17:54:44 -05:00
Jordan Dominion
d2acb3cb91
Merge branch 'V6' into OpenDream
2023-11-12 17:53:49 -05:00
Jordan Dominion
c7287a021e
Merge branch 'dev' into V6
2023-11-12 17:38:56 -05:00
Jordan Dominion
581cbe4b18
Merge branch 'LessThreadPressure' into FixHubUserNames
2023-11-12 14:56:16 -05:00
Jordan Dominion
6b6d958536
Fix issue with StartedBy.Name not being set in jobs hub updates
2023-11-12 13:42:30 -05:00
Jordan Dominion
51d81aa067
Adjust JobsRequiredTest to use the hub
...
This greatly reduces thread pool pressure, very important for CI.
2023-11-12 10:33:48 -05:00
Jordan Dominion
b2bce2cc28
Merge branch 'V6' into OpenDream
2023-11-12 08:39:33 -05:00
Jordan Dominion
7310359f0b
OD uses UDP, so bind test to account for that
2023-11-11 14:51:38 -05:00
Jordan Dominion
0c744979ff
Merge branch 'V6' into OpenDream
2023-11-10 23:26:31 -05:00
Jordan Dominion
9e1806a2b4
Move all API functionality to /api.
...
Move `BridgeController` route but BYOND forces us to support the legacy one as well.
Add a basic homepage if it's not obvious where to redirect the user.
Closes #1689
2023-11-10 23:18:20 -05:00
Jordan Dominion
469b16d815
Fix test errors caused by DB truncation
2023-11-09 09:09:38 -05:00
Jordan Dominion
3fce8620b4
Very naughty merge of 'V6' into OpenDream
...
Doing some very bad cleanups for a merge in here like renaming a few fields (like the old column names) + `ByondCommand` + Removing deprecated API fields.
2023-11-09 09:08:20 -05:00
Jordan Dominion
7c9a1a6a4f
Fix a cause of spurious CI failures
2023-11-06 21:48:23 -05:00
Jordan Dominion
ed8453f08e
Remove hub abort notifications
...
Because SignalR buffers messages, we can't guarantee these will be delivered before the connection is aborted.
We'll have to rely on the client not being pants-on-head.
2023-11-05 09:38:57 -05:00
Jordan Dominion
2c82da46f6
Simplify logic flow in JobsHubTests
2023-11-05 09:00:44 -05:00
Jordan Dominion
cab8ce68f5
Simplify this job type check using new JobCodes
2023-11-05 08:40:18 -05:00
Jordan Dominion
a01bea5608
We're officially API breaking!
2023-11-05 00:29:23 -04:00
Jordan Dominion
ebd09d7e86
Add JobCodes to strongly type jobs
...
- Default `0` for legacy jobs.
- Standardize job creation prior to registration.
- Add `RightsHelper.TypeToRight()`.
2023-11-04 21:12:25 -04:00
Jordan Dominion
d85e2b8d36
Add SignalR
...
- Add one hub `/hubs/jobs`, strongly typed API included.
- Adjust request pipeline to support SignalR.
- Allow `Accept: text/event-stream` for SSE requests.
- Add client library support for hubs.
- Add integration tests.
- Add IPermissionSetNotifyee to support dynamic changes based on perms.
- Keep job state in `JobService` for pushing updates.
2023-11-04 19:22:48 -04:00
Jordan Dominion
9e2bf3f161
Merge branch 'dev' into SignalR
2023-10-29 14:32:09 -04:00
Jordan Dominion
e7652c2739
Merge branch 'V6' into OpenDream
2023-10-25 18:58:44 -04:00
tgstation-server
ddda3c8ca9
Merge branch 'master' into dev
2023-10-25 14:14:46 +00:00