diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 568c346ae..7b8585d2b 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -106,7 +106,7 @@ jobs: - name: Compute image labels id: meta - uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6.1.0 + uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0 with: images: ${{ env.IMAGE_REF }} labels: | @@ -295,7 +295,7 @@ jobs: - name: Compute image tags & labels id: meta - uses: docker/metadata-action@80c7e94dd9b9319bd5eb7a0e0fe9291e23a2a2e9 # v6.1.0 + uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6.0.0 with: images: ${{ env.IMAGE_REF }} tags: | diff --git a/src/lib/ai/coach/about-me.ts b/src/lib/ai/coach/about-me.ts index 26ab2b9c2..b2bfacca6 100644 --- a/src/lib/ai/coach/about-me.ts +++ b/src/lib/ai/coach/about-me.ts @@ -81,15 +81,6 @@ export async function getSelfContextForUser( } } -/** - * Back-compat shim for callers that only need the free text (kept so - * the questions generator can cheaply inspect the prose alone). - */ -export async function getAboutMeForUser( - userId: string, -): Promise { - return (await getSelfContextForUser(userId)).aboutMe; -} /** Whole years between `dateOfBirth` and `now`; null when unknown. */ export function deriveAgeYears( @@ -187,7 +178,7 @@ export function composeSelfContextText( * One-call variant for the prompt-assembly paths: load the structured * context + the profile facts and return the composed text (or `null` * when the user never wrote anything). Replaces the v1.15.20 - * `getAboutMeForUser` call sites. + * the read path. */ export async function getSelfContextTextForUser( userId: string, diff --git a/src/types/analytics.ts b/src/types/analytics.ts index 5428ccea2..0e0df26a9 100644 --- a/src/types/analytics.ts +++ b/src/types/analytics.ts @@ -21,7 +21,6 @@ * - `InsightsAnalyticsData` — insights mother page * (`src/app/insights/page.tsx`); carries `correlations` + * `healthScore` blocks that the sub-pages also don't use. - * - `ChecklistAnalyticsData` — onboarding checklist component; * ultra-loose shape that only checks per-type `count` for * "do you have any data of this kind yet?". * @@ -149,12 +148,3 @@ export interface InsightsAnalyticsData { } | null; } -/** - * Shape consumed by the onboarding checklist - * (`src/components/onboarding/getting-started-checklist.tsx`). - * Intentionally loose — the checklist only asks - * "does any per-type bucket have a non-zero count?". - */ -export interface ChecklistAnalyticsData { - summaries?: Record; -}