Commit Graph
532 Commits
Author SHA1 Message Date
Jordan Dominion d89461d19d GraphQL API Initial Implementation
- Build API via annotations using HotChocolate.
  - Export to `artifacts` on build.
  - Repurpose REST API types where possible, but many have to be reimplemented.
  - Transfer controller and bridge controller will definitely have to stay forever.
- Added `Tgstation.Server.Client.GraphQL` built from schema using StrawberryShake.
  - Added equivalent server information query.
- Setup semver and u32 (de)serialization.
- Begin transitioning to multi-client type live tests.
- Add GraphQL route `/api/graphql`
- Rename ServerClient likes to RestServerClient equivalent.
- Major API/Client library version bumps.
2024-09-08 20:51:04 -04:00
Jordan Dominion 6c0f9fac86 Skip the failing test because I don't feel like reconciling whatever the watchdog is doing here with this change 2024-09-08 15:19:12 -04:00
Jordan Dominion 5696aa5263 Test assertion and logging to try and narrow down the cause of the Linux advanced watchdog failures 2024-09-08 01:25:10 -04:00
Jordan Dominion 4570a20a3a Allow DMAPI Validation to be fully skipped
Fuck you @AffectedArc07
2024-09-07 18:41:30 -04:00
Jordan Dominion 2df11b4bb8 Don't try and use a repo GitHub token if testing OD exclusively 2024-09-05 17:09:41 -04:00
Jordan Dominion 7415005d6e Client count is unsigned for the love of god 2024-09-03 23:22:31 -04:00
Jordan Dominion 3a7f344eea Fix test auth conditional 2024-09-03 23:17:15 -04:00
Jordan Dominion 157934730c Fix DummyGitHubServiceFactory 2024-09-03 06:57:57 -04:00
Jordan Dominion 442ad80017 Add client count to DreamDaemon responses
Closes #1909
2024-08-31 21:58:17 -04:00
Jordan Dominion 213d9e9ea4 Add launchTime field to DreamDaemonResponse 2024-08-31 21:08:12 -04:00
Jordan Dominion df43a072b2 Fix issues with JobProgressReporter 2024-08-18 00:00:02 -04:00
Jordan Dominion 12878f177f Adds version reporting telemetry 2024-08-13 22:14:57 -04:00
Jordan Dominion a42dafb3ab Add support for GitHub App installation authentication to IGitHubClientFactory 2024-08-13 21:51:59 -04:00
Jordan Dominion 7edf66440f Remove CPU tracking. It's a nothing stat on multi-core systems 2024-08-11 07:20:27 -04:00
Jordan Dominion 77a20cce75 Implement CPU/Memory sampling
Closes #611
2024-08-11 01:30:49 -04:00
Jordan Dominion 89d70be782 Implement repository recloning
Closes #1016
2024-08-11 01:30:49 -04:00
Jordan Dominion bd1deb0a9b Add 30 minute cache to GitHub releases requests
Closes #1831
2024-08-10 17:38:27 -04:00
Jordan Dominion d11dc01537 New error code for if you try to set a bad project name 2024-07-26 17:04:21 -04:00
Jordan Dominion c7e6412918 Adds OpenDream topic port as a DreamDaemon option
Closes #1826
2024-07-20 19:44:52 -04:00
Jordan Dominion 8401f3c3e1 Fix game directory leaks in HardLinkDmbProvider
- Adjust tests to account for expected directories correctly.
- Better logging of leftover directories.
- Fix reboot not being waited on in a test case.
2024-07-14 22:26:39 -04:00
Jordan Dominion d7ecfd0ed1 Fix a weird overflow error I've seen 2024-07-12 20:37:15 -04:00
Jordan Dominion bbbbe6caa6 Assert expected game directory counts after watchdog tests 2024-07-12 18:01:23 -04:00
Jordan Dominion caaded3d1b Fix live tests race condition 2024-07-12 14:49:26 -04:00
Jordan Dominion b7db2fc51e Improve test IGitHubClient naming 2024-07-12 14:49:26 -04:00
Jordan Dominion a0d3ae380a Set appropriate BYOND version for -D dm.exe usage 2024-07-12 14:49:26 -04:00
Jordan Dominion 95c26b52b1 Forgot to return the current cron in the API 2024-07-06 11:16:05 -04:00
Jordan Dominion 04a413512d Add cron schedules for auto updates
Closes #1822
2024-07-02 07:12:17 -04:00
Jordan Dominion 40d667f454 Dependency updates
Migration for 64-bit GitHub Deployment IDs
2024-07-01 19:49:43 -04:00
Jordan Dominion 3da68fe323 Add support for additional compiler arguments
Closes #1807
2024-04-20 12:21:12 -04:00
Jordan Dominion bfc2e64e66 Set oom_score_adj appropriately on Linux
Closes #1792
2024-03-03 13:33:56 -05:00
Jordan Dominion 786f98d286 Add a debug message 2024-02-26 20:46:04 -05:00
Jordan Dominion 575d811843 Increase timeout for dump tests 2024-02-26 09:50:03 -05:00
Jordan Dominion 77d8278ff2 Workaround for linux test race condition 2024-02-25 12:57:06 -05:00
Jordan Dominion 0bbf7cd46a Add DMAPI triggerable custom events
Closes #1746
2024-02-19 16:56:01 -05:00
Jordan Dominion 98801c4a90 Add Minidump watchdog option to allow for smaller dumps
Previously, on Windows, these were exclusively full dumps. On Linux, they were exclusively minidumps.

Added API/DB Migrations change. Versions updated

Closes #1741
2024-02-02 17:30:33 -05:00
Jordan Dominion 0617d10484 Look specifically for .net.dmp files in OpenDream test 2024-02-02 15:25:33 -05:00
Jordan Dominion a31d0241e1 Switch to using Microsoft.Diagnostics.NETCore.Client for dotnet dumps
Much simpler
2024-02-02 09:46:34 -05:00
Jordan Dominion 8d9233659f Use dotnet-dump when dumping OpenDream
Closes #1750
2024-01-31 23:12:11 -05:00
Jordan Dominion c4e7f0b04a .env files for engine installations 2024-01-31 17:46:37 -05:00
Jordan Dominion 4993304389 Add support for setting environment variables with IProcessExecutor 2024-01-30 20:53:00 -05:00
Jordan Dominion a59a67d0e4 Properly dispose test TCP listeners 2024-01-09 23:29:52 -05:00
Jordan Dominion e377a2ed98 Clean up race condition in BridgeController content logging disabling 2024-01-09 18:44:48 -05:00
Jordan Dominion e8dfdab450 Better handle database connection cancellation errors 2024-01-09 08:34:08 -05:00
Jordan Dominion 9ce9cd9814 More logging when the port reuse bug happens 2024-01-08 12:51:51 -05:00
Jordan Dominion efb73f504d Fix issues with spaces in .dme names 2024-01-06 17:34:04 -05:00
Jordan Dominion bbb5efe32d Attempt 10 times for port grab 2023-12-27 08:32:43 -05:00
Jordan Dominion b9b4733b0f Make port use test bind to any IP 2023-12-27 08:20:35 -05:00
Jordan Dominion ec59596dcd Add failing test for relog issue 2023-12-25 22:23:57 -05:00
Jordan Dominion 1974d67bf1 Increase a deployment test timeout 2023-12-25 21:38:07 -05:00
Jordan Dominion eea3ec71d4 Workaround for random-ass port allocation failures 2023-12-25 16:48:05 -05:00