Hazelnoot
86ca3921c9
use platform services in startup routines
2025-11-05 19:42:30 -05:00
Hazelnoot
14db6444b1
fix test errors about event emitter
2025-11-05 19:42:30 -05:00
Hazelnoot
deff0c0f49
fix lint errors about use of console and new() cache
2025-11-05 19:21:51 -05:00
Hazelnoot
3cffd4a537
merge: embed git commit info in nodeinfo&c ( !1144 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/1144
Approved-by: Hazelnoot <acomputerdog@gmail.com>
Approved-by: Marie <github@yuugi.dev>
2025-07-27 15:30:31 +00:00
Hazelnoot
255ecd8427
remove unused console logging fallbacks
2025-07-21 16:16:33 -04:00
Hazelnoot
637fa254e5
use logger instead of console for uncaughtException debug lines
2025-07-21 16:16:33 -04:00
Hazelnoot
b38351e28a
add workarounds for node-fetch crashes
2025-07-21 16:16:33 -04:00
dakkar
872258b04c
embed git commit info in nodeinfo&c
...
this will make it much easier to debug problems for instances that run
unreleased versions!
when run on a tagged commit, `git describe --tags` prints the tag name;
otherwise it prints something like `2025.4.3-32-ga4c0ef824c` which
means:
- the closest tag is 2025.4.3
- there are 32 commits between that tag and this commit
- this commit's id is `a4c0ef824c ` (the `g` is just a prefix)
notice that the version as reported by the frontend (in
`/about-sharkey` for example) is _not_ changed, that one is still
sourced from `/package.json` (so, for example, you don't get a
"sharkey has been updated!" pop-up every time)
2025-06-25 22:15:06 +01:00
Hazelnoot
d4105dee0c
enable NestJS shutdown hooks
2025-06-25 16:28:07 -04:00
Hazelnoot
3ce5471414
add additional process exit loggers
2025-06-12 21:37:28 -04:00
Hazelnoot
0a56ce92ca
use uncaughtExceptionMonitor instead uncaughtException
2025-06-12 21:36:46 -04:00
Hazelnoot
e9eaafae41
normalize use of .info (INFO) instead of .succ (DONE) logging
2025-06-06 22:20:17 -04:00
Hazelnoot
ce08bd1b42
reduce, clarify, and normalize more error messages
2025-06-06 22:20:16 -04:00
Hazelnoot
fd5a3eb3f8
add logging.verbose option to enable debug logging in production. (same function as MK_VERBOSE environment variable)
2025-05-08 11:23:20 -04:00
Hazelnoot
cc2edae7ab
rename activity_log and activity_context to ap_inbox_log and ap_context
2025-02-16 19:25:04 -05:00
Hazelnoot
b65b4ecadc
add inbound activity logger for debugging
2025-02-16 19:25:02 -05:00
Hazelnoot
feb80ee992
Merge branch 'develop' into merge/2024-02-03
2025-02-11 10:52:52 -05:00
dakkar
427d09e643
make the listen address configurable - fixes #927
...
sadly `fastify.listen` doesn't support passing more than 1 address
2025-02-10 10:40:06 +00:00
Hazelnoot
e96fe824bb
print an error when booting with both MK_ONLY_SERVER and MK_ONLY_QUEUE set
2025-02-07 13:52:58 -05:00
Hazelnoot
edfd9e54fb
remove unused meta.version call
2025-02-04 08:59:01 -05:00
Hazelnoot
a4e86758c1
merge upstream 2025-02-03
2025-02-03 14:36:09 -05:00
おさむのひと
8232ea6956
fix(backend): デフォルト起動時のメインプロセスはHTTPサーバモジュールのみ読み込む ( #15355 )
2025-01-27 13:10:00 +00:00
おさむのひと
8ad97e5ede
fix(backend): disableClustering設定時の初期化ロジックを調整 ( #15224 )
...
* fix(backend): disableClustering設定時の初期化ロジックを調整
* onlyServer かつ enableCluster な場合、メインプロセスでlistenするとワーカープロセス側のlistenと衝突するため、メインプロセスはforkのみに制限する(listenしない)
* ログの追加
* fix CHANGELOG.md
* fix comment
2025-01-07 12:19:59 +00:00
dakkar
5eca807e19
merge: Revert "Synchronize server startup" ( !831 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/831
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Charlotte <timo.herngreen@gmail.com>
2024-12-21 16:35:51 +00:00
Hazelnoot
4e422836dd
merge: Fix the ascii art ( !835 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/835
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Hazelnoot <acomputerdog@gmail.com>
2024-12-20 22:35:15 +00:00
CenTdemeern1
eb21b13e73
Fix the ascii art
...
I should really make a new one from scratch sometime
2024-12-20 02:58:35 +01:00
Kio!
903b2be132
Update file worker.ts
2024-12-19 19:20:57 +00:00
Kio!
0bb61fef7b
Update file worker.ts
2024-12-19 19:11:52 +00:00
Kio!
cdc11df562
Add missing imports before Dakkar can mention it
2024-12-19 19:07:04 +00:00
Kio!
990388141c
Add Meta, oops
2024-12-19 19:01:14 +00:00
Kio!
ba9f7f42d2
Add Release version to sentry logging
2024-12-19 17:30:22 +00:00
Hazelnoot
465c780a04
Revert "Synchronize server startup"
...
This reverts commit ffbdfa9123 .
2024-12-19 11:22:54 -05:00
Hazelnoot
ffbdfa9123
Synchronize server startup
...
This prevents an edge case where the server begins processing inbound API / AP requests before any of the chart / management daemons are ready, potentially leading to incorrect chart statistics.
2024-12-08 08:01:33 -05:00
Hazelnoot
57deef320e
restore functionality of MK_NO_DAEMONS option
2024-12-06 10:48:41 -05:00
Marie
9a7300489c
chore: update donation links in backend and frontend
2024-09-06 21:25:38 +00:00
dakkar
34c1e9ea2b
Merge branch 'develop' into feature/misskey-2024.07
...
fixing conflicts in `package.json`
2024-08-06 10:35:14 +01:00
dakkar
cfa9b852df
Merge remote-tracking branch 'misskey/master' into feature/misskey-2024.07
2024-08-02 12:25:58 +01:00
dakkar
f18f30cb79
ignore cpuCount when it's 0 - fixes #586
...
seems more useful this way
2024-07-21 13:29:54 +01:00
dakkar
3eff85a3d3
error out when we can't spawn workers - fixes #586
...
Setting `clusterLimit` to 0 means no workers are started, which
usually breaks things. Also, some "hardening" things may prevent node
from seeing how many CPUs the machine has, which has the same effect.
With this commit we provide hopefully-useful error messages.
2024-07-21 11:32:39 +01:00
dakkar
16ecc2e406
merge: Revert "fix: start only one instance of ChartManagementService scheduled job" ( !555 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/555
Approved-by: Amelia Yukii <amelia.yukii@shourai.de>
Approved-by: fEmber <acomputerdog@gmail.com>
2024-06-18 14:26:51 +00:00
dakkar
91cd995fb2
Revert "fix: start only one instance of ChartManagementService scheduled job"
...
This reverts commit 2532fea702 .
2024-06-18 15:20:09 +01:00
syuilo
d55e638a23
lint fixes
2024-06-06 11:40:11 +09:00
syuilo
ab69e113f4
enhance(backend): improve sentry integration
2024-06-06 11:20:54 +09:00
syuilo
65d19279a2
fix
2024-06-06 10:11:43 +09:00
dakkar
3372e0ffe1
Merge remote-tracking branch 'misskey/release/2024.5.0' into future
2024-05-31 12:26:07 +01:00
fEmber
da764d3541
merge: fix: start only one instance of ChartManagementService scheduled job ( !514 )
...
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/514
Approved-by: dakkar <dakkar@thenautilus.net>
Approved-by: Marie <marie@kaifa.ch>
2024-05-30 13:18:44 +00:00
fEmber
2532fea702
fix: start only one instance of ChartManagementService scheduled job
2024-05-30 13:18:44 +00:00
fEmber
cebad801e2
fix: don't create duplicate workers when clustering is disabled
2024-05-30 13:17:51 +00:00
syuilo
80f3cb96b0
feat: sentry integration ( #13897 )
...
* wip
* wip
* wip
* wip
* Update CHANGELOG.md
* Update ApiCallService.ts
* Update config.ts
2024-05-28 17:06:33 +09:00
Acid Chicken
611e303bab
feat(backend): add /healthz endpoint ( #13834 )
...
* feat(backend): add /healthz endpoint
* feat(backend): also check meilisearch status if available
* style: header
* chore: no-store
* chore: healthcheck.sh
* style: format
2024-05-23 15:19:52 +09:00