tr
TryGhost
GitHub
Ghost
Workspace
GitHub
CI Pipeline Executions
Current execution
Succeeded
agent/shared-database-date
Configuration
Self-Healing CI
Project Graph
Resource Usage
Analysis
Conformance
Runs
Current run
Succeeded
Tasks
Resource Usage
Insights
Compare tasks
Analytics
Sign in
Toggle sidebar
Cleaned up seeder date handling around the shared database date helpers ref https://linear.app/ghost/issue/BER-3851 The seeders kept a utils/database-date module that, after the move to the shared helpers, only held a faker range helper under a misleading name. It now lives in utils/random as randomDateBetween, and the importers that still inlined faker.date.between with database-derived bounds use it too, so inverted ranges are clamped consistently instead of throwing. The shared fromDatabaseDate rejects null instead of returning the epoch, so the members-created-events importer now excludes draft posts from its attribution query rather than crashing on a public draft's null published_at. Per-batch timestamps in the email recipients importer are converted once per batch instead of once per generated row, and the SQLite-specific normalisation guards are gone now that the shared helper accepts every database representation.
nx run ghost-monorepo:lint:boundaries
⌘K
Succeeded
nx run ghost-monorepo:lint:boundaries
Click to copy
Linux
4 CPU cores
read-write
access token used
b2b40b08
30107