From cdb8937ffb504e44fafc5b13f7ede57d6fb3d66e Mon Sep 17 00:00:00 2001 From: "@nekomimi.pet" Date: Fri, 14 Nov 2025 01:00:12 -0500 Subject: [PATCH] misc fixes and improvements - CLI: only skip .git directory instead of all dotfiles - Hosting service: add logging for PDS record verification - Hosting service: remove watch flag from dev script --- cli/src/main.rs | 4 ++-- hosting-service/package.json | 2 +- hosting-service/src/lib/firehose.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index 46ce4bc..d1e97d8 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -301,8 +301,8 @@ fn build_directory<'a>( .ok_or_else(|| miette::miette!("Invalid filename: {:?}", name))? .to_string(); - // Skip hidden files - if name_str.starts_with('.') { + // Skip .git directories + if name_str == ".git" { continue; } diff --git a/hosting-service/package.json b/hosting-service/package.json index 58e7c67..ced445d 100644 --- a/hosting-service/package.json +++ b/hosting-service/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "type": "module", "scripts": { - "dev": "tsx --env-file=.env watch src/index.ts", + "dev": "tsx --env-file=.env src/index.ts", "build": "tsc", "start": "tsx src/index.ts", "backfill": "tsx src/index.ts --backfill" diff --git a/hosting-service/src/lib/firehose.ts b/hosting-service/src/lib/firehose.ts index 3606074..2e222b8 100644 --- a/hosting-service/src/lib/firehose.ts +++ b/hosting-service/src/lib/firehose.ts @@ -148,6 +148,7 @@ export class FirehoseWorker { this.log('Resolved PDS', { did, pdsEndpoint }) // Verify record exists on PDS and fetch its CID + this.log('Verifying record on PDS', { did, site }) let verifiedCid: string try { const result = await fetchSiteRecord(did, site) -- 2.54.0