Blogging platform with advanced tools for arts and sciences.
6

Configure Feed

Select the types of activity you want to include in your feed.

Add `make` target to check the CloudWatch logs for the backfill process

lemma (Jun 9, 2026, 11:09 PM -0500) f84a06ce aa810d12

+14
+14
infra/Makefile
··· 72 72 deploy-local-backfill deploy-aws-backfill \ 73 73 update-local-backfill update-aws-backfill \ 74 74 run-local-backfill run-aws-backfill \ 75 + logs-aws-backfill \ 75 76 sync-site build-site deploy-site invalidate-site list-invalidations serve-local local aws \ 76 77 update-local-site update-local \ 77 78 update-iframely-sri ··· 96 97 @echo " deploy-aws-backfill - Build, upload, and deploy backfill Lambda stack to AWS" 97 98 @echo " run-local-backfill - Upload dids.txt to LocalStack trigger bucket (DIDS_FILE=...)" 98 99 @echo " run-aws-backfill - Upload dids.txt to AWS trigger bucket (DIDS_FILE=...)" 100 + @echo " logs-aws-backfill - Tail the most recent backfill Lambda CloudWatch log stream" 99 101 @echo " build-site - Build the SPA with VITE_API_DID/VITE_API_URL derived from DOMAIN_NAME" 100 102 @echo " deploy-site - Build, sync, and invalidate CloudFront cache (requires DOMAIN_NAME, AWS_PROFILE)" 101 103 @echo " invalidate-site - Invalidate CloudFront cache for the site distribution" ··· 622 624 aws s3 cp --profile $${AWS_PROFILE} --region $${AWS_REGION} \ 623 625 $(DIDS_FILE) s3://$(BACKFILL_TRIGGER_BUCKET)/$(BACKFILL_DIDS_S3_KEY) 624 626 @echo "✅ Upload complete — backfill Lambda triggered" 627 + 628 + logs-aws-backfill: 629 + @echo "📋 Fetching latest backfill Lambda logs..." 630 + @# head -1: --output text with --max-items appends a pagination NextToken line ("None") after the result 631 + @STREAM=$$(aws logs describe-log-streams --profile $${AWS_PROFILE} --region $${AWS_REGION} \ 632 + --log-group-name /aws/lambda/backfill \ 633 + --order-by LastEventTime --descending --max-items 1 \ 634 + --query 'logStreams[0].logStreamName' --output text | head -1) && \ 635 + aws logs get-log-events --profile $${AWS_PROFILE} --region $${AWS_REGION} \ 636 + --log-group-name /aws/lambda/backfill \ 637 + --log-stream-name "$$STREAM" \ 638 + --query 'events[].message' --output text 625 639 626 640 build-site: 627 641 @[ -n "$(DOMAIN_NAME)" ] || (echo "❌ DOMAIN_NAME is required (e.g. make build-site DOMAIN_NAME=example.com)."; exit 1)