From ea3249b4afc3ff3cd1685183c420f132b3952595 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 4 Sep 2026 09:18:53 +0000 Subject: [PATCH] Bump server/shared: actually wire UtcTimestampSubscriber Picks up buzz-code/nra-server#49. The previous bump (#175) shipped UtcTimestampSubscriber registered only as a NestJS provider, which does nothing on its own - TypeORM only picks up a subscriber if it's listed in DataSourceOptions.subscribers. Confirmed live: the previous fix deployed cleanly but a fresh API write still stored createdAt with local wall-clock digits mislabeled UTC, unchanged. This bump declares the subscriber in database.config.ts's subscribers array (what TypeOrmModule.forRoot actually reads), and adds an integration test that exercises the real exported databaseConfig through a real DataSource + repository.save() - the gap that let the previous version pass all tests while being broken in production. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01Grpcg4VKLrJw9MkLWUMMBS --- server/shared | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/shared b/server/shared index 4f6a1dcf..4485fe78 160000 --- a/server/shared +++ b/server/shared @@ -1 +1 @@ -Subproject commit 4f6a1dcf56fc0453fc0cfd7c26669b165e624a20 +Subproject commit 4485fe78743aad9571101f56f22d519a196c480e